alive-history

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

A search tool for past coding-agent sessions and walnut logs. It can look through records by walnut, topic, person, or time period.

In plain words
What is it for?
Use it to find past work, decisions, notes, session summaries, stash items, or recent sessions related to a project or person.
Why use it?
It avoids relying on memory or opening many files when you need to recover an earlier decision or piece of context.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find past work, decisions, notes, session summaries, stash items, or recent sessions related to a project or person.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivecontext/alive/alive-history
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.

Any agent
npx skills add alivecontext/alive --skill alive-history
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-history

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivecontext/alive/alive-history/github.svg)](https://agentmods.dev/skills/alivecontext/alive/alive-history)
Your own site
<a href="https://agentmods.dev/skills/alivecontext/alive/alive-history"><img src="https://agentmods.dev/badge/skills/alivecontext/alive/alive-history/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for alive-history

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivecontext/alive/alive-history"><img src="https://agentmods.dev/badge/skills/alivecontext/alive/alive-history.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00025 $0.00557
Opus 5.5 $0.00010 $0.00223
Sonnet 5.5 $0.00005 $0.00111
Haiku 4.5 $0.00003 $0.00056

Measured 3mo ago against content hash 6f554dfaf367, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

alive-history 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 3mo 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/hermes-skills/alive-history/SKILL.md · 83 lines

What it actually says

Session History

Search squirrel entries and logs for past session context.

Sources

  1. Squirrel entries -- .alive/_squirrels/*.yaml (session metadata, stash, recovery state)
  2. Log entries -- _kernel/log.md (decisions, narrative, signed entries)
  3. Stash file -- .alive/stash.json (unrouted items from sessions)

If the user asks about a specific walnut:

# Read that walnut's log
cat "$ALIVE_WORLD_ROOT/[walnut_path]/_kernel/log.md"

# Find squirrel entries for that walnut
grep -l "[walnut_name]" "$ALIVE_WORLD_ROOT/.alive/_squirrels/"*.yaml 2>/dev/null

If the user asks about a topic or person:

# Search all logs
grep -rl "[query]" "$ALIVE_WORLD_ROOT"/*/_kernel/log.md "$ALIVE_WORLD_ROOT"/*/*/_kernel/log.md 2>/dev/null

# Search squirrel entries
grep -rl "[query]" "$ALIVE_WORLD_ROOT/.alive/_squirrels/"*.yaml 2>/dev/null

If the user asks about recent sessions:

# List recent squirrel entries by date
ls -lt "$ALIVE_WORLD_ROOT/.alive/_squirrels/"*.yaml 2>/dev/null | head -10

Display

Recent sessions for [walnut/topic]:

[date] -- squirrel:[id] ([engine])
  Walnut: [name]
  Bundle: [bundle or none]
  Summary: [from log entry or recovery_state]
  Stash: [N] items ([routed/unrouted])

[date] -- squirrel:[id] ([engine])
  ...

Load full log entry?
  1. [session id] -- [date]
  2. [session id] -- [date]
  3. Search for something else

Escalation

If the user needs deeper context extraction from session transcripts, suggest /alive-mine for heavy mining.

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. 3mo ago First seen · 83 lines · 25 tokens per session scan A 6f554dfaf367

Subscribe to this mod's changes

alive-history is a skill published in the GitHub repository alivecontext/alive (132 stars, last pushed 12d ago), licensed MIT. It adds 25 tokens to every session and 557 once invoked, about $0.0001 per session on Opus 5.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

alive-history compared with skills from other repositories

alive-history next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
alive-historyalivecontext/aliveSkill13212d agoMITA25Claude Code, Codex
doc-digestegorfedorov/claude-context-optimizerSkill1366d agoMITA75Claude Code
fresh-startegorfedorov/claude-context-optimizerSkill1366d agoMITA60Claude Code
token-checkegorfedorov/claude-context-optimizerSkill1366d agoMITA66Claude Code
project-contextegorfedorov/claude-context-optimizerSkill1366d agoMITA81Claude Code
brain-logtoroleapinc/claude-brainSkill955mo agoMITB10Claude Code
writing-handoffse4thvin/context-handoffSkill16mo agoMITA93Claude Code