ratchet-reduce
БесплатноБез исполняемых скриптовНе проверенExtract structured claims from source documents into graph concepts. Adapted from JP's 6R REDUCE phase.
от FDU-INS★ 84 звезды на GitHubОб этом скилле
Ratchet REDUCE — Exhaustive Claim Extraction
Extract every distinct claim from a source document and add to the A2 graph.
Invocation
/ratchet-reduce [file_path] # extract from specific file
/ratchet-reduce inbox # process all unprocessed source docs
/ratchet-reduce --entropy-first # process lowest-entropy docs first
EXECUTE NOW Steps
- Read source fully. If >2500 lines, chunk into 350-1200 line segments.
- Source entropy check: Score 1-5 (1=formal spec, 5=raw braindump). If ≥4, quarantine — do NOT extract yet.
- Hunt for extractable claims by category:
- DEFINITION: "X is Y" / "X means Y"
- CONSTRAINT: "X must/shall/cannot Y"
- RELATIONSHIP: "X depends on/enables/contradicts Y"
- ASSERTION: "X causes/implies/requires Y"
- PATTERN: "When X, do Y" / "The pattern is..."
- Duplicate check: For each candidate, check if already in A2 graph:
- MATCHED → skip
- PARTIAL → flag for enrichment
- MISSING → extract as new concept
- CONTRADICTS → add CONTRADICTS edge
- Classify each claim: OPEN (needs investigation) or CLOSED (standalone, ready)
- Present findings — report by category with counts
- Extract — create concept nodes with:
name: IS the claim (test: "this concept argues that [name]")description: 1-2 sentences, adds info beyond nametags: [source_type, domain_area]trust_zone: A2_3_INTAKE initiallysource_doc: path to origin
- Create SOURCE_MAP edges from concept to source document
Quality Gates
INVALID skip reasons (these are BUGS):
- "validates existing approach"
- "already captured"
- "obvious"
- "near-duplicate" (without checking for enrichment)
Expected yields:
| Source Size | Expected Outputs |
|---|---|
| ~100 lines | 5-10 claims |
| ~350 lines | 15-30 claims |
| ~1000+ lines | 40-70 claims |
Zero extraction from a domain-relevant source is a BUG.
Entropy Scoring Reference
| Score | Source Type | Action |
|---|---|---|
| 1 | Formal spec, schema, contract | Extract first (highest priority) |
| 2 | Structured doc with definitions | Extract second |
| 3 | Mixed structure + prose | Extract with moderate selectivity |
| 4 | Chat log, informal notes | QUARANTINE — process after 1-3 complete |
| 5 | Raw braindump, stream of consciousness | QUARANTINE — last priority |
Pipeline Chaining
After REDUCE → /ratchet-reflect [created concepts] to weave into graph.
Установить ratchet-reduce в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ratchet-reduce?
Extract structured claims from source documents into graph concepts. Adapted from JP's 6R REDUCE phase.
Как установить скилл ratchet-reduce?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ratchet-reduce запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic