agent-infra: Skill for Claude Code

.agents/skills/post-release/SKILL.md

post-release is a skill for Claude Code, Codex from fitlab-ai/agent-infra. It costs 27 tokens per session (510 once invoked), scanned A, original, MIT.

A controlled checklist for completing work after a software release using an explicitly supplied semantic version, such as 1.2.3.

In plain words
What is it for?
Use it to inspect release channels, prepare local follow-up files, verify a commit and checksum, request one confirmation, publish the confirmed branch, and report the final state.
Why use it?
It prevents post-release actions from using the wrong version or publishing a changed, unconfirmed snapshot.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is fitlab-ai/agent-infra's own configuration. It tells Claude Code and Codex how to work on agent-infra itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-infra configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fitlab-ai/agent-infra. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fitlab-ai/agent-infra/main/.agents/skills/post-release/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fitlab-ai/agent-infra

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for post-release

README.md
[![agentmods](https://agentmods.dev/badge/skills/fitlab-ai/agent-infra/post-release/github.svg)](https://agentmods.dev/skills/fitlab-ai/agent-infra/post-release)
Your own site
<a href="https://agentmods.dev/skills/fitlab-ai/agent-infra/post-release"><img src="https://agentmods.dev/badge/skills/fitlab-ai/agent-infra/post-release/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for post-release

Your own site · 80×15
<a href="https://agentmods.dev/skills/fitlab-ai/agent-infra/post-release"><img src="https://agentmods.dev/badge/skills/fitlab-ai/agent-infra/post-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 510 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00027 $0.00510
Opus 5.5 $0.00011 $0.00204
Sonnet 5.5 $0.00005 $0.00102
Haiku 4.5 $0.00003 $0.00051

Measured 1mo ago against content hash 2155f5c7a951, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

post-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 1mo ago.

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.

.agents/skills/post-release/SKILL.md · 57 lines

What it actually says

发布后处理

要求用户显式提供唯一规范 SemVer {version},不得回退到最新 tag。

1. 检查渠道事实

agent-infra-internal release-workflow inspect {version}

pending/unknown 必须 blocked,确定失败必须 failed。complete 直接按外部事实报告完成。

2. 准备本地后处理

尚未完成时执行:

agent-infra-internal release-workflow post-prepare {version}
agent-infra-internal release-workflow inspect {version}

core 负责 build、可选 demo、下一开发版本、内联产物和显式路径 post commit;该动作不得 push。重跑从 Git 与渠道事实恢复,不重复已完成操作。

3. 检查确认快照

  • complete:报告完成,不询问、不 publish。
  • 存在 postConfirmation:展示完整字段和 sha256,进入步骤 4。
  • 不存在 postConfirmation:报告 isHead=false、工作树或暂存区非空等诊断并停止,不询问、不 publish。

4. 获取当前快照授权

仅在当前会话已展示完整 postConfirmation 后询问一次是否发布。只有无歧义肯定答复才继续;否定、调整、疑问、歧义或中断均停止。授权不跨会话或快照复用。

5. 发布已确认快照

agent-infra-internal release-workflow post-publish {version} \
  --expected-sha256 "{post-confirmation-sha256}"

core 重新 inspect 并校验摘要后仅执行普通 branch push,禁止 force push。摘要漂移时停止并回到步骤 1 重新展示、重新确认。

6. 写后复核并报告

agent-infra-internal release-workflow inspect {version}

报告全部渠道、released/new version、smoke、post commit 与远端 branch 事实;只有阶段为 complete 才表述为完成,不把 failed/degraded/blocked 表述为成功。

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. 1mo ago First seen · 57 lines · 27 tokens per session scan A 2155f5c7a951

Subscribe to this mod's changes

post-release is a skill published in the GitHub repository fitlab-ai/agent-infra (86 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 510 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other skills, from other repositories

ccb-github

Maintain this CCB project's GitHub-facing release and npm publication surface. Use when preparing, publishing, auditing, or fixing CCB releases; updating README.md, README/zh.md, localized README files, CHANGELOG.md, VERSION, package.json, GitHub release notes/assets, repository description/topics, npm registry state…

SeemSeam/claude_codex_bridge · 76 tokens

codew-release-qa-sweep

Use before claiming Codewhale release work is done: run the full gate sweep and list the manual QA targets.

Hmbown/CodeWhale · 31 tokens

release

Skill "release" from Hmbown/Codewhale, covering release, invocation, non-goals and workflow.

Hmbown/CodeWhale · 0 tokens

github

Drive GitHub via the official gh CLI — repos, issues, pull requests, releases, gists, Actions runs, and raw REST through gh api. Use when the user asks to inspect or manage GitHub.

AtomicBot-ai/atomic-agent · 48 tokens

skillshare-changelog

Generate CHANGELOG.md entry from recent commits in conventional format. Also syncs the website changelog page. Use this skill whenever the user asks to: generate a changelog, document what changed between tags, or create a new CHANGELOG entry. If you see requests like "write the changelog for v0.17", "what changed…

runkids/skillshare · 134 tokens

commit-pr

Mandatory Codex/Copilot publication adapter for opencode-swarm. Use for every GitHub issue assignment that results in code changes, commits, pushes, draft PRs, PR body edits, PR readying, release notes, or CI closeout. Must be loaded before git push, gh pr create, gh pr edit, or gh pr ready. Routes to the single…

ZaxbyHub/opencode-swarm · 100 tokens