agentleFS
qdrantqdrant/skills/skills/qdrant-cloud/automation/SKILL.md

qdrant-cloud-automation

Skill270 starsChanged 8 months agoApache-2.0View on GitHub

Choosing and wiring up the interface for managing Qdrant Managed Cloud: Console, the Cloud MCP, the qcloud CLI, the Cloud API, Terraform, or Pulumi, plus authentication, management keys, and CI use. Use when someone says 'which Cloud interface should I use', 'qcloud or Terraform', 'automate cluster creation', 'connect the Cloud MCP', 'run qcloud in CI', 'management key for a pipeline', 'manage Qdrant Cloud from my agent', or 'Terraform drift on a cluster'.

  • Reads credentials

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 9 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when: the user asks how to create or manage clusters, or an agent must choose a tool.

    line 12
  2. Distinctive:

    Use the Console for one-off changes and anything an interactive screen is best at Console

    line 14
  3. Distinctive:

    Use the Cloud MCP for an agent to explore and read cluster state in conversation, with changes confirmed one by one.

    line 15
  4. Very specific:

    Use qcloud when an agent or script has a shell: output piped through jq, waiting for a cluster, loops over clusters, and CI jobs Cloud CLI

    line 16
  5. Distinctive:

    Use Terraform or Pulumi for clusters that live long and should be reviewed, repeatable, and recreated from code Terraform

    line 17
  6. Distinctive:

    Call the Cloud API directly only for custom integrations that none of the above fit

    line 18
  7. Very specific:

    When an agent has both MCP and shell, read with the MCP and run long or repeated jobs with qcloud.

    line 19
  8. Distinctive:

    Use when: the user wants an agent to manage Cloud, or the MCP shows no tools.

    line 24
  9. Distinctive:

    Start read-only: the docs recommend escalating to manage access only when a change is needed.

    line 27
  10. Very specific:

    Use when: setting up qcloud for a person, a script, or a pipeline.

    line 33
  11. Distinctive:

    Create one Management Key per pipeline so it can be revoked alone, keep it in the CI secret store, and never paste it into a prompt or …

    line 37
  12. Very specific:

    Use when: running qcloud unattended or from an agent.

    line 42
  13. Very specific:

    Add --json and parse the output.

    line 44
  14. Distinctive:

    Use a Management Key as a Database API key, or the reverse

    line 53
  15. Very specific:

    Run qcloud with --force in an agent loop, or before the user has said yes

    line 55
  16. Very specific:

    Treat a qcloud exit code of 0 as proof the change ran.

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Automating Qdrant Cloud

The Console, MCP, qcloud, Terraform, and Pulumi all call the same Cloud API. Pick by who is acting and how long the result must live, not by feature. Automate Qdrant Cloud Cloud API

Which Interface to Use

Use when: the user asks how to create or manage clusters, or an agent must choose a tool.

  • Use the Console for one-off changes and anything an interactive screen is best at Console
  • Use the Cloud MCP for an agent to explore and read cluster state in conversation, with changes confirmed one by one. It signs in through the browser, so no key is stored Qdrant Cloud MCP
  • Use qcloud when an agent or script has a shell: output piped through jq, waiting for a cluster, loops over clusters, and CI jobs Cloud CLI
  • Use Terraform or Pulumi for clusters that live long and should be reviewed, repeatable, and recreated from code Terraform Pulumi
  • Call the Cloud API directly only for custom integrations that none of the above fit
  • When an agent has both MCP and shell, read with the MCP and run long or repeated jobs with qcloud. For operating steps, see the operations skill
  • Prototype in the Console or MCP, then move what should last into Terraform

Connecting the Cloud MCP

Use when: the user wants an agent to manage Cloud, or the MCP shows no tools.

  • Claude Code needs --transport http when adding the server, then /mcp to sign in. Claude Desktop, Codex, and Copilot CLI each have their own steps, listed in the docs Qdrant Cloud MCP
  • Start read-only: the docs recommend escalating to manage access only when a change is needed. A read-only connection must be re-authorized before it can change anything, so grant manage access only for the task at hand
  • Some clients cache tool lists, so restart the assistant if tools are missing after sign-in
  • The MCP manages infrastructure only, and its docs say it doesn't create Database API keys; qcloud cluster key create, the Cloud API, Terraform, and the Console all do. For points and collection contents, use the open-source Qdrant MCP or the clients-sdk skill

Authenticating qcloud and the API

Use when: setting up qcloud for a person, a script, or a pipeline.

  • Interactively, use qcloud auth login. For automation, use a Cloud Management Key through qcloud context set or the QDRANT_CLOUD_API_KEY and QDRANT_CLOUD_ACCOUNT_ID environment variables CLI configuration
  • A Management Key authorizes the Cloud platform, not the database. Database access needs a separate Database API key, and mixing them up is the usual cause of auth errors Cloud API authentication
  • Create one Management Key per pipeline so it can be revoked alone, keep it in the CI secret store, and never paste it into a prompt or commit it. Revoke it when its owner leaves
  • With several accounts, run qcloud context show before any change, and switch with qcloud context use

Scripting qcloud

Use when: running qcloud unattended or from an agent.

  • Add --json and parse the output. Don't scrape the table view
  • Creation takes time, so use --wait on create or qcloud cluster wait with --timeout (default 10 minutes) before the next step Quick start
  • Without --force, qcloud asks for confirmation on scale, restart, suspend, delete, and backup restore. With no one at the terminal it prints Aborted. and exits 0, so a script or agent sees success when nothing ran. Check the output for Aborted.
  • For an agent, get the user's yes in chat first, then run that one command with --force. In a pipeline, use --force only in jobs a person reviewed, and never on delete, suspend, or restore
  • Version, replication factor, and vectors-on-disk changes restart the nodes. The restart is rolling only if some collection has a replication factor of 2 or higher, so schedule them like any other restart Restarts and downtime

What NOT to Do

  • Change a Terraform-managed cluster with qcloud, the MCP, or the Console; the next apply reverts it or fails on drift
  • Use a Management Key as a Database API key, or the reverse
  • Share one Management Key across pipelines and people
  • Run qcloud with --force in an agent loop, or before the user has said yes
  • Treat a qcloud exit code of 0 as proof the change ran; a declined prompt also exits 0
  • Give the MCP manage access for a task that only reads

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.