issue-sweep-batch

issue-sweep-batch is a skill for Claude Code from ArcBlock/agent-skills. It costs 60 tokens per session (3,939 once invoked), scanned A, original, MIT.

A workflow that groups unassigned open GitHub issues into proposed epics based on related work and affected file paths. An epic is a larger piece of work made up of several related issues.

In plain words
What is it for?
Use it to find related issues, form new epic issues, link the candidates to them, and record the grouping in a ledger.
Why use it?
It helps organize a backlog of unclaimed issues without assigning work, merging changes, or altering existing epic membership.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentloop plugin — 19 skills shipped together

Good fit Use it to find related issues, form new epic issues, link the candidates to them, and record the grouping in a ledger.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arcblock/agent-skills/issue-sweep-batch
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.

Any agent
npx skills add ArcBlock/agent-skills --skill issue-sweep-batch
Clone the repo
git clone --depth 1 https://github.com/ArcBlock/agent-skills

Made for: Claude Code.

Or install agentloop, the plugin that ships this one along with the rest of its 19 skills.

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-sweep-batch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arcblock/agent-skills/issue-sweep-batch"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/issue-sweep-batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,939 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.
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.00060 $0.03939
Opus 5.5 $0.00024 $0.01576
Sonnet 5.5 $0.00012 $0.00788
Haiku 4.5 $0.00006 $0.00394

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

Security

Grade A, and why

issue-sweep-batch 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.

The scan reads SKILL.md. This mod also ships 24 executable files (scripts/classify.test.ts, scripts/classify.ts, scripts/fixtures/all-zero.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/agentloop/skills/issue-sweep-batch/SKILL.md · 255 lines

How it starts

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

issue-sweep-batch — 把 epic 的形成做成一步

Repo profile — 先读 .claude/repo-profile.md。 本 skill 与仓库无关; arc 是参考实现。repo_slug、label 集合、树的划分都从 profile 取,别硬编码。

它在哪一层

issue-sweep          逐条处理「人回复了的」issue          per-issue triage
issue-sweep-batch    把一堆无人认领的 issue 聚成可派 epic  ← 本 skill
epic-conductor       把一个已定义的 epic 推到合并          per-epic execution

/agentloop:issue-sweep 的候选集主动排除 epic-managed / epic:<n>——它明确不管 已归 epic 的东西。/agentloop:epic-conductor 的 Step 1 是 Decompose——它假设 epic 已存在。 中间这层此前没有 skill 负责。

只产出 epic,不碰任何既有机制

  • 不派工、不合并、不修改既有 epic 的成员、不动任何 issue 的状态标签
  • 唯一的写操作是:建新 epic issue + 给候选挂 epic:<新号> + 写 ledger
  • 因此它是纯增量的:不跑它,工厂的行为和今天完全一样

它其实是全局分类器,epic 只是一种输出

真正在做的事是:给存量里每一条工作项确定它属于哪一类、在那类的哪一簇, 并知道这个结论什么时候失效。 epic 是「一簇 bug 且路径面不相交」时的产物,不是全部。

分类轴按类型不同(不可混用)

类型 轴 聚簇判据
bug defectLayer 这几条能不能被同一个修复方向覆盖?
feature / idea capabilityArea 这几条会不会被同一次设计决定一起决定掉?
research openQuestion 这几条会不会被同一次调查一起回答?
symptom openQuestion 这几条会不会被同一次诊断一起回答?
untyped 无轴 必须先定类型,不能硬分

When classifying a symptom, or when an item has no type label, read reference/symptom.md.

三种模式

--types bug,untyped      # work-object 默认(导入无 keywords → untyped);`--types bug` 仍只扫 bug
--mode new               # 只处理**从未分类**的 —— 反复归类没动的东西是纯浪费
--mode revalidate        # 只重验**已分类**的 —— 世界变了之后旧结论还成立吗
--mode all               # 两者(默认)

When running --mode revalidate, or when a classification can expire because a neighbor changed, read reference/invalidation.md.

工厂健康

页面顶部与 CLI 首行:🔴 ACTION REQUIRED / 🟡 DEGRADED / 🟢 HEALTHY。硬 detector 在 health.ts,assess 合成至多三条解释。agent 读 --json,不读截图。 门槛住在 health.ts 的 T。When changing them, read reference/health.md.

可视化:--html

bun .../sweep-batch.ts --dry-run --html sweep.html && open sweep.html

Read the full file on GitHub · 255 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 Changed · -4 lines ad67bf3a9dd3
  2. 20d ago Changed · -259 lines · -103 tokens per session b8a4c41eb98b
  3. 1mo ago Changed · +9 lines 407fca198df2
  4. 1mo ago First seen · 509 lines · 163 tokens per session scan A 5ed7479f447e

Subscribe to this mod's changes

issue-sweep-batch is a skill published in the GitHub repository ArcBlock/agent-skills (5 stars, last pushed 9d ago), licensed MIT. It adds 60 tokens to every session and 3,939 once invoked, about $0.0002 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-09-04.