.claude/skills/extract/SKILL.md
Extract memory-worthy context from the current conversation session
npx skillsauth add dcurlewis/ai-context-system .claude/skills/extractInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Extract facts, decisions, and context changes from the current conversation that are worth persisting to memory.
Conversations produce context that would otherwise be lost when the session ends. This command reviews the current conversation and writes a structured extraction file to be picked up by the normal memory pipeline.
This is a lightweight triage tool, not a comprehensive summary. The goal is to capture the 3-10 items from a conversation that would change or add to the memory files, not to document everything discussed.
Run this at the end of a substantive conversation, particularly when:
Do NOT run this after:
When running in Claude Desktop with project context, the memory files (memory-index.md, memory-context.md, memory-work.md, memory-people.md, about-me.md, reference.md) are already loaded as project documents. Use the in-context versions rather than reading them from disk.
File writes (Step 4) still require filesystem tools regardless of environment.
Scan the full conversation history in this session. Identify candidate items across three categories:
Facts & status changes (maps to memory-work.md or memory-context.md):
People & dynamics (maps to memory-people.md):
Strategic & organisational (maps to memory-context.md):
For each candidate item, apply these filters:
Novelty: Is this genuinely new, or does it restate what's already in the memory files? Read memory-index.md to check current priorities and last update date. If an item merely confirms existing memory content without adding new detail, discard it.
Durability: Will this still matter in 1-2 weeks? Transient frustrations, speculative ideas that weren't committed to, or in-the-moment reactions generally don't qualify.
Actionability: Does this change what you or your teams should do, or how the memory files should represent the current state? If it doesn't change anything, it's not worth extracting.
Attribution: Is the source of this information clear? Extractions should note whether context came from the user directly, from a document discussed, from analysis during the conversation, etc. The memory pipeline needs to know the provenance.
Not already captured: If the conversation produced an artefact that will enter the pipeline independently (a meeting summary, a processed document, a Slack digest), don't duplicate those facts here. Only extract items that would otherwise be lost.
Before writing anything, present the extracted items grouped by memory file mapping:
Proposed extractions from this session:
**memory-work.md**:
- [Item 1]
- [Item 2]
**memory-people.md**:
- [Item 3]
**memory-context.md**:
- [Item 4]
**Discarded** (didn't pass filters):
- [Item 5] — reason: already in memory
- [Item 6] — reason: speculative, no commitment made
Ask the user to confirm, remove, or add items. This step is mandatory; do not skip it.
After the user confirms, write the extraction to:
Raw-Materials/Session-Extracts/YYYYMMDD-session-extract.md
If multiple extractions happen on the same day, append a sequence suffix: YYYYMMDD-session-extract-2.md.
Create the Raw-Materials/Session-Extracts/ directory if it does not exist.
Use this format:
---
kind: session-extract
authorship: ai-assisted
date: YYYY-MM-DD
session_context: [Brief 1-line description of what the conversation was about]
---
# Session Extract — YYYY-MM-DD
## Context
[1-2 sentences describing the conversation topic and why these items were extracted.]
## Extractions
### memory-work.md
- **[Bold topic]**: [Concise factual statement of what changed or was decided]
- **[Bold topic]**: [Another item]
### memory-people.md
- **[Bold topic]**: [Concise factual statement]
### memory-context.md
- **[Bold topic]**: [Concise factual statement]
Omit any section heading that has no items beneath it.
Session extracts land in Raw-Materials/Session-Extracts/ and are picked up by /memory-scan during the next memory update cycle. They are treated as a source file like any other raw material.
Raw-Materials/Session-Extracts/YYYYMMDD-session-extract.md/memory-scan rundevelopment
Add article/book to Professional Philosophies library
business
Process a Slack export from Raw-Materials/Slack queue
tools
Fetch Slack messages via MCP tools and write raw exports for /slack processing
data-ai
Interactive end-of-day reflection; surfaces carryover items for next /morning; appends to daily journal