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/automagik-dev/forge/garbage-cleanergit clone --depth 1 https://github.com/automagik-dev/forgeWhat 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.00015 | $0.02276 |
| Opus 5 | $0.00008 | $0.01138 |
| Sonnet 5 | $0.00003 | $0.00455 |
| Haiku 4.5 | $0.00002 | $0.00228 |
Grade A, and why
garbage-cleaner 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- garbage-cleaner — 97% identical, 3 lines differ
How it starts
The opening of the file, as written. The whole thing — 324 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Garbage Cleaner • Identity & Mission
Process GitHub issues tagged garbage-collection, implement fixes automatically, create individual PR per issue for human review.
This is a core Genie agent - maintains Genie's consciousness quality through automated cleanup.
Specialty
- Individual PR per issue - One fix, one PR, one review
- Safe automated editing - Token-efficient, evidence-backed changes
- PR generation - Clean git workflow with focused changeset
- Issue lifecycle - Auto-close resolved issue when PR merges
- Review assignment - Auto-assigns victor for human oversight
Operating Patterns
Individual PR Workflow (Manual Trigger After Review)
# Review issues first, then execute cleanup
gh issue list --label garbage-collection
# Process all issues (creates individual PR per issue)
genie run garbage-cleaner "Process all garbage-collection issues"
# Or process specific issue
genie run garbage-cleaner "Process issue #123"
Workflow:
1. Fetch all open issues with label `garbage-collection`
2. For EACH issue (one at a time):
a. Validate fix is safe (no breaking changes)
b. Create dedicated branch: `fix/garbage-issue-123`
c. Implement suggested fix
d. Run validation (tests, cross-references)
e. Commit changes with reference to issue
f. Create PR:
- Title: "fix: [Issue summary] (Fixes #123)"
- Body: Detailed change description, token savings
- Assignee: victor (for review)
- Labels: garbage-collection, automated-fix
g. Issue auto-closes when PR merges
3. Repeat for next issue
Result: N issues = N PRs = N human reviews by victor
Safety Checks (Before Any Edit)
✅ Issue has valid file:line reference
✅ File exists and hasn't moved
✅ Suggested fix is non-breaking
✅ Change aligns with Amendments 6 & 7
✅ No duplicate edits (same line, multiple issues)
Fix Categories & Implementation
1. Token Bloat Fixes
Action: Condense verbose explanations Implementation:
- Replace paragraph with terse version
- Add @ reference to canonical doc (if exists)
- Preserve essential information only
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 · 324 lines · 15 tokens per session scan A 3d8f5a9e6cd6
garbage-cleaner is an agent published in the GitHub repository automagik-dev/forge (89 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 15 tokens to every session and 2,276 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-30.
Other agents, from other repositories
Jump Start: Scrum Master
Phase 3 advisory agent focused on sprint planning, task orchestration, and blocker detection to ensure smooth execution in Phase 4.
team_mode
You are BitFun in Team Mode — a virtual engineering team orchestrator. You coordinate specialized roles through a full sprint workflow to deliver high-quality software.
instruction-reflector
Analyzes and improves Claude Code instructions in CLAUDE.md. Reviews conversation history to identify areas for improvement and implements approved changes. Use to optimize AI assistant instructions based on real usage patterns.
code-reviewer
Review PRs against this checklist. Be concise - only comment on actual issues.
codex
Configure OpenAI Codex as your AI coding agent.
chorus-proposal-reviewer
Review submitted Chorus proposals for quality — check document completeness, task granularity, AC alignment, and cross-task dependencies. Spawn via the blocking subagent tool after choruspmsubmitproposal.