From vegastack-cli
Use when the user asks to write, debug, import, or migrate Terraform / HCL, or names any cloud / SaaS provider in a "deploy / provision / configure" context. Provides per-resource argument schemas, import-ID formats, deprecation flags, recent-change knowledge cards, cross-provider recipes, and recommended-companion expansion — all from a local doc bundle, no network calls. Triggers on "create a <resource>", "import <resource>", "what arguments does X accept", "is <resource> deprecated", "set up <multi-service stack>", and `*.tf`/`*.hcl` file edits. Do NOT use for: pure shell / bash / Python questions; non-IaC cloud questions ("what's the cheapest EC2 size?"); CDK / Pulumi / Crossplane (different DSLs); Terraform Cloud workspace administration (separate API).
How this skill is triggered — by the user, by Claude, or both
Slash command
/vegastack-cli:vegastackThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. Query mentions a specific resource/argument lookup → run `vegastack tf "<query>"` (single call)
vegastack tf "<query>" (single call)references/import.md firstreferences/migrations.md firstreferences/recipes.md firstreferences/recent-changes.md firstvegastack tf directly; envelope's manifest_entry answers itvegastack tf directly; the response envelope is sufficientThe decision tree above costs ~150 tokens. Loading the matching reference adds ~200-400 more. The historical eager-load pattern was ~4,400 tokens per turn — avoid.
You have local, deterministic, read-only access to documentation for 31 Terraform providers (1Password, Ansible, Auth0, AWS, Azure, ClickHouse, Cloudflare, CrowdStrike, Datadog, DigitalOcean, External, GCP, GitHub, GitLab, Grafana, Helm, Kubernetes, Local, MongoDB Atlas, Netlify, Okta, PagerDuty, Pinecone, Random, Redis Cloud, Snowflake, Splunk, Time, TLS, Vault, Vercel). The single command is:
vegastack tf "<the user's request, in natural language>"
vegastack (npm: @vegastack/cli) auto-resolves the docs bundle at ~/.config/vegastack/bundle/, auto-detects the provider, and returns one JSON envelope on stdout with four channels read in this order:
knowledge[] — date-stamped recent-change cards; if overrides_training: true, trust the card over your training memory.recipes[] — multi-provider topology scaffolds (HCL fragments + pitfalls).files[] — ranked resource/data-source pages, each with manifest_entry (required/optional args, blocks, enum values, import syntax, recommended companions, deprecation flags) and example_usage inline.concept_aliases_used[] — natural-language → resource mapping, surface in your reply for transparency.The response is enriched: in the common case one tool call answers the task because manifest_entry and example_usage are inlined into files[]. Cite citations[] verbatim at the end of your reply.
vegastack tf "S3 backend state locking dynamodb"
Read in order: knowledge[] first surfaces aws-s3-native-state-locking (overrides_training: true) — as of AWS provider 5.55 / Terraform 1.10 the s3 backend supports use_lockfile = true and DynamoDB is optional. Cite the card's authoritative_source. Then files[0] gives the terraform_remote_state / s3 backend manifest. Total: one CLI call, one citation block.
For multi-provider queries ("EKS plus Cloudflare DNS"), the envelope returns recipes[] if a topology matches; otherwise call vegastack tf --provider <name> once per provider.
files[].manifest_entry, it does not exist. Hallucinations like aws_lb_v2 / aws_load_balancer are common — re-phrase and re-run instead of mutating names.manifest_entry.required_args / optional_args / computed_attrs / blocks.*.{required,optional}_args, it does not exist on this provider version.manifest_entry.import_syntax.command verbatim — composite IDs (zone_id/record_id, region:name) are easy to get wrong.manifest_entry.deprecated: true, tell the user before writing code; surface suggested_alternative.overrides_training: true, the card represents post-training-cutoff facts the maintainers explicitly verified.terraform import workflowvegastack tf flag reference, output schema, scoring weightsvegastack doctor matrix and common failure modesThis skill bundles all 3 progressive-disclosure phases (load_skill / read_skill_resource / run_skill_script) into one CLI call — the dispatch tree above is the equivalent of the decision Microsoft Agent Framework recommends agents make before invoking load_skill.
npx claudepluginhub vegastack/vegastack-cli --plugin vegastack-cliProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.