alive-mine

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

A nightly process that reads recent coding-session transcripts and collects explicit decisions, tasks, people updates, insights, and quotes.

In plain words
What is it for?
Scanning recent session records, skipping already processed or very short sessions, marking completed transcripts, and saving findings to a stash file.
Why use it?
It prevents useful context from being lost after sessions while keeping extracted items for human approval instead of routing them automatically.

Skill for Claude CodeCodex

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/alive-mine
Any agent
npx skills add alivecontext/alive --skill alive-mine
Clone the repo
git clone --depth 1 https://github.com/alivecontext/alive

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivecontext/alive/alive-mine.svg)](https://agentmods.dev/skills/alivecontext/alive/alive-mine)
Your own site
<a href="https://agentmods.dev/skills/alivecontext/alive/alive-mine"><img src="https://agentmods.dev/badge/skills/alivecontext/alive/alive-mine.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 377 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.00019 $0.00377
Opus 5 $0.00010 $0.00188
Sonnet 5 $0.00004 $0.00075
Haiku 4.5 $0.00002 $0.00038

Measured 5d ago against content hash 322504f33c90, 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 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 5d 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.

hermes/cron-templates/alive-mine/SKILL.md · 59 lines

What it actually says

Nightly Mine

Scan recent session transcripts for unmined context.

Process

  1. Find session transcripts from the last 24 hours:
find "$ALIVE_WORLD_ROOT/.alive/_squirrels" -name "*.yaml" -mtime -1 2>/dev/null
  1. For each session entry:

    • Read the YAML for transcript: path
    • If transcript exists and hasn't been mined, read it
    • Extract: decisions, tasks, people context, insights, quotes
  2. Group extractions by destination walnut

  3. Write to .alive/stash.json with routing suggestions (don't route directly)

Output

Mined [N] sessions, extracted [M] items:
  [N] decisions
  [N] tasks
  [N] people updates
  [N] insights
  [N] quotes

Items added to stash for routing via alive-stash-router.

If nothing found: [SILENT]

Rules

  • Extract, don't route. Items go to stash for human approval.
  • Mark sessions as mined (touch a .mined flag file alongside the YAML)
  • Skip sessions that are already mined
  • Skip sessions shorter than 5 turns (likely trivial)
  • Be conservative -- only extract clear decisions and explicit tasks, not inferences
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. 5d ago First seen · 59 lines · 19 tokens per session scan A 322504f33c90

Subscribe to this mod's changes

alive-mine is a skill published in the GitHub repository alivecontext/alive (127 stars, last pushed 10d ago), licensed MIT. It adds 19 tokens to every session and 377 once invoked, about $0.0001 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.