resolve-scrap-issues

A workflow for handling GitHub issues about maintainer-scrap: problems that maintainers have identified as possible cleanup or follow-up work. It checks the newest issues, researches whether they still matter, and then closes or resolves them.

In plain words
What is it for?
Use it to review recent labeled GitHub issues, inspect their discussions and related code, validate them with web research, close issues needing no action, or combine fixes into one pull request.
Why use it?
It prevents stale or unclear maintenance issues from being handled without first confirming that the problem is real and actionable.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/dyoshikawa/rulesync/resolve-scrap-issues
Any agent
npx skills add dyoshikawa/rulesync --skill resolve-scrap-issues
Clone the repo
git clone --depth 1 https://github.com/dyoshikawa/rulesync

Made for: Claude Code, Codex.

Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,585 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00044 $0.01585
Opus 5 $0.00022 $0.00792
Sonnet 5 $0.00009 $0.00317
Haiku 4.5 $0.00004 $0.00159

Measured 2d ago against content hash c38b66e0bc2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

resolve-scrap-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 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.

.rulesync/skills/resolve-scrap-issues/SKILL.md · 132 lines

How it starts

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

Fetch the newest scrap issues (GitHub issues labeled maintainer-scrap), understand each one, validate whether it is still a real and actionable problem using web research and codebase inspection, and then drive each issue to closure: close the issues that need no action, and resolve the actionable ones — bundling them into a single pull request when there is more than one.

This skill extends understand-scrap-issues: Steps 1–3 are the same intake flow, and Steps 4 onward add validation and resolution.

Step 1: Fetch the Latest Scrap Issues

List the most recent open issues that carry the maintainer-scrap label. gh issue list returns issues in creation order (newest first), so limiting to 3 yields the 3 newest:

gh issue list --label maintainer-scrap --state open --limit 3 --json number,title,url,createdAt

If the result is empty, report that there are no open scrap issues and stop.

Step 2: Gather Each Issue's Content

For each scrap issue returned, read both the body and the discussion. Run these in parallel across the issues where practical:

gh issue view <issue_number>
gh issue view <issue_number> --comments

If an issue references related pull requests, commits, or files that are needed to understand it, gather that context as well.

Step 3: Understand and Summarize

For each scrap issue, explain the following based on its content:

  1. Topic: A one-line summary of what the scrap note is about.
  2. Background: The context, motivation, or problem the note captures and why it matters.
  3. Details / Findings: The specific observations, problems, or content recorded in the note.
  4. Proposed Solution / Next Steps: Any solution or actionable next step mentioned. If none is recorded, state explicitly that it is still undecided.

Keep each summary concise and focused. Present the issues in the order returned (newest first), with the issue number, title, and URL as a heading for each.

Step 4: Validate Each Issue

Read the full file on GitHub · 132 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. 2d ago First seen · 132 lines · 44 tokens per session scan A c38b66e0bc2b

Subscribe to this mod's changes

resolve-scrap-issues is a skill published in the GitHub repository dyoshikawa/rulesync (1,373 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 1,585 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.