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 noahlz/claude-plugins --skill merge-with-costsgit clone --depth 1 https://github.com/noahlz/claude-pluginsWrote 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/noahlz/claude-plugins/merge-with-costs)<a href="https://agentmods.dev/skills/noahlz/claude-plugins/merge-with-costs"><img src="https://agentmods.dev/badge/skills/noahlz/claude-plugins/merge-with-costs/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/noahlz/claude-plugins/merge-with-costs"><img src="https://agentmods.dev/badge/skills/noahlz/claude-plugins/merge-with-costs.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.00040 | $0.01854 |
| Opus 5 | $0.00020 | $0.00927 |
| Sonnet 5 | $0.00008 | $0.00371 |
| Haiku 4.5 | $0.00004 | $0.00185 |
Grade B, and why
merge-with-costs scanned grade B with 1 finding 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 7d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
**SKILL_CONFIG**: !`node "${CLAUDE_SKILL_DIR}/../../lib/check-skill-config.js" "./.claude/settings.plugins.commit-with-costs.json"` How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Merge the branches a sub-agent development session left behind; record the project session's cost in the merge commit.
Activate only on /merge-with-costs or a request to merge worktree/sub-agent branches with costs.
For an ordinary commit on the current branch, use commit-with-costs.
SKILL_BASE_DIR: ${CLAUDE_SKILL_DIR}
If the above shows literal ${CLAUDE_SKILL_DIR}, halt: "Requires Claude Code 2.1.69+."
Node.js Check: !node "${CLAUDE_SKILL_DIR}/../../lib/check-node-version.js"
Halt if ERROR.
Git Instructions Check: !node "${CLAUDE_SKILL_DIR}/../commit-with-costs/scripts/check-git-instructions.js"
Display any WARNING before proceeding.
Dependencies: !node "${CLAUDE_SKILL_DIR}/../../lib/check-dependencies.js" "${CLAUDE_SKILL_DIR}/../.."
Rules
| Rule | Behavior |
|---|---|
| DELEGATE_TO | Read the referenced file; execute its instructions exactly. Never improvise or guess commands. |
| Narration | Narrate only STEP_DESCRIPTION steps; all others silent. |
| JSON outputs | Extract fields into variables (e.g. data.candidates → CANDIDATES). |
| Cost metrics | Never fabricate or estimate. Use only values from a successful prepare-merge. |
| Cost source | One session: the project root's. Never pool worktree sessions, never substitute another session. |
| Merge safety | Never run git merge, git merge --abort, git rebase, git reset, or git add directly. Only the scripts below. |
| Leaving mid-merge | Stopping after Step 3 without committing? Run the abort action and report. Never leave a staged merge behind. |
Checklist
- [ ] 0. Pre-flight and config
- [ ] 1. Discover merge candidates
- [ ] 2. Confirm branches to merge
- [ ] 3. Stage the merge
- [ ] 4. Resolve conflicts (only when Step 3 reports them)
- [ ] 5. Generate commit message
- [ ] 6. Get user approval
- [ ] 7. Compute cost
- [ ] 8. Create merge commit
- [ ] 9. Display final summary
0. Pre-flight and Config
Halt if git commands already ran in this turn.
What ships with it
6 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.
- 7d ago Changed · +26 lines 4d476ac5e281
- 11d ago First seen · 171 lines · 40 tokens per session scan B 2f9e122c81f1
merge-with-costs is a skill published in the GitHub repository noahlz/claude-plugins (5 stars, last pushed 9d ago), licensed MIT. It adds 40 tokens to every session and 1,854 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for prisma-next. Use when the user wants to create a pull request, open a PR, or submit changes for review.
git-commit
Generate well-formatted git commit messages following conventional commit standards.
repo-sync
Manage repo-sync on macOS for shared documents and team context. Use when asked what repo-sync does, to automatically sync a repo, add a repo to repo-sync, stop syncing or un-sync a repo, check sync health, configure repo-sync, uninstall it, or install and maintain its bundled agent skill. Ordinary one-time Git pulls…
mcore-split-pr
Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.
contributing
How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the…
strict-tdd
Strict RED->GREEN->REFACTOR test-driven development with enforcement. Never write production code before a failing test. Atomic commits per TDD cycle.