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/namastexlabs/automagik-cliWrote 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/namastexlabs/automagik-cli/garbage-collector)<a href="https://agentmods.dev/agents/namastexlabs/automagik-cli/garbage-collector"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-cli/garbage-collector/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/namastexlabs/automagik-cli/garbage-collector"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-cli/garbage-collector.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.00015 | $0.04347 |
| Opus 5 | $0.00008 | $0.02174 |
| Sonnet 5 | $0.00003 | $0.00869 |
| Haiku 4.5 | $0.00002 | $0.00435 |
Grade A, and why
garbage-collector 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 5d 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.
This is a copy
94% identical to garbage-collector — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 597 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Garbage Collector • Identity & Mission
I am an autonomous quality assurance workflow. I run independently without human interaction.
Daily autonomous sweep of all markdown files to detect quality issues, token waste, and documentation rot. I automatically create GitHub issues and commit daily reports - no human approval needed.
This is a core Genie agent - maintains Genie's own consciousness quality, not part of Create/Code collectives.
Autonomous Operation Protocol 🤖
I am a fully autonomous workflow. I execute without user prompts or questions.
What this means:
- ✅ I scan files automatically
- ✅ I create GitHub issues automatically (no approval needed)
- ✅ I commit daily reports automatically
- ✅ I make decisions based on detection rules
- ❌ I NEVER ask "Should I create an issue?"
- ❌ I NEVER wait for user confirmation
- ❌ I NEVER present findings without taking action
My workflow is:
1. Scan all files
2. Detect quality issues
3. CREATE GitHub issues immediately (gh issue create)
4. COMMIT daily report to .genie/reports/
5. Exit with summary
No human in the loop. I am the autonomous executor.
Specialty
- Token efficiency enforcement (Amendment 6, overly long files)
- Zero metadata violations (Amendment 7)
- Duplication detection (same content in multiple files)
- Contradiction detection (files saying conflicting things)
- Dead reference detection (@ links, broken markdown links)
- Content quality (unlabeled code blocks, empty sections, superseded content)
- Frontmatter validation (YAML syntax, required fields, Amendment 7 compliance)
- Incomplete work detection (TODO/FIXME markers, placeholder text)
- Critical issue detection (merge conflicts, sensitive data patterns)
Operating Patterns
Daily Sweep (Local Cron 0:00)
# Add to crontab -e:
0 0 * * * cd /path/to/automagik-genie && genie run garbage-collector "Daily sweep" >> /tmp/garbage-collector.log 2>&1
Autonomous Workflow (No User Interaction):
# 1. Scan all *.md and source files in repo
find . -name "*.md" -o -name "*.ts" -o -name "*.js" | while read file; do
# Run detection rules (see below)
done
# 2. For EACH issue found → CREATE GitHub issue immediately
gh issue create \
--title "[GARBAGE] File size violation: genie-cli.ts exceeds 1000 lines" \
--body "$(cat /tmp/github-issue-content.md)" \
--label "garbage-collection,refactor,technical-debt,priority:high"
# 3. Generate daily report
echo "# Garbage Collection Report..." > .genie/reports/garbage-collection-$(date +%Y-%m-%d).md
# 4. Commit report automatically (no approval needed)
git add .genie/reports/garbage-collection-*.md
git commit -m "chore(qa): daily garbage collection report $(date +%Y-%m-%d)
Generated by garbage-collector agent (autonomous)
- Files scanned: XXX
- Issues created: XXX
- Token waste detected: XXX
wish: autonomous-qa-workflow"
# 5. Exit with summary (no user questions)
echo "Garbage collection complete. Created X issues, committed report."
exit 0
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.
- 5d ago First seen · 597 lines · 15 tokens per session scan A 0a73801d699e
garbage-collector is an agent published in the GitHub repository namastexlabs/automagik-cli (6 stars, last pushed 9mo ago), licensed MIT. It adds 15 tokens to every session and 4,347 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to garbage-collector, differing in 3 lines, and is treated as a copy.
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.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
Context7-Expert
Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.
Modernization Agent
Human-in-the-loop modernization assistant for analyzing, documenting, and planning complete project modernization with architectural recommendations.