routa: Skill for Claude Code

.claude/skills/issue-garbage-collector/SKILL.md

issue-garbage-collector is a skill for Claude Code from phodal/routa. It costs 46 tokens per session (1,879 once invoked), scanned A, original, MIT.

A two-stage cleanup tool for duplicate, outdated, or unchecked issue files in docs/issues/. It first uses a Python scanner, then sends only possible matches for deeper analysis with claude -p.

In plain words
What is it for?
Use it to find issue files that may be duplicates or stale, produce machine-readable results, run validation in CI, and review suspects through Harness.
Why use it?
It avoids expensive deep analysis of every issue and provides a separate review step before cleanup.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

This is phodal/routa's own configuration. It tells Claude Code how to work on routa itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything routa configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .github/scripts/issue-scanner.py.

About the project

Routa is a workspace-based coordination platform for delivering software with multiple AI agents, keeping goals, tasks, sessions, traces, evidence, and review decisions visible on a shared board. It is intended for teams managing agent-assisted development across web and desktop applications. The catalogue contains skills and instructions for working with Routa's delivery workflows.

phodal/routa · 1,810 stars · on GitHub · phodal.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to phodal/routa. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/phodal/routa/main/.claude/skills/issue-garbage-collector/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/phodal/routa

Made for: Claude Code.

Wrote 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.

agentmods badge for issue-garbage-collector

README.md
[![agentmods](https://agentmods.dev/badge/skills/phodal/routa/issue-garbage-collector/github.svg)](https://agentmods.dev/skills/phodal/routa/issue-garbage-collector)
Your own site
<a href="https://agentmods.dev/skills/phodal/routa/issue-garbage-collector"><img src="https://agentmods.dev/badge/skills/phodal/routa/issue-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.

agentmods 80×15 button for issue-garbage-collector

Your own site · 80×15
<a href="https://agentmods.dev/skills/phodal/routa/issue-garbage-collector"><img src="https://agentmods.dev/badge/skills/phodal/routa/issue-garbage-collector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,879 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Excessive Agency · line 106
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium Excessive Agency · line 156
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 205
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01879
Opus 5 $0.00023 $0.00940
Sonnet 5 $0.00009 $0.00376
Haiku 4.5 $0.00005 $0.00188

Measured 9d ago against content hash 701d6299495b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

issue-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 9d 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.

.claude/skills/issue-garbage-collector/SKILL.md · 228 lines

How it starts

The opening of the file, as written. The whole thing — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Quick Start

# Phase 1: Run Python scanner (fast, free)
python3 .github/scripts/issue-scanner.py

# Phase 1: Get suspects only (for Phase 2 input)
python3 .github/scripts/issue-scanner.py --suspects-only

# Phase 1: JSON output (for automation)
python3 .github/scripts/issue-scanner.py --json

# Phase 1: Validation check (CI integration, exit 1 if errors)
python3 .github/scripts/issue-scanner.py --check

Harness Integration

  • Repo-defined entry: docs/harness/automations.yml contains issue-gc-review
  • Harness surface: settings/harnessCleanup & Correction
  • Data source: the Harness automation view reads suspect data from python3 .github/scripts/issue-scanner.py --suspects-only
  • Intended usage: review pending duplicate / stale / open-check suspects in Harness first, then decide whether to run the cleanup workflow below

Two-Phase Strategy (Cost Optimization)

Problem: Running deep AI analysis on every issue is expensive.

Solution: Two-phase approach:

  1. Phase 1 (Fast/Free) — Python script for pattern matching
  2. Phase 2 (Deep/Expensive)claude -p only on suspects
┌─────────────────────────────────────────────────────────┐
│  All Issues (N files)                                   │
│  ┌───────────────────────────────────────────────────┐  │
│  │ Phase 1: Python Scanner (.github/scripts/issue-scanner.py)│ │
│  │ - Filename keyword extraction                     │  │
│  │ - YAML front-matter validation                    │  │
│  │ - Same area + keyword overlap detection           │  │
│  │ - Age-based staleness check                       │  │
│  │ → Output: Suspect list (M files, M << N)          │  │
│  └───────────────────────────────────────────────────┘  │
│                         ↓                               │
│  ┌───────────────────────────────────────────────────┐  │
│  │ Phase 2: Deep Analysis (claude -p, only M files)  │  │
│  │ - Content similarity                              │  │
│  │ - Semantic duplicate detection                    │  │
│  │ - Merge recommendations                           │  │
│  └───────────────────────────────────────────────────┘  │
└─────────────────────────────────────────────────────────┘

Read the full file on GitHub · 228 lines

Changes

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.

  1. 9d ago First seen · 228 lines · 46 tokens per session scan A 701d6299495b

Subscribe to this mod's changes

issue-garbage-collector is a skill published in the GitHub repository phodal/routa (1,810 stars, last pushed 26d ago), licensed MIT. It adds 46 tokens to every session and 1,879 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens