ccf-paper-to-exemplar

Installation
SKILL.md

Paper-to-Exemplar

Preflight And Ownership

Apply ccf-humanization first, then ccf-common; reuse applicable active rules at handoffs. Both remain required. Handoff mode is PARTIAL, under Common's handoff rules.

Own reusable writing cards and requested library registration. Manuscript prose and one-time learning from a reference stay with ccf-paper-writer; do not make card extraction a prerequisite for ordinary writing. Visual reconstruction and scientific review retain their separate owners. Preserve attribution and the source's actual scientific meaning.

For files, use artifact-contracts.md. Reuse the existing card/source/cache and update in place; the new-task default is ccfa-workfiles/exemplars/<source-id>/. A no-new-files request can return the analysis in context. Reading or converting a paper does not authorize library registration or preference changes.

Workflow

  1. Identify the source/version, writing question and requested coverage: passage, section or whole paper. Reuse a matching completed analysis. An introduction paragraph needs its relevant context, not a forced full-paper audit; a full-paper request still requires reading coherent sections rather than extrapolating from the abstract.
  2. Read an existing original-text extraction directly. Only when PDF extraction is needed, run scripts/convert.py with explicit --output-dir, --full-text, and --full-text-dir in the chosen task directory. --section introduction or another selected function creates a scoped skeleton; repeat the option when useful. Omit it for the compatible whole-paper skeleton. The converter extracts text and creates unfinished cards; it does not perform the analysis. It preserves existing cards. pymupdf is needed only for PDF extraction.
  3. Check source locations and extraction quality. Inspect actual PDF pages when reading order, equations or figures affect interpretation. Use exemplar-style-analysis.md to recover the scientific subject, operations, sentence relationships and paragraph progression. Judge the passage itself; awards do not establish a writing technique.
  4. For a whole-paper card, retain all eight established sections: Story Pattern, Abstract Moves, Introduction Moves, Method Moves, Evidence Moves, Citation Patterns, Reusable Techniques and Do-Not-Copy Boundary. Read and anchor the relevant source throughout; evidence can be a proof, analysis, observation or experiment as the paper actually uses it. For passage/section coverage, write the relevant observed moves plus Reusable Techniques and Do-Not-Copy Boundary, omitting unexamined sections. Record the original source/version and page, section or paragraph anchors; distinguish observed writing from adaptation advice. Preserve source-grounded language observations without imposing sentence templates, paragraph counts or a corpus quota. Completed cards have no [ANALYZE] or [MANUAL] placeholders.
  5. Register only when requested, using scripts/personal_library.py. Project registration uses <project>/.ccfa/exemplars/library.json; explicit --scope user uses $CODEX_HOME/ccfa/exemplars/library.json or ~/.codex/ccfa/exemplars/library.json. Registration references the existing completed card and original source without copying the PDF. Preserve their stable paths. Built-in cards, index and default format are maintained as package resources, not personal data; change them only during an explicitly authorized family-maintenance task.
  6. When the user explicitly selects default exemplars, save the registered IDs with set-default in the requested project or personal scope. Preserve other defaults when no change is requested. A project without an explicit selection inherits personal defaults; a project selection overrides them. The existing built-in custom format can still be explicitly selected, without editing its installed file to store private preferences.
  7. Check the resulting source descriptions against the original passages. Return the canonical card and useful techniques; mention registration/default changes only if performed. Do not echo a full extraction or create a compulsory analysis report during drafting.
Installs
2.5K
GitHub Stars
4.5K
First Seen
Jun 10, 2026