From contour
Read extract-buffer.md, distribute signals to Domain State, surface thinking patterns and core candidates in report, then clear buffer. Must run in a NEW dedicated session.
How this skill is triggered — by the user, by Claude, or both
Slash command
/contour:syncThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Read `$AI_INFRA_DIR/extract-buffer.md`, distribute each signal to the appropriate target files, then clear the buffer.
Read $AI_INFRA_DIR/extract-buffer.md, distribute each signal to the appropriate target files, then clear the buffer.
Path configuration:
$AI_INFRA_DIRmust be set before use. This is the directory where all Contour data files are stored.
- Default recommended path:
~/.claude/contour/- Set via environment variable, or replace this placeholder with your absolute path.
Before executing, read the following reference files for format specifications:
references/domain-state-structure.md — Domain State table format and update rules| File | Term | Role | Access |
|---|---|---|---|
extract-buffer.md | Extract Buffer | Temporary buffer: read then clear | Read + Clear |
{user}-{domain}.md | Domain State | Current cognitive state for the domain | Read + Write |
{user}-core.md | Core Profile | Personality-level traits, thinking patterns, core preferences | Read only (never write) |
MVP scope: Single domain only. The routing principle below applies regardless: route signals by content domain, not by the
sourcefield (source indicates where the signal was captured, not its domain).Multi-domain support (additional Domain State file pairs) is a Phase 2 extension.
[core-candidate] in the sync report for the user to decide immediately.Before processing, verify the state of Extract Buffer:
Read the reference files listed above. Read Extract Buffer in full. Read Domain State in full. Read Core Profile in full (for deduplication and comparison only — never write to Core Profile).
For every signal in Extract Buffer, determine its type and execute the corresponding routing rule.
domain-state-structure.md, update the dateInclude in the sync report under "Thinking patterns observed" — do not write to any file.
Check Core Profile for relevance:
[core-candidate] in the sync report[core-candidate] in report with a contradiction noteDetermine scope:
[core-candidate] in the sync reportFor Domain State-targeted preferences, check for existing similar preferences in Domain State:
After all signals are processed:
mastered for more than 30 days with no further status changes can be removed from Domain StateAfter all signals have been distributed successfully, clear the content of Extract Buffer (keep the file, empty its content).
Sync complete ({date}):
- Processed: {n} signals from {m} extract blocks
- Domain State updated: {list of changes, or "no changes"}
- Thinking patterns observed: {list of summaries, or "none"}
- Core Profile candidates (your decision needed): {list, or "none"}
- Duplicates skipped: {number}
- Buffer cleared
For each [core-candidate] surfaced, ask the user directly:
"This pattern/preference isn't in your Core Profile yet: [{description}]. Add it? (yes / no / edit)"
If yes → instruct user to manually add to their{user}-core.md. Do not write it yourself.
After reporting, remind the user:
This session is now complete. Do not run
/contour:extractin this session — the sync conversation would produce echo signals.
Deduplication is semantic, not lexical. Two entries refer to the same thing if:
When in doubt, keep both entries — false deduplication (losing a real signal) is worse than mild redundancy (which can be cleaned up manually).
Content_Creator still goes to the coder domain files.npx claudepluginhub alexu0317-father/contour --plugin contourExtracts uncaptured knowledge (decisions, feedback, context) from the current conversation before it's lost to compaction. Use after completing a task, before switching context, or before large exploratory work.
Captures conversational knowledge to Second Brain on 'remember this', 'save this', or 'brain dump' triggers. Journals verbatim quotes, classifies epistemic types, and updates structured markdown files.
Persists learnings into a 5-layer memory hierarchy (CLAUDE.md files, memory/MEMORY.md) and consolidates by pruning outdated entries and promoting recurring patterns. Triggers on 'extract learnings', 'remember', 'dream'.