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
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- qdrant-clients-sdkSkill
- qdrant-cloud-operationsSkill
- qdrant-cloudSkill
- qdrant-deployment-optionsSkill
- qdrant-edgeSkill
- qdrant-hybrid-cloud-setupSkill
- qdrant-managed-cloud-quickstartSkill
- qdrant-migration-toolSkill
- qdrant-model-migrationSkill
- qdrant-monitoring-debuggingSkill
- qdrant-monitoring-setupSkill
- qdrant-monitoringSkill
- qdrant-multitenancySkill
- qdrant-indexing-performance-optimizationSkill
- qdrant-memory-usage-optimizationSkill
- qdrant-search-speed-optimizationSkill
- qdrant-performance-optimizationSkill
- qdrant-minimize-latencySkill
- qdrant-scaling-data-volumeSkill
- qdrant-scaling-qpsSkill
- qdrant-scaling-query-volumeSkill
- qdrant-scalingSkill
- qdrant-search-quality-diagnosisSkill
- qdrant-search-strategiesSkill
- qdrant-search-qualitySkill
- qdrant-sizingSkill
- qdrant-version-upgradeSkill
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
- Distinctive: line 12
Use when: the user asks how to create or manage clusters, or an agent must choose a tool.
- Distinctive: line 14
Use the Console for one-off changes and anything an interactive screen is best at Console
- Distinctive: line 15
Use the Cloud MCP for an agent to explore and read cluster state in conversation, with changes confirmed one by one.
- Very specific: line 16
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
- Distinctive: line 17
Use Terraform or Pulumi for clusters that live long and should be reviewed, repeatable, and recreated from code Terraform
- Distinctive: line 18
Call the Cloud API directly only for custom integrations that none of the above fit
- Very specific: line 19
When an agent has both MCP and shell, read with the MCP and run long or repeated jobs with qcloud.
- Distinctive: line 24
Use when: the user wants an agent to manage Cloud, or the MCP shows no tools.
- Distinctive: line 27
Start read-only: the docs recommend escalating to manage access only when a change is needed.
- Very specific: line 33
Use when: setting up qcloud for a person, a script, or a pipeline.
- Distinctive: line 37
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 …
- Very specific: line 42
Use when: running qcloud unattended or from an agent.
- Very specific: line 44
Add --json and parse the output.
- Distinctive: line 53
Use a Management Key as a Database API key, or the reverse
- Very specific: line 55
Run qcloud with --force in an agent loop, or before the user has said yes
- Very specific: line 56
Treat a qcloud exit code of 0 as proof the change ran.
≈ “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.
Files
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
qcloudwhen an agent or script has a shell: output piped throughjq, 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 httpwhen adding the server, then/mcpto 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 throughqcloud context setor theQDRANT_CLOUD_API_KEYandQDRANT_CLOUD_ACCOUNT_IDenvironment 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 showbefore any change, and switch withqcloud context use
Scripting qcloud
Use when: running qcloud unattended or from an agent.
- Add
--jsonand parse the output. Don't scrape the table view - Creation takes time, so use
--waiton create orqcloud cluster waitwith--timeout(default 10 minutes) before the next step Quick start - Without
--force,qcloudasks for confirmation on scale, restart, suspend, delete, and backup restore. With no one at the terminal it printsAborted.and exits 0, so a script or agent sees success when nothing ran. Check the output forAborted. - For an agent, get the user's yes in chat first, then run that one command with
--force. In a pipeline, use--forceonly 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
qcloudwith--forcein an agent loop, or before the user has said yes - Treat a
qcloudexit 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
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
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.

