agent-infra: Skill for Claude Code

.agents/skills/create-release-note/SKILL.md

create-release-note is a skill for Claude Code, Codex from fitlab-ai/agent-infra. It costs 31 tokens per session (2,358 once invoked), scanned A, original, MIT.

A release-note workflow that compares two software version tags and summarises the merged pull requests and commits between them. Release notes explain what changed in a published version.

In plain words
What is it for?
Use it to prepare notes for a version, including features, improvements, bug fixes, documentation, contributors, and linked issues when available.
Why use it?
It avoids manually searching commit history and helps keep the format and categories consistent with earlier releases.

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/create-release-note/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 create-release-note

README.md
[![agentmods](https://agentmods.dev/badge/skills/fitlab-ai/agent-infra/create-release-note/github.svg)](https://agentmods.dev/skills/fitlab-ai/agent-infra/create-release-note)
Your own site
<a href="https://agentmods.dev/skills/fitlab-ai/agent-infra/create-release-note"><img src="https://agentmods.dev/badge/skills/fitlab-ai/agent-infra/create-release-note/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 create-release-note

Your own site · 80×15
<a href="https://agentmods.dev/skills/fitlab-ai/agent-infra/create-release-note"><img src="https://agentmods.dev/badge/skills/fitlab-ai/agent-infra/create-release-note.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,358 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.00031 $0.02358
Opus 5.5 $0.00012 $0.00943
Sonnet 5.5 $0.00006 $0.00472
Haiku 4.5 $0.00003 $0.00236

Measured 10d ago against content hash 97d7cf1af2bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-release-note 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 10d 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/create-release-note/SKILL.md · 193 lines

How it starts

The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.

创建发布说明

基于已合并的 PR 和提交,为指定版本生成全面的发布说明。

执行流程

1. 解析参数

从参数中提取:

  • <version>:当前发布版本(必需),格式 X.Y.Z
  • <prev-version>:上一版本(可选),如未提供则自动检测

2. 确定版本范围

当前标签:v<version>

上一标签(如未指定):

git tag --sort=-v:refname

查找 v<version> 之前最近的标签。

验证标签存在:

git rev-parse v<version>
git rev-parse v<prev-version>

3. 参考历史发布说明格式与分类

读取一次 typed 发布说明上下文,并参考预定义的完整分类清单:

执行前先读取 .agents/rules/release-commands.md。

agent-infra-internal platform-release-notes context \
  --from-tag "v<prev-version>" --to-tag "v<version>" \
  --branch "<base-branch>" --history-limit 3

Part B:完整分类清单

  • 🆕 Feature
  • ✨ Enhancement
  • ✅ Bugfix
  • 📚 Documentation

用途:

  • Part A:分析最近 3 条历史发布说明的章节结构、标题风格、emoji 使用、条目格式
  • 每项 history 含 tag、正文和 Release URL;正文只作为格式样例,不作为当前版本的变更事实
  • Part B:提供静态完整分类清单,确保后续生成时不遗漏已有分类
  • 该静态清单用于确保变更分类时不遗漏已有类别名称;若当前版本无该类变更,仍按步骤 7 的格式规则省略空分类
  • 后续步骤 7 生成发布说明时,必须同时参考步骤 3 的历史格式风格和完整分类清单,保持版本间的一致性
  • 如果没有历史发布说明,则使用步骤 7 中定义的默认格式

4. 收集已合并的 PR 与贡献者

使用步骤 3 返回的 pullRequests 与 commits。每个 commit 的 authors 只包含该 commit 的平台作者;pullRequestNumbers 表示平台记录的 PR 关联。技能不读取平台原始字段或邮箱规则。PR 的 closingIssues 是该 PR 实际关闭的 Issue,不按 PR/Issue 编号推断关联。

发布说明记录标签间实际交付的变更。对于没有关联 PR 的 commit,依据 typed context 中的 oid 检查实际 diff,判断它记录的是版本交付还是发布流程本身。仅包含版本元数据更新、生成发布产物或其他版本准备/发布机械操作的 commit 不属于本版本变更,也不计入贡献者;同一 commit 若还包含独立的产品、文档或维护改动,则保留这些改动及其作者。diff 无法说明提交用途时,保留该 commit,并根据实际改动描述。步骤 6 的变更分类和步骤 7 的贡献者统计使用同一筛选结果。

5. 收集关联 Issue

使用步骤 3 中每个 PR 的 closingIssues,不在通用技能中解析平台专有引用语法。

6. 分类变更

按类型(从 PR 标题的 Conventional Commit 前缀):

  • feat、perf、refactor、依赖升级 -> Enhancement
  • fix -> Bugfix
  • docs -> Documentation(如少于 3 项则合并到 Enhancement)

按模块(从 PR 标题 scope、标签或文件路径):

  • 从 PR 标题中的方括号 [module] 或 Conventional scope feat(module): 推断模块
  • 兜底:分析变更的文件

7. 生成发布说明

优先使用步骤 3 中获取的历史格式风格,并确保覆盖步骤 3 列出的所有分类。 每次动态参考最近 3 条已发布说明;把这些正文共同使用的章节、双语布局和安装段作为稳定格式,条目内容按当前版本变化。不要把样例中的作者或链接复制到当前版本。

如果没有历史发布说明,使用以下默认格式化为 Markdown:

## {Module / 模块}

### Enhancement / 增强

- [{scope}] Description by @author in [#N](url)

### Bugfix / 修复

- [{scope}] Description by @author in [#N](url)

## Contributors / 贡献者

@contributor1, @contributor2, @contributor3, @reporter1 (reported #N)

## Installation / 安装

{本版本的中英文安装说明,沿用历史正文中的稳定安装步骤}

Read the full file on GitHub · 193 lines

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. 10d ago Changed 97d7cf1af2bb
  2. 16d ago Changed · +2 lines 36ec7fdeafe2
  3. 1mo ago Changed · +6 lines fb3a2956e071
  4. 1mo ago First seen · 185 lines · 31 tokens per session scan A cc859469c87c

Subscribe to this mod's changes

create-release-note is a skill published in the GitHub repository fitlab-ai/agent-infra (86 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 2,358 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