Sweep All
Batch this plugin's discipline correctors into one pass (posture batch, run whole re-anchor bundle across every discipline at once); needs fork subagent…
от melodic-software★ 34 звезды на GitHub
Установить Sweep All в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Sweep all disciplines
A declared second species in this plugin: not a corrector. It carries no
discipline of its own; it is a pure router that composes the correctors into a
single batched re-anchor pass. The disciplines live in the correctors, the
shared method lives in
${CLAUDE_PLUGIN_ROOT}/context/re-anchor-audit-correct.md,
and membership + order live in each corrector's own tier metadata. This skill
names no members: it globs and reads them.
Two modes
- Session-start digest (cheap, default when nothing has happened yet). Derive the posture from the skill listing and each corrector's tier metadata. No corrector bodies load, no audit runs. Report which correctors are core (run every session), which are situational (relevance-gated), and which are never-batched. This is the conversation-start case: set posture, audit nothing.
- Full batch pass (mid-session, or on explicit request). Preflight that the fan-out can inherit this conversation (mandatory. See Preflight), then fan out an audit-only subagent per in-scope corrector and apply their corrections once, on the main thread, in a fixed order (below). A failed preflight degrades to mode 1 with the exact degrade token as the report's first line (see Preflight).
Resolving membership (never named inline)
Glob the sibling corrector directories and read each one's
metadata.discipline-batch (core / situational / never) and
metadata.discipline-batch-rank.
- core. In scope every session.
- situational. In scope only when relevant to this conversation. Route from the corrector's own listing description (its trigger phrases and "at conversation start on …" clause), not from a guess. Report which situational correctors were included and which were skipped and why. A skip is always reported, never silent.
- never. Excluded from the batch by execution or interaction class
(correctors that need a non-fork fresh context or stop to remediate with
the user). Membership is whichever correctors declare
discipline-batch: never. Report that they exist (from the glob) and are invoked directly, not batched.
A batched member never runs its fan-out tier. A corrector that carries a
subagent fan-out tier behind an argument or trigger (do-your-research,
recheck-against-upstream) runs only its inline audit inside an audit fork,
and its ledger recommends a direct fan-out run where one would fit. The fork
brief says so (step 1 of the batched pass), and each such corrector states the
same rule in its own body.
The userConfig override (see Configuration below) applies after tier resolution and can change the resolved set; report the net effect when it does.
Preflight: prove the fan-out can inherit (before step 1)
The batched pass is only meaningful if its subagents actually inherit this conversation, and its step 4 writes their remedies to the working tree. Establish inheritance before dispatching, never by assuming it. Read reference/inheritance-preflight.md now, before the first dispatch of a full-batch pass: it owns the three stages, the canary, the fail-closed verify, the degrade path when inheritance cannot be proved, and what is gated on the result. Session-start digest mode never runs the preflight and never reads that file.
The batched pass, a declared delta from the shared loop
Read reference/batched-pass.md once the preflight has proved inheritance, and before beginning step 1: it owns the five steps, the declared delta from the shared loop's correct-forward-now step, the per-member ledger contract, the root-cause dedup, the rank-ordered single correction pass, and the consolidated report. Do not begin step 1 from the preflight's output alone. Session-start digest mode never reaches it.
Before step 2, resolve the verification level once with
bash "${CLAUDE_PLUGIN_ROOT}/lib/read-verification.sh" --plugin discipline --skill sweep-all --file docs/conventions/discipline.yaml and
report its line (levels).
It governs step 2's fresh-context confirmations of clean ledgers and step 4's fresh-context
escalation: light and off skip both subagents as the shared method doc says, and the fork audit
is unaffected.
Member human-gates survive batching
The batch never converts a member's human gate into an autonomous action.
The shared method's outward-artifact carve-out (no PR, issue, or published
comment without explicit opt-in) holds, as do follow-our-standards'
upstream-divergence routing (draft and route, do not file),
pick-for-the-problem's incumbent-replacement decisions, and
recheck-against-upstream's undocumented-divergence calls. The batch
surfaces these for the user; it does not resolve them unasked.
Configuration
The ov
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- reference/batched-pass.md
- reference/inheritance-preflight.md
FAQ
Что делает скилл Sweep All?
Batch this plugin's discipline correctors into one pass (posture batch, run whole re-anchor bundle across every discipline at once); needs fork subagent (subagent_type: fork), else (conversation start) sets posture digest, audits nothing. Use when 'sweep all disciplines', 'ground ourselves', 're-anchor everything', posture before we start.
Как установить скилл Sweep All?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Sweep All запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…