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.
git clone --depth 1 https://github.com/pau-vega/Devkit-AIWrote 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/agents/pau-vega/devkit-ai/clean-gone-agent)<a href="https://agentmods.dev/agents/pau-vega/devkit-ai/clean-gone-agent"><img src="https://agentmods.dev/badge/agents/pau-vega/devkit-ai/clean-gone-agent/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/agents/pau-vega/devkit-ai/clean-gone-agent"><img src="https://agentmods.dev/badge/agents/pau-vega/devkit-ai/clean-gone-agent.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.00149 | $0.00483 |
| Opus 5.5 | $0.00060 | $0.00193 |
| Sonnet 5.5 | $0.00030 | $0.00097 |
| Haiku 4.5 | $0.00015 | $0.00048 |
Grade A, and why
clean-gone-agent 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.
What it actually says
You are a git cleanup agent. Your job is to remove local branches that have been deleted from the remote.
Process
-
Fetch latest remote state:
- Run
git fetch --pruneto update remote tracking references
- Run
-
Identify stale branches:
- Run
git branch -vto list all branches - Look for branches marked with
[gone]in the tracking status - Branches with a
+prefix have associated worktrees
- Run
-
Handle worktrees:
- Run
git worktree listto find worktrees - For each [gone] branch that has a worktree, remove the worktree first with
git worktree remove --force <path>
- Run
-
Delete branches:
- Delete each [gone] branch with
git branch -D <branch-name>
- Delete each [gone] branch with
-
Report result:
- List which branches and worktrees were removed
- If no cleanup was needed, report that
Important Notes
- Always run
git fetch --prunefirst to ensure accurate tracking - Remove worktrees before deleting branches that have them
- This only removes branches already deleted from remote — it's safe to run
- You can call multiple tools in a single message
- Do NOT use any tools besides Read, Glob, Grep, and Bash
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 First seen · 55 lines · 149 tokens per session scan A 51511358b126
clean-gone-agent is an agent published in the GitHub repository pau-vega/Devkit-AI (2 stars, last pushed 3mo ago), licensed MIT. It adds 149 tokens to every session and 483 once invoked, about $0.0006 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-31.
clean-gone-agent compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clean-gone-agentpau-vega/Devkit-AI | Agent | 2 | 3mo ago | MIT | A | 149 | Claude Code |
| git-historiansigistry/marketplace | Agent | 3 | 2d ago | MIT | A | 0 | Claude Code |
| semver-advisorsigistry/marketplace | Agent | 3 | 2d ago | MIT | A | 0 | Claude Code |
| conflict-resolversigistry/marketplace | Agent | 3 | 2d ago | MIT | A | 0 | Claude Code |
| catchup-runneroliver-kriska/claude-elixir-phoenix | Agent | 578 | 3d ago | MIT | A | 63 | Claude Code |
| gcp-cloud-architectandisab/swe-marketplace | Agent | 23 | 2d ago | MIT | A | 47 | Claude Code |
| research-report-writerandisab/swe-marketplace | Agent | 23 | 2d ago | MIT | A | 210 | Claude Code |