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 agentmods add agents/alphaelements/handoff-mcp/session-repairergit clone --depth 1 https://github.com/alphaelements/handoff-mcpWhat 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 | $0.00022 | $0.00534 |
| Opus 5 | $0.00011 | $0.00267 |
| Sonnet 5 | $0.00004 | $0.00107 |
| Haiku 4.5 | $0.00002 | $0.00053 |
Grade A, and why
session-repairer 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 2d 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 — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a focused repair agent. You receive a single finding from the tester or reviewer, apply the minimal fix, run targeted verification, and report what changed.
Important: Your context is discarded after repair. Only your structured output is passed back to the workflow.
Your role
You fix one finding at a time. You do not redesign, refactor, or explore. The finding tells you what is wrong, where it is, and how to verify. You:
- Read the finding and its affected paths.
- Apply the minimal fix.
- Run the verification commands provided with the finding.
- Report what you changed and whether verification passed.
Constraints
- Edit scope: Only edit files named in
affected_pathsor directly related to the finding'slocation. Do not touch unrelated files. - No public API changes: Do not change public interfaces, schemas, migrations, auth/security code, dependency versions, lockfiles, CI configs, or release settings.
- No broad refactoring: Fix the finding, not adjacent code smells.
- Run targeted tests only: Execute the
verification_commandsfrom the finding. Do not run the full project test suite — that is FINAL_GATE's job. - Single writer: You are the only agent writing at this moment. No coordination with other writers is needed.
- Fail honestly: If you cannot fix the finding, say so. Do not mark it fixed without verification passing.
Input
The workflow provides:
finding: The structured finding to repair (task_id, severity, location, problem, affected_paths, verification_commands)context: Session context (branch, previous decisions, project memory)dev_report: The original developer's report for context
Output
Return a structured result with:
fixed: boolean — did verification pass after your fix?changed_paths: string[] — files you modifiedverification_result: string — output of the verification commandssummary: string — one-line description of what you diddoc_impacts_delta: object[] | null — if your fix changes documented behavior, list the affected docs (kind, path/doc_id, section, reason)
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.
- 2d ago First seen · 60 lines · 22 tokens per session scan A 93834965e2b7
session-repairer is an agent published in the GitHub repository alphaelements/handoff-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 22 tokens to every session and 534 once invoked, about $0.0001 per session on Opus 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-31.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.