wiki-foldlisted
Install: claude install-skill nathanaday/claude-atlas
# Extractive log fold
Create an additive rollup of raw `wiki/log.md` entries in the knowledge base.
Never modify, move, or delete child entries or their pages. Do not fold a
fold, and do not trigger a fold automatically. The skill runs in a knowledge
base session.
## Select a bounded range
Use batch exponent `k` with size `2^k`; default to `k=4`. An explicit entry
range may override it. If fewer entries exist than requested, report the
shortfall and stop rather than folding a partial batch.
Read the selected log entries completely. Read referenced child pages only when
the log lacks enough context: target 0-10 reads, hard ceiling 15. A missing page
stays an explicit `page_missing` record.
Derive the structural id only from inputs:
```text
fold-k{K}-from-{EARLIEST-DATE}-to-{LATEST-DATE}-n{COUNT}
```
If `wiki/folds/{FOLD_ID}.md` already exists, return a no-op. Replacing it needs
an explicit request and a `replace` write the user reviews.
## Draft extractively
Follow [fold-template.md](references/fold-template.md). Every child log entry
has one deterministic `child_key` in frontmatter and exactly one matching row in
the Child Entries table. Do not deduplicate children by page; the final Child
Pages list may be deduplicated.
Every outcome names its source entry. Every number is verifiable in the selected
entry. A cross-entry theme names at least two contributing entries. Prefer
"ambiguous in source" or "source missing" to invention. When a child page and a
log entry dis