ankra-cli
Ankra CLI rules and best practices for managing Kubernetes clusters via the Ankra platform
Install / Use
npx skills add PatrickJS/awesome-cursorrulesInstalls into whichever agent you are using.
Other
Other agent config
Quality Score
Category
SecuritySupported Platforms
Our assessment of ankra-cli
ankra-cli scores 91/100 on our quality scale, 400th of 1,099 Security skills we index (top 37%).
Its Other is 6.9 KB long, well organised into 22 sections with 16 code examples: a thorough specification that gives an agent plenty to work with.
With 41,108 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-10-17 found the source still online.
- It is released under the CC0-1.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 98/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
ankra-cli compared with similar skills
All 4 of these similar skills score higher than ankra-cli; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| ankra-cli (this skill)by PatrickJS | 91 | 41.1k | 5mo ago | Other |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 97.9k | today | MCP Server |
| crawl4aiby unclecode | 100 | 87.0k | 1d ago | MCP Server |
Frequently asked questions
- How do I install ankra-cli?
- Run
npx skills add PatrickJS/awesome-cursorrules. The install tabs above show the steps for each supported agent. - Which AI agents does ankra-cli work with?
- It is written for Cursor, as a Other file. Other agents that read the same format can often use it too.
- Is ankra-cli safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is CC0-1.0-licensed and scores 98/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is ankra-cli still maintained?
- The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubdescription: "Ankra CLI rules and best practices for managing Kubernetes clusters via the Ankra platform" globs: **/.sh, **/.yaml, **/.yml, Makefile, **/Makefile, **/.md alwaysApply: false
Ankra CLI Best Practices
Ankra is a Kubernetes cluster management platform. Its CLI (ankra) lets you manage organisations, clusters, add-ons, stacks, Helm releases, credentials, and tokens from the terminal.
Authentication & Configuration
- Authenticate first:
ankra login - Default config lives at
~/.ankra.yaml; override with--config <path> - Override the API base URL with
--base-urlorANKRA_BASE_URL - Supply an API token via
--tokenorANKRA_API_TOKEN(prefer env var in CI) - Logout cleanly:
ankra logout
# ~/.ankra.yaml example
base_url: https://api.ankra.io
token: ${ANKRA_API_TOKEN}
Organisation Management
ankra org list # List accessible organisations
ankra org switch <org-name> # Switch active organisation
ankra org create <name> # Create a new organisation
ankra org invite <email> # Invite a user to the current org
ankra org members # List members of the current org
Cluster Lifecycle
ankra cluster list # List all clusters in the org
ankra cluster select <name> # Set the active cluster context
ankra cluster info # Show details about the active cluster
ankra cluster provision # Provision a new cluster
ankra cluster deprovision # Deprovision (destroy) the active cluster
ankra cluster reconcile # Reconcile cluster to desired state
ankra delete cluster <name> # Delete a named cluster
- Always run
ankra cluster infobefore destructive operations - Use
ankra cluster reconcileafter config changes before assuming state is correct
Add-ons
ankra cluster addons list # List installed add-ons
ankra cluster addons available # List available (installable) add-ons
ankra cluster addons settings <addon> # Show current settings for an add-on
ankra cluster addons update <addon> # Update add-on configuration
ankra cluster addons uninstall <addon> # Uninstall an add-on
Stacks (Application Stacks)
ankra cluster stacks list # List stacks in the cluster
ankra cluster stacks create <name> # Create a new stack
ankra cluster stacks delete <name> # Delete a stack
ankra cluster stacks rename <old> <new> # Rename a stack
ankra cluster stacks clone <src> <dst> # Clone a stack
ankra cluster stacks history <name> # View stack change history
- Prefer
cloneovercreatewhen replicating an existing working stack - Check
historybefore rolling back to understand what changed
Manifests & Operations
ankra cluster manifests list # List deployed manifests
ankra cluster operations list # List in-progress or recent operations
ankra cluster operations cancel <id> # Cancel a running operation
Cluster Agent
ankra cluster agent status # Check agent health
ankra cluster agent token # Retrieve agent bootstrap token
ankra cluster agent upgrade # Upgrade the in-cluster agent
- Run
agent statusif cluster commands seem unresponsive - Rotate the agent token periodically for security
Helm
ankra cluster helm releases # List Helm releases in the cluster
ankra cluster helm uninstall <release> # Uninstall a Helm release
ankra helm registries # List configured Helm registries
ankra helm credentials # List Helm registry credentials
Hetzner Cloud Clusters
ankra cluster hetzner create # Create a Hetzner-backed cluster
ankra cluster hetzner scale # Scale the cluster node count
ankra cluster hetzner upgrade # Upgrade Kubernetes version
ankra cluster hetzner workers # Manage worker node groups
ankra cluster hetzner node-group # Node group management
Charts
ankra charts list # List available charts
ankra charts search <term> # Search charts
ankra charts info <chart> # Detailed chart information
Credentials
ankra credentials list # List stored credentials
ankra credentials get <name> # Retrieve a credential
ankra credentials validate <name> # Validate a credential
ankra credentials delete <name> # Delete a credential
ankra credentials hetzner --name <n> --token <t> # Store Hetzner API token
ankra credentials ovh ... # Store OVH credentials
ankra credentials upcloud ... # Store UpCloud credentials
- Never commit credentials to source control; use
ANKRA_API_TOKENenv var - Validate credentials immediately after creation:
ankra credentials validate <name>
Tokens (API Tokens)
ankra tokens list # List API tokens
ankra tokens create --name <name> # Create a new API token
ankra tokens revoke <id> # Revoke a token (keeps record)
ankra tokens delete <id> # Permanently delete a token
AI Troubleshooting
ankra chat # Start AI-powered troubleshooting session
Use ankra chat when facing ambiguous errors — it provides contextual guidance.
Global Flags
| Flag | Env Var | Description |
|------|---------|-------------|
| --base-url <url> | ANKRA_BASE_URL | Override API base URL |
| --token <token> | ANKRA_API_TOKEN | API authentication token |
| --config <path> | — | Path to config file (default ~/.ankra.yaml) |
Scripting & Automation Tips
- Export
ANKRA_API_TOKENin CI pipelines; never hard-code tokens - Use
--tokenfor one-off scripts where env var injection is not possible - Chain
ankra cluster selectbefore cluster-scoped commands in scripts - Pipe output through
jqfor structured processing where JSON output is available - Use
ankra cluster operations listin CI to poll for async operation completion - Add
set -euo pipefailto shell scripts using the Ankra CLI
Common Workflows
Provision and configure a new Hetzner cluster
ankra login
ankra org switch my-org
ankra cluster hetzner create
ankra cluster select my-new-cluster
ankra cluster agent status
ankra cluster addons available
ankra cluster addons update some-addon
ankra cluster reconcile
Deploy a stack from a chart
ankra cluster select my-cluster
ankra charts search my-app
ankra charts info my-app
ankra cluster stacks create my-stack
ankra cluster manifests list
Rotate credentials safely
ankra tokens create --name ci-token-new
# Update CI secret with new token
ankra tokens revoke <old-token-id>
ankra credentials validate my-cloud-cred
Related Skills
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
97.9k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
87.0kOfficial Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
