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 will-pagane/claude-superdev-harness --skill session-endgit clone --depth 1 https://github.com/will-pagane/claude-superdev-harnessWrote 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/will-pagane/claude-superdev-harness/session-end)<a href="https://agentmods.dev/skills/will-pagane/claude-superdev-harness/session-end"><img src="https://agentmods.dev/badge/skills/will-pagane/claude-superdev-harness/session-end/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/will-pagane/claude-superdev-harness/session-end"><img src="https://agentmods.dev/badge/skills/will-pagane/claude-superdev-harness/session-end.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.00000 | $0.02148 |
| Opus 5.5 | $0.00000 | $0.00859 |
| Sonnet 5.5 | $0.00000 | $0.00430 |
| Haiku 4.5 | $0.00000 | $0.00215 |
Grade A, and why
session-end 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 3mo 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Session End
Finished branch in → merged default branch, production in sync, pendings recorded, branch and worktree gone.
Announce at start: "Using session-end to take <branch> from pushed to merged and cleaned up."
This run has two human gates (Step 0 ambiguity, and escalations). Everything between them happens without asking. That is a gate count, not a duration promise.
Authorization
The invocation authorizes, for the work already on this branch only: committing what is left, applying its migrations, deploying its edge functions, writing the pendings file, pushing, opening the PR, merging into the default branch, and deleting the branch + worktree afterwards. This is the one place where the standing "never open a PR / never merge without an explicit ask" rule is satisfied — the invocation is the ask.
Not authorized: new features, refactors, fixing unrelated findings, force-pushing, squashing, rewriting history, deleting anything outside the branch and its worktree.
Also not authorized — tree-mutating recovery. git stash with a merge or rebase in progress, git reset --hard, git rm --cached -r .. These destroy state you did not create. Observed: a git stash push -u with MERGE_HEAD live and six hand-resolved files staged, and a git rm --cached -r . && git reset --hard on a shared main checkout with no human gate. Both are escalations, not moves.
Out-of-scope arguments: refuse and hand off — do not do the cheap part anyway. Invoked with "take enough pendings to make three specs", the right answer is that /session-build owns that, and to stop. A run that refused the execution but cut the three specs regardless got the reply "pode rodar o session build em cima" — the specs were unwanted work in the wrong skill.
Human gates — only these:
- Step 0 — confirm the branch and the pendings list when either is ambiguous.
- Escalations — a red gate triaged as
regression, an unapplied migration, a semantic merge conflict, an unverified deploy, a mid-run instruction that contradicts project law. - Nothing else. Do not ask "should I continue?" between steps, and do not invent a third gate.
What ships with it
29 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.
- assets/report-template.md 4.7 KB
- dispatch-prompts.md 3.5 KB
- pendings-template.md 1.9 KB
- references/fork-contract.md 4.4 KB
- references/repo-shapes.md 3.2 KB
- references/traps.md 18 KB
- scripts/gate.ps1 3.5 KB runs code
- scripts/gate.sh 7.0 KB runs code
- steps/lane-fork-orchestrator.md 6.9 KB
- steps/step-00-inventory.md 6.6 KB
- steps/step-01-verify.md 7.8 KB
- steps/step-02-production-state.md 3.1 KB
- steps/step-04-pendings.md 7.8 KB
- steps/step-05-push-and-pr.md 5.3 KB
- steps/step-07-merge.md 5.9 KB
- steps/step-08-sync-and-cleanup.md 5.6 KB
- steps/step-10-report.md 1.5 KB
- verify/all-gates.sh 1.5 KB runs code
- verify/assert-findings.sh 5.8 KB runs code
- verify/blocks.py 2.3 KB runs code
- verify/budgets.sh 1.7 KB runs code
- verify/contains.py 281 B runs code
- verify/expect-flag.ps1 783 B runs code
- verify/expect-flag.sh 1.6 KB runs code
- verify/ledger-probe.sh 2.0 KB runs code
- verify/lib.sh 647 B runs code
- verify/prove-red.sh 2.8 KB runs code
- verify/reconstruct.sh 4.4 KB runs code
- verify/xrefs.sh 1.3 KB runs code
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.
- 3mo ago Changed · -182 lines scan B → A bb458cccdcf1
- 3mo ago First seen · 289 lines · 0 tokens per session scan B dc91a852eab7
session-end is a skill published in the GitHub repository will-pagane/claude-superdev-harness (4 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,148 tokens. 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-31.
session-end compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| session-endwill-pagane/claude-superdev-harness | Skill | 4 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| release-engineeringmajiayu000/spellbook | Skill | 303 | 5d ago | MIT | A | 69 | Codex |
| dsh-plugin-publisherlovstudio/skills | Skill | 72 | 2d ago | MIT | A | 82 | Claude Code |
| lov-skill-optimizerlovstudio/skills | Skill | 72 | 2d ago | MIT | A | 127 | Claude Code |
| lov-skill-publisherlovstudio/skills | Skill | 72 | 2d ago | MIT | A | 38 | Claude Code |
| lov-app-delta-updaterlovstudio/skills | Skill | 72 | 2d ago | MIT | A | 72 | Claude Code |
| landdarkroomengineering/cc-settings | Skill | 56 | yesterday | MIT | A | 45 | Claude Code |