Entry point for infrastructure work on AWS, Azure or GCP. Resolves the environment and cloud, then routes to design, implement, or review skills.
Ships in infra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Shared files: a path written @rules/…, @skills/…, @templates/… or @docs/… is relative to the
plugin root, ${CLAUDE_PLUGIN_ROOT} — not to the project being worked on. Read it from there.
Usage: /infra:start [target] [--env=<env>] [--cloud=<cloud>]
Ground every infrastructure decision in the OKF okf-k8s-tf bundle
(@rules/okf-k8s-tf-bundle.md) rather than in model memory, and hand the real work to the skill
that is sized for it.
Four things are settled and passed downstream, so the mode skill never re-asks them:
$OKF, and its freshness list: the documents past stale_after and
those awaiting re-verification, each with its reasonlocal / test / staging / production| The user wants | Mode | Route to |
|---|---|---|
| A configuration decided from requirements; technology selection; an approach | design | /infra:design |
| Terraform / manifests / values / CI written or fixed | implement | /infra:implement |
| Existing code or a design document assessed, with findings | review | /infra:review |
Ambiguous? Ask one question with AskUserQuestion. A compound request ("design it and then build it") splits into design → user confirmation → implement; never proceed to implementation without agreement on the design.
Route by invoking the mode skill with the Skill tool, passing the four settled facts as arguments. This skill does triage only — design and review carry a higher reasoning tier (see Model Policy).
The exception is a single factual lookup ("what does the bundle say about Vault HA?") or a request whose whole point is the triage itself. Answer those here.
| Input | Required/Recommended | Source |
|---|---|---|
knowledge/okf-k8s-tf/ (the bundle) | Required | Vendored; tools/update-okf-bundle.sh status --bundle=k8s-tf |
| The target repository or design document | Recommended | The user |
| reports/03_design/target-architecture.md | Recommended | /architect:design-microservices |
| reports/08_infrastructure/infrastructure-design.md | Recommended | /architect:design-infrastructure |
Run ${CLAUDE_PLUGIN_ROOT}/tools/update-okf-bundle.sh status --bundle=k8s-tf and take the
resolved path as $OKF. The resolution order, where its upstream comes from, and what to do when
it cannot be found are all in @rules/okf-k8s-tf-bundle.md §1.
If the bundle cannot be resolved, do not answer from memory. It is the primary source for this skill, not a convenience.
The same status output ends with the freshness list, in two parts:
past stale_after — computed for today from each document's frontmatter.awaiting re-verification — the list the weekly upstream refresh recorded, with the reasons:
a cited page changed, redirected to a different page or stopped answering, a stated version fell
further behind or reached end of life. It is dated (as of); a list older than the latest
Monday means the refresh has not run since.Carry both parts forward unchanged as the freshness list. A listed document is still citable,
as dated evidence: every claim resting on it says it awaits re-verification and why, and when the
claim matters, check the locally held page (knowledge/okf-k8s-tf-upstream/pages/) or the
official source (@rules/okf-k8s-tf-bundle.md §1, §6). Revising the document is not this skill's
job — tell the user /architect:revise-knowledge does it.
Infrastructure has four environments and no output is produced before the environment is
settled. Use --env=<env>; when absent, ask with AskUserQuestion. When several are in scope,
the deliverable gets one section per environment.
Coverage differs sharply per environment, and the difference is not cosmetic:
| Environment | Bundle | Posture in the output |
|---|---|---|
local | Absent | Say "outside the bundle's scope". Do not assert |
test | Observed implementation (a procedure or CI kubectl apply, direct apply) | Citable as fact |
staging | Observed implementation (Argo CD app-of-apps, GitOps) | Citable as fact |
production | No observed implementation — guidance only | Say the investigated repositories contain no production implementation, and present production as staging plus approval/protection/sync windows |
Full matrix and promotion path: @rules/infra/environments.md.
Multi-cloud is the default premise; never answer as if one cloud were assumed. Use
--cloud=<cloud>; when absent, ask. Settle the four items in @rules/infra/multi-cloud.md §0 and
fill the cloud × environment grid before routing — an empty cell means "not deployed here", and
must not be left implicit.
Pick the mode from Decision Criteria and invoke the corresponding skill, passing environment,
cloud, target path, $OKF and the freshness list.
These bind the mode skills too.
[foundation/terraform.md]-style sources to each claim (@rules/okf-k8s-tf-bundle.md §7). A
claim resting on a document on the freshness list says the document awaits re-verification,
and why.if env == "production" into a base (@rules/infra/environments.md §2).main, latest, a floating tag). Resolve the version rather than recalling it
(@rules/dependency-versions.md).options.output_language; code identifiers stay English.update-okf-bundle.sh status. The write and apply rules are in /infra:implement (Never run by this skill).The user's choice wins. Otherwise resolve $OUT in this order:
reports/08_infrastructure/ — when work/pipeline-progress.json exists (pipeline context)docs/infra/ at the target repository root (git rev-parse --show-toplevel), or in the
working directory when there is no repository context| Deliverable | Path | File name |
|---|---|---|
| Design document | $OUT/ | infra-design-<system>.md |
| Environment matrix | $OUT/ | env-matrix-<system>.md |
| ADR | $OUT/adr/ | adr-<NNN>-<slug>.md |
| Review report | $OUT/reviews/ | review-<target>-r<round>.md |
reports/ must carry YAML frontmatter and valid Mermaid — the
repository's hooks enforce both (@rules/output-conventions.md).${CLAUDE_PLUGIN_ROOT}. The plugin is replaced on update and
the deliverable would be lost.| Skill | Model | Why |
|---|---|---|
/infra:start | sonnet | Triage: resolution, freshness, environment/mode. The heavy work is delegated |
/infra:design | opus | Design judgement, trade-offs, ADRs. A wrong structural call propagates to everything downstream |
/infra:implement | sonnet | The conventions are written down and verification commands back them. Highest output volume, so the largest cost saving |
/infra:review | opus | Multi-step reasoning and finding what is absent. A missed finding stays as risk |
The criterion is "how hard the error is to undo" times "how many tokens it generates". When
implementation hits genuinely hard ground — a complex migration, state surgery, a CRD upgrade —
do not push through on sonnet; suggest the user switch with /model opus.
| Skill | Relationship |
|---|---|
| /infra:design, /infra:implement, /infra:review | The three modes this skill routes to |
| /architect:design-infrastructure | Upstream — the logical infrastructure design this refines into a concrete multi-cloud configuration |
| /architect:generate-infra-code | Sibling — emits IaC into generated/ as a pipeline codegen step; /infra:implement writes into a real infrastructure repository |
| /architect:design-security, /architect:design-observability, /architect:design-disaster-recovery | Upstream — policy (authorization model, SLI/SLO, RTO/RPO); this plugin decides the implementation means |
| /scalardb:* | ScalarDB schema and transaction design. This plugin treats ScalarDB only as something that runs on Kubernetes |
| /architect:update-knowledge | Reports the bundle's state (--bundle=k8s-tf) |
What SKILL.md sets; muted values are Claude Code's defaults
sonnetThree short reads, in order
AWS, Azure, GCP, Terraform, Kubernetes
infrastructure-triage, cloud-routing, multi-cloud, terraform
4 skills in this plugin
/designInfrastructure DesignDesign a multi-cloud, four-environment infrastructure: design document, environment matrix and
ADRs, no code. Use for "design the infrastructure" or "compare the approaches".
/implementInfrastructure ImplementationWrite Terraform, Kubernetes, Helm, Kustomize and CI definitions from an agreed design into a real
infrastructure repository. For a scaffold under generated/, use architect:generate-infra-code.
/reviewInfrastructure ReviewReview infrastructure code or a design against the platform bundle: ownership overlap, image
digest continuity, secret exposure, cloud and environment parity. Use for "review this Terraform".
/infra:start [target] [--env=<env>] [--cloud=<cloud>]from infra
npx claudepluginhub wfukatsu/nexus-architect --plugin infraOther plugins' skills for the same job