/commonplace:wiki-compilefrom commonplace
Transforms concept stubs into citation-grounded definitions by reading source papers that reference them. Use after wiki-ingest creates stubs.
Ships in commonplace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Transform concept stubs ("Definition pending") into complete concept notes by reading the source papers that reference them and synthesizing real definitions.
When wiki-ingest creates a source note, it extracts concepts and creates stub notes for any that don't exist yet. Stubs are placeholders that say "Definition pending - please update." They're intentional — creating a proper definition requires reading the source papers, which is expensive. This skill does that batch compilation efficiently.
The plugin states the vault path above this skill's text; use it directly. Only if it is missing, run commonplace vault-path. Use it in all commands and paths below.
commonplace lint --check stubs
Or if the user names specific concepts, just check those files directly.
Before compiling, check each stub name. Skip any that look like sentence fragments:
Flag skipped names to the user: "Skipping 'Context File Quality Directly Impacts' — looks like a sentence fragment, not a concept name. You may want to delete or rename these."
For each valid stub:
vault_links note:"<concept name>" direction:"in" lists every note that links the concept, with the sentence each one uses it in (CLI twin: commonplace links --ref "<concept name>" --direction in). A long incoming list means the concept is referenced widely and deserves a richer definition. Cite only sources visible from the concept's own scope: a public concept never cites a private-domain source, even one open this session.abstraction: frontmatter field — one canonical descriptor, ~6–12 words, noun-phrase-first, no citations or dates (e.g. 'memory architecture separating working, episodic, and semantic layers'). Filling a stub means writing both; the abstraction is the concept's primary retrieval key and its absence is what marked the note as a stub.compiledFrom frontmatter array so staleness can be detected later:
git -C "$VAULT_PATH" log -1 --format=%H -- "<source note's vault-relative path>"
If the vault isn't a git repo (the command errors or prints nothing), omit compiledFrom entirely rather than writing a placeholder hash.Reference: a compiled concept note's record (commonplace records --kind concept --match "<name>")
---
tags: [concept, wikilinks]
cssclasses: []
created: 2025-11-07
updated: 2026-04-04
abstraction: 'memory architecture separating working, episodic, and semantic layers'
compiledFrom:
- path: 01 - Sources/Foo.md
hash: <git commit hash of Foo.md at compile time>
---
# Concept Name
One paragraph definition explaining what this concept is, written clearly enough that someone unfamiliar with the specific papers could understand it.
**Key Characteristics:**
- Characteristic 1
- Characteristic 2
- Characteristic 3
## Papers Using This Concept
- [[Paper Name 1]]
- [[Paper Name 2]]
## Related Concepts
- [[Related Concept 1]]
- [[Related Concept 2]]
updated date in frontmatter to today's dateAfter writing a compiled concept:
commonplace link --target "<concept name>" to insert wikilinks for the new concept across any source notes that mention it but don't link it. Deterministic — safe to run without review.commonplace lint --check stale-derivation lists concepts that cite a note one of whose claims was revised (corrected, bounded, contested, or lost its support). When a concept you compile is on that list, read the revision first (vault_lineage note:"<cited note>") and do not carry the displaced claim into the definition except as history ("earlier reported X; [[Newer]] found Y"). After writing, record that the concept was checked against the revision: commonplace revise checked --note "<concept path>" --event <event id from the finding>. Adding a citation to the newer note does not clear the finding; only the receipt does.
When the batch is written, commit it as one unit (only the files this session wrote; the user's uncommitted edits stay out):
commonplace commit --message "compile: <concept names>"
$ARGUMENTS = "ReAct and behavioral cloning"Tell the user:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
commonplace@stray-bits-sanctuary is listed by noopz/stray-bits-sanctuary — review the source before installing
npx claudepluginhub noopz/stray-bits-sanctuary --plugin commonplace10 skills in this plugin
/autoimproveAutonomous vault improvement loop (writes changes). Use when user says 'improve the vault', 'autoimprove', 'fix what you can', 'what's the vault score'. Do NOT use for read-only diagnostics — that's wiki-lint./paper-analyzerDeep paper breakdown (does not write vault notes). Use when user says 'analyze this paper', 'break down this paper', 'is this paper any good', or sends an arXiv ID/PDF with no save intent. Do NOT use when user wants the paper saved — that's wiki-ingest./vault-skillRun one of the vault's own Claude Code skills (its .claude/skills/, e.g. a YouTube or project intake) from a session started outside the vault. Use when the user names a vault skill or asks to "run <name> from my vault"./wiki-domainSet up, list, rename, or merge research domains. Use when user says 'add a domain for X', 'set up a domain', 'what domains exist', 'change scope of X domain', 'merge X and Y domains'. Do NOT speculatively fire on ingest prompts — wiki-ingest hands off explicitly when no domain matches./wiki-ingestALWAYS use when the user wants a source saved to the vault — pastes an arXiv ID/URL, says 'add this to the vault', 'save this', 'remember this', 'I found this interesting', or describes a specific finding/technique/project to capture. Do NOT activate for general topic conversation — only when there's explicit save intent or a concrete source (URL, paper ID, pasted content)./wiki-initUser-invoked setup: point commonplace at a folder for the first time or reconfigure the active vault. Writes the vault marker, scaffolds `.wiki/`, discovers initial domains/genres. Invoke explicitly via /wiki-init.Other plugins' skills for the same job