release

A release workflow for preparing, checking, and publishing the tfmcp project to crates.io, GitHub, and GitHub Container Registry. It covers version updates, changelogs, package checks, and release verification.

In plain words
What is it for?
Use it to prepare a versioned release, run release checks, update supported Terraform versions, publish packages and container images, and troubleshoot failed releases.
Why use it?
It reduces the risk of publishing mismatched versions, incomplete packages, leaked files, or a release that has not passed its checks.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nwiizo/tfmcp/release
Any agent
npx skills add nwiizo/tfmcp --skill release
Clone the repo
git clone --depth 1 https://github.com/nwiizo/tfmcp

Made for: Claude Code, Codex.

Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 465 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00040 $0.00465
Opus 5 $0.00020 $0.00233
Sonnet 5 $0.00008 $0.00093
Haiku 4.5 $0.00004 $0.00047

Measured yesterday against content hash 08f01c6560d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

release scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/release/SKILL.md · 48 lines

What it actually says

Release tfmcp

Treat publication as an irreversible operation. Keep the version synchronized across Cargo.toml, Cargo.lock, server.json, the OCI identifier, and Dockerfile.

Prepare

  1. Confirm the target version does not already exist on crates.io, as a Git tag, or as a GitHub release.
  2. Update the synchronized version fields and add a dated CHANGELOG.md section.
  3. Update the tested Terraform version in CI and both Docker stages when the release changes the supported baseline.
  4. Run ./Release.sh vX.Y.Z. Fix every failure; do not weaken gates to make a release pass.
  5. Review cargo package --list and the generated package contents for secrets, temporary files, and stale release documents.

Publish

  1. Commit the verified release preparation on main.
  2. Push main and confirm the Rust CI workflow succeeds for that exact commit.
  3. Re-run ./Release.sh vX.Y.Z from the clean commit.
  4. Run ./Release.sh vX.Y.Z --publish.
  5. Verify the crates.io version, annotated Git tag, public GitHub release, multi-platform GHCR image, and GitHub Actions results.

Never publish from a dirty worktree, bypass a failing check, reuse a release version, or move an existing release tag.

Required gates

The release script is authoritative. It runs formatting, Clippy with warnings denied, locked tests, audit, cargo coupling, similarity-rs, metadata validation, diff checks, release build, package verification, and a crates.io publish dry run.

Use cargo coupling --ai --git-months 6 --exclude-tests to diagnose structural hotspots and similarity-rs src --skip-test --threshold 0.90 --min-lines 8 to inspect duplicate candidates. Refactor findings only when the new boundary or abstraction has a clear owner and preserves behavior.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 48 lines · 40 tokens per session scan A 08f01c6560d1

Subscribe to this mod's changes

release is a skill published in the GitHub repository nwiizo/tfmcp (371 stars, last pushed 4d ago), licensed MIT. It adds 40 tokens to every session and 465 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.