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 skills add nirecom/agents --skill sweep-issuesgit clone --depth 1 https://github.com/nirecom/agentsWrote 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/skills/nirecom/agents/sweep-issues)<a href="https://agentmods.dev/skills/nirecom/agents/sweep-issues"><img src="https://agentmods.dev/badge/skills/nirecom/agents/sweep-issues/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/skills/nirecom/agents/sweep-issues"><img src="https://agentmods.dev/badge/skills/nirecom/agents/sweep-issues.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.00032 | $0.01132 |
| Opus 5.5 | $0.00013 | $0.00453 |
| Sonnet 5.5 | $0.00006 | $0.00226 |
| Haiku 4.5 | $0.00003 | $0.00113 |
Grade A, and why
sweep-issues 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 11d 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 — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sweeps the open-issue backlog.
- tier 1 — meta parents whose sub-issues are all closed. Closed on every run.
- tier 2 — issues whose referenced repository paths all no longer exist. Listed on every run; closed only under
--deep, one at a time with the user's approval.
The user types at most --deep and --dry-run. Passes 2 and 3 are this skill's own calls (SI-5, SI-7) — the user never supplies a TSV path.
Procedure
Read rules/github-issues.md before SI-1 — on-demand-only, never auto-injected; it owns the close paths, the status:migrated / status:cancelled labels, and meta-parent handling.
SI-1. Run bash "$AGENTS_MAIN_ROOT/bin/sweep-issues.sh" forwarding the user's other flags verbatim (pass 1).
SI-2. Print stdout verbatim. Do not summarize or filter.
SI-3. Stop here when the output carries no <<<TIER2-GATE-SI3 block.
SI-4. With the block: use AskUserQuestion to separate false positives (artifact not built yet) from real staleness.
Write the survivors to ${WORKFLOW_PLANS_DIR:-$HOME/.workflow-plans}/<session-id>-sweep-issues-survivors.tsv.
Columns: number / tokens_csv / class. Copy columns 1-2 from the gate template rows.
class ∈ resolved | refactored-away | duplicate | obsolete | partial.
SI-5. Re-run with --verify-candidates <survivors.tsv> --deep (pass 2) and print every EVIDENCE- line verbatim.
SI-6. Present the <<<TIER2-GATE-SI5 candidates plus their evidence in one batched AskUserQuestion.
Write only the approved rows to <session-id>-sweep-issues-decisions.tsv.
Columns: number / action / arg / rationale. arg is the surviving issue for migrated, else -.
SI-7. Emit <<WORKFLOW_ISSUE_CLOSE_VERIFIED: sweep-issues batch triage>>, re-run with --decisions <decisions.tsv> --deep (pass 3), then emit <<WORKFLOW_ISSUE_CLOSE_VERIFIED_END: sweep-issues batch triage done>>.
Report every PARTIAL: line verbatim.
Rules
- Applies by default;
--dry-runsuppresses tier-1 closes too. --deepnever changes the write mode, and never widens the candidate set — SI-2 scans identically with and without it. It decides only whether the tier-2 candidates reach the human gate or are dropped after being listed.--verify-candidates/--decisionsare this skill's protocol with the script, not user flags. Never surface them in a suggestion to the user; never expect the user to pass one.- Pass
--deepon every tier-2 call (SI-5 and SI-7); omitting it exits 2. - The flagless run is non-interactive. Never place
AskUserQuestionon the default path. - Pair
--deepwith a small band (e.g.--band-size 20) — SI-5 runs real tests and large bands do not finish in usable time. - pass-1 scans every band by default; the loop runs in the script, not here. pass-2/3 have no band concept.
--deepaggregates all-bands candidates into one gate block; total candidates scale linearly with open-issue count. To bound the gate size, use--max-bands N, not--band-size.- Under
--dry-run, SI-5 reports the test it would run instead of running it; running a repository script is an effect. - A pass-1 run exits non-zero when any sub-step failed. Treat a non-zero exit as "this band was not swept", never as "nothing to do".
--repomust name the working tree's own repository; pass--repo-root DIRwhen sweeping a repository checked out elsewhere, or the run aborts.- Close only through the existing helpers. Never call
gh issue closedirectly. - The judgement axis table's SSOT is the header of
bin/sweep-issues/close-batch.sh; it is not restated here. - SI-5 evidence never rests on the issue body's own claims.
- Write both intermediate TSVs outside the repo, under
${WORKFLOW_PLANS_DIR}— in-repo writes are blocked byenforce-worktree.js. - After a run that closed several tier-1 children of one parent, recommend
/issue-reconcile:parent-body-update.shcan lose an update between concurrent closes. - This skill sets no
context: fork, unlike its sweep siblings, because its human gates need the parent conversation.
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.
- 11d ago Changed 9743b093b881
- 17d ago Changed f1e1a5cd84c4
- 27d ago Changed · +2 lines a0ad2b184b2d
- 1mo ago First seen · 50 lines · 32 tokens per session scan A 3a7249b2d34c
sweep-issues is a skill published in the GitHub repository nirecom/agents (3 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 1,132 once invoked, about $0.0001 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.
Other skills, from other repositories
story-readiness
Checks whether a story is ready to implement: clear acceptance criteria, no open questions, valid ADR and dependencies. Use when the user asks if a story, or the sprint's stories, are ready to start or build.
recipe-create-meet-space
Create a Google Meet meeting space and share the join link.
workthreads
SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…
atmos-config
Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.
projects
List all managed projects with status, branch, open PRs, and open issue counts — portfolio-level view.
qa-project-bootstrap
Onboard a new QA engineer to an existing codebase, or audit an existing test architecture. Produces a 30-day ramp plan: codebase orientation, framework walkthrough, test architecture audit, mentorship pairing, and first-test guidance. Use when: "QA onboarding," "new tester," "ramp up," "test architecture audit,"…