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.
npx skills add 10CG/Aria --skill branch-finishergit clone --depth 1 https://github.com/10CG/AriaWrote 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.
[](https://agentmods.dev/skills/10cg/aria/branch-finisher)<a href="https://agentmods.dev/skills/10cg/aria/branch-finisher"><img src="https://agentmods.dev/badge/skills/10cg/aria/branch-finisher/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.
<a href="https://agentmods.dev/skills/10cg/aria/branch-finisher"><img src="https://agentmods.dev/badge/skills/10cg/aria/branch-finisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.03716 |
| Opus 5.5 | $0.00015 | $0.01486 |
| Sonnet 5.5 | $0.00007 | $0.00743 |
| Haiku 4.5 | $0.00004 | $0.00372 |
Grade A, and why
branch-finisher 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.
How it starts
The opening of the file, as written. The whole thing — 459 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Branch Finisher (分支完成器)
版本: 1.0.0 | 十步循环: B.2 → C.1 更新: 2026-01-21 - 初始版本
快速开始
我应该使用这个 skill 吗?
| 场景 | 使用 branch-finisher? |
|---|---|
| 完成分支开发,准备提交 | ✅ 是 |
| 需要运行测试验证 | ✅ 是 |
| 需要清理 worktree | ✅ 是 |
| 刚开始开发 | ❌ 否,使用 branch-manager |
| 代码审查中 | ❌ 否,使用 subagent-driver |
不应该使用的场景
- 分支刚创建 → 使用 branch-manager
- 任务执行中 → 使用 subagent-driver
- 需要创建 PR → 使用 branch-manager (C.2)
配置 (config-loader)
执行前读取 .aria/config.json,缺失则使用默认值。参见 config-loader。
| 字段 | 默认值 | 说明 |
|---|---|---|
benchmarks.require_before_merge |
true |
合并前是否要求 AB 基准测试 |
核心功能
| 功能 | 说明 |
|---|---|
| 测试前置验证 | 确保所有测试通过后才能继续 |
| 4 选项完成流程 | 提供标准化的完成选项 |
| Worktree 清理 | 智能决策是否清理 worktree |
| 状态同步 | 与 subagent-driver 状态同步 |
执行流程
┌─────────────────────────────────────────────────────────────┐
│ Branch Finisher 执行流程 │
├─────────────────────────────────────────────────────────────┤
│ │
│ 1. 接收完成信号 │
│ ├─ 来自 subagent-driver (所有任务完成) │
│ └─ 来自用户手动触发 │
│ │
│ 2. 测试前置验证 │
│ ├─ 运行测试套件 │
│ ├─ 检查测试覆盖率 │
│ └─ 验证构建成功 │
│ │
│ 2.5 Skill 变更 AB 验证 (v1.7.0 新增) │
│ ├─ 检测分支 diff 中是否包含 SKILL.md 变更 │
│ ├─ Zone 分类: 逻辑变更 vs 文档变更 │
│ ├─ 检查 ab-results/ 中是否有新鲜 AB 结果 │
│ └─ 缺失时: warn/block (由 config 控制) │
│ 详见 references/ab-benchmark-gate.md │
│ │
│ 3. 变更摘要 │
│ ├─ 收集所有变更文件 │
│ ├─ 统计代码行数变化 │
│ └─ 列出完成的任务 │
│ │
│ 4. 4 选项完成流程 │
│ ├─ [1] 提交并创建 PR │
│ ├─ [2] 继续修改 │
│ ├─ [3] 放弃变更 │
│ └─ [4] 暂停保存 │
│ │
│ 5. Worktree 清理决策 │
│ ├─ 选项 1: 清理 worktree │
│ ├─ 选项 2: 保留 worktree │
│ └─ 选项 3: 稍后决定 │
│ │
│ 6. 执行选择的操作 │
│ └─ 调用相应的后续 skill │
│ │
└─────────────────────────────────────────────────────────────┘
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 459 lines · 37 tokens per session scan A 07f836c55b32
branch-finisher is a skill published in the GitHub repository 10CG/Aria (2 stars, last pushed 18d ago), licensed MIT. It adds 37 tokens to every session and 3,716 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-10-23.
branch-finisher compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| branch-finisher10CG/Aria | Skill | 2 | 18d ago | MIT | A | 37 | Claude Code |
| workflow-branch-synclugassawan/swe-workbench | Skill | 3 | yesterday | MIT | A | 55 | Claude Code |
| workflow-cleanup-mergedlugassawan/swe-workbench | Skill | 3 | yesterday | MIT | A | 47 | Claude Code |
| workflow-pr-reviewlugassawan/swe-workbench | Skill | 3 | yesterday | MIT | A | 106 | Claude Code |
| workflow-address-feedbacklugassawan/swe-workbench | Skill | 3 | yesterday | MIT | A | 85 | Claude Code |
| workflow-commit-and-prlugassawan/swe-workbench | Skill | 3 | yesterday | MIT | A | 68 | Claude Code |
| workflow-developmentlugassawan/swe-workbench | Skill | 3 | yesterday | MIT | A | 181 | Claude Code |