Skip to content
Agentmart
Submit a tool

extract-context

Mine a transcript for durable personal context — facts about the speaker (location, role, projects, preferences, relationships, ongoing work) — and write them…

Skill by danielrosehill

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/danielrosehill-extract-context

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Mine a transcript for durable personal context — facts about the speaker (location, role, projects, preferences, relationships, ongoing work) — and write them to a context file for later reuse. De-duplicates against existing context so the same facts aren't re-extracted on every memo. Use when the user wants to build a knowledge base from voice memos, or asks to "pull out context from this".

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/extract-context

What's inside

Skill name
extract-context
Description
Mine a transcript for durable personal context — facts about the speaker (location, role, projects, preferences, relationships, ongoing work) — and write them to a context file for later reuse. De-duplicates against existing context so the same facts aren't re-extracted on every memo. Use when the user wants to build a knowledge base from voice memos, or asks to "pull out context from this".
License
MIT
Instructions
82 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Extract context from transcript

Read a transcript and pull out *durable* facts about the speaker — things that would be useful to know in future conversations or for downstream agents. Volatile content (today's plan, this week's tasks, transient frustrations) is **not** context — skip it.

## What counts as context

| Yes | No |
|---|---|
| "I live in Jerusalem" | "I'm running late today" |
| "I work for DSR Holdings" | "This morning I had coffee" |
| "My business email is daniel@dsrholdings.cloud" | "I just sent that email" |
| "I prefer tabs over spaces" | "I'm annoyed at this bug" |
| "I'm working on the Claude-Transcription-Plugin repo" | "I committed to that branch" |
| "My partner's name is …" | "She called me earlier" |

Rule of thumb: if the fact would still be true in a month, it's context. If it'll be stale by tomorrow, it's not.

## Output location

Default: `context/extracted-YYYY-MM-DD.md` alongside the transcript.

If a project-level context folder already exists upstream (e.g. the user is working inside a repo with `context/` already), write there instead.

## Output format

```markdown
# Context extracted from <source-transcript>
_Extracted 2026-04-28 from recording.structured.md_

## Identity
- Name: Daniel Rosehill
- Location: Jerusalem, Israel

## Work
- Runs DSR Holdings (dsrholdings.cloud)
- Currently building: Claude-Transcription-Plugin

## Preferences
- Prefers Train-Case for repo names
- Voice-types most input

## Open initiatives
- Sprint 2026-04 in Claude-Transcription-Plugin
```

Group by category (Identity / Work / Preferences / Relationships / Open initiatives / Other). Skip categories with no entries.

## De-duplication

Before writing, scan existing `context/extracted-*.md` files (and optionally `~/.claude/projects/-home-daniel/memory/` if asked). For each candidate fact:

1. **Already recorded, identical** → skip silently
2. **Already recorded, contradicting** → flag in output under `## Updates / contradictions` so the user can adjudicate (don't auto-overwrite)
3. **New** → include

The output file should only contain *new or contradicting* facts, not a full restatement of every known fact. This keeps each extraction lightweight and reviewable.

If nothing new was found, write a one-line stub:
```
_No new context extracted from <source>. All facts already on file._
```

## Optional: write to auto-memory

If the user has `~/.claude/projects/-home-daniel/memory/` (Daniel does), offer to also append durable facts there:

```
Found 3 new facts. Save to:
  [x] context/extracted-2026-04-28.md
  [ ] ~/.claude/projects/-home-daniel/memory/  (auto-memory, persists across sessions)
```

Default off — only write to memory when the user explicitly opts in. Auto-memory has its own structure (one fact per file, frontmatter, MEMORY.md index) and shouldn't be polluted casually.

## What not to do

- Don't paraphrase or interpret. If the user said "I live in Jerusalem", record that, not "user is based in Israel"
- Don't extract from rhetorical/hypothetical statements ("if I lived in Tel Aviv" → not context)
- Don't extract third-party facts unless they're durable relationships ("my brother lives in London" → yes; "John from work said X" → no)
- Never write secrets / credentials to a context file even if the user mentions them in the transcript. Flag them and ask separately.

From danielrosehill/Claude-Transcription-Plugin, MIT.

More from danielrosehill/Claude-Transcription-Plugin

Signals

Stars
1
Forks
2
Open issues
0
Last commit (this folder)
Apr 28, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from danielrosehill

Cite this page

extract-context skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-extract-context (last updated 2026-10-24)