alive:mine-for-context

alive:mine-for-context is a skill for Claude Code, Codex from alivecontext/alive. It costs 63 tokens per session (2,253 once invoked), scanned A, original, MIT.

A source-reading and context-extraction workflow that turns documents, transcripts, and other raw material into organised knowledge. It can track what has been processed and identify people, subjects, patterns, and connections.

In plain words
What is it for?
Use it to deeply examine folders of transcripts, documents, or exports, answer what was missed, or find everything about a subject in your sources. It can also process files stored in a context bundle or loose files elsewhere.
Why use it?
Large collections of source material can contain useful details that are easy to miss or process twice. This workflow gives the reading a systematic structure and records its progress.

Skill for Claude CodeCodex

Part of the alive plugin — 17 skills, 5 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alivecontext/alive/mine-for-context
Any agent
npx skills add alivecontext/alive --skill mine-for-context
Clone the repo
git clone --depth 1 https://github.com/alivecontext/alive

Made for: Claude Code, Codex.

Or install alive, the plugin that ships this one along with the rest of its 17 skills, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for alive:mine-for-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivecontext/alive/mine-for-context.svg)](https://agentmods.dev/skills/alivecontext/alive/mine-for-context)
Your own site
<a href="https://agentmods.dev/skills/alivecontext/alive/mine-for-context"><img src="https://agentmods.dev/badge/skills/alivecontext/alive/mine-for-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00063 $0.02253
Opus 5 $0.00032 $0.01126
Sonnet 5 $0.00013 $0.00451
Haiku 4.5 $0.00006 $0.00225

Measured 4d ago against content hash d4b0d7852309, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

alive:mine-for-context scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/alive/skills/mine-for-context/SKILL.md · 226 lines

How it starts

The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mine

Deep extraction. Turn raw sources into structured context.

Not a quick search (that's find). Not session timeline (that's history). Mine is the heavy operation — reading source material systematically, extracting everything of value, and routing it into the world.


When It Fires

  • The human says "mine this", "extract from these", "what's buried in here"
  • alive:session-history escalates — "these sessions look rich, want to deep-mine them?"
  • The human points at a folder of transcripts, documents, or exports
  • A bundle has raw sources that haven't been fully processed
  • The human asks "what have I missed?" or "find everything about X in my sources"

What It Does

0. Pre-check: Source Location

Before mining, check whether the source file lives inside a bundle's raw/ folder:

  • In a bundle — proceed normally. Phase 4 tracking writes to that bundle's context.manifest.yaml discovered: field.
  • Loose file (inbox, walnut root, or anywhere without a manifest) — enter loose-mine mode. Mining still works, but tracking state writes to $WORLD_ROOT/.alive/_mining-log.json instead of a bundle manifest. This prevents duplicate work if the same file is mined again before being captured into a bundle.
// .alive/_mining-log.json — created on first loose mine
{
  "mined": [
    {
      "path": "03_Inbox/Will x Ben Standup.md",
      "mined_at": "2026-04-16T10:30:00Z",
      "items_extracted": 14,
      "routed_to": "alive-os"
    }
  ]
}

If the file appears in _mining-log.json already, warn: "This file was mined on {date} ({N} items extracted). Mine again or skip?"

1. Assess Source Material

Scan what's available. Don't read everything — just understand the landscape.

╭─ squirrel scanning sources
│
│  client-calls/raw/ — 12 transcripts (3 unprocessed)
│  research/raw/ — 8 documents (5 unprocessed)
│  .alive/_squirrels/ — 23 sessions (8 with rich stash, 4 unmined transcripts)
│
│  Total: 43 sources, 12 unprocessed, 4 unmined sessions
╰─

Read the full file on GitHub · 226 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 226 lines · 63 tokens per session scan A d4b0d7852309

Subscribe to this mod's changes

alive:mine-for-context is a skill published in the GitHub repository alivecontext/alive (127 stars, last pushed 9d ago), licensed MIT. It adds 63 tokens to every session and 2,253 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cco-overhead

Audit the fixed context overhead every session starts with — system prompt, MCP tools, agents, CLAUDE.md, memory — measured from real transcript usage.

egorfedorov/claude-context-optimizer · 34 tokens

handoff

Create a session briefing for the next session — auto-loaded, then archived. Use when the user is wrapping up a session, says "save this for next time", "hand off", "brief the next session", or wants to ensure continuity before stopping work.

edimuj/claude-mneme · 55 tokens

forget

Remove entries from remembered items. Use when the user wants to delete, remove, or clear a previously remembered item, or says "forget this", "remove that memory", or "clear my preferences".

edimuj/claude-mneme · 42 tokens

recall

Inject filtered context from previous sessions. Use when the user says "recall", "what happened last session", "what did we work on", "inject previous context", or when you need context from a prior session to continue work. Also useful mid-session when the user references prior work you don't have context for.

edimuj/claude-mneme · 66 tokens

remember

Save something to memory for future sessions. Use when the user says "remember this", "save for later", "don't forget", or wants to persist any preference, fact, lesson, or note across sessions.

edimuj/claude-mneme · 44 tokens

status

Check plugin health and diagnose issues. Use when the user asks about mneme health, memory status, plugin errors, wants to troubleshoot memory issues, or sees error warnings at session start.

edimuj/claude-mneme · 39 tokens