claude-history-ingest

claude-history-ingest is a skill for Claude Code, Codex from saski/arnesto. It costs 107 tokens per session (3,722 once invoked), scanned B, original, Unlicense.

A tool for importing Claude Code conversation history into an Obsidian wiki. Claude Code is a coding assistant, and Obsidian is a note-taking app built around linked files.

In plain words
What is it for?
Use it to process new or changed files in the Claude folder, extract useful knowledge from coding sessions, and update the wiki's records and index.
Why use it?
It turns scattered past coding conversations into organised, reusable notes and avoids importing the same material repeatedly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit Use it to process new or changed files in the Claude folder, extract useful knowledge from coding sessions, and update the wiki's records and index.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/claude-history-ingest
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 saski/arnesto --skill claude-history-ingest
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

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 claude-history-ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/claude-history-ingest/github.svg)](https://agentmods.dev/skills/saski/arnesto/claude-history-ingest)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/claude-history-ingest"><img src="https://agentmods.dev/badge/skills/saski/arnesto/claude-history-ingest/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 claude-history-ingest

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/claude-history-ingest"><img src="https://agentmods.dev/badge/skills/saski/arnesto/claude-history-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,722 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00107 $0.03722
Opus 5.5 $0.00043 $0.01489
Sonnet 5.5 $0.00021 $0.00744
Haiku 4.5 $0.00011 $0.00372

Measured 5d ago against content hash 514d60ecc23a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

claude-history-ingest scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

find ~/Library/Application\ Support/Claude/local-agent-mode-sessions -name "*.jsonl" -path "*/.claude/projects/*"
.agents/skills/claude-history-ingest/SKILL.md · 336 lines

How it starts

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

Claude History Ingest — Conversation Mining

You are extracting knowledge from the user's past Claude Code conversations and distilling it into the Obsidian wiki. Conversations are rich but messy — your job is to find the signal and compile it.

This skill can be invoked directly or via the wiki-history-ingest router (/wiki-history-ingest claude).

Before You Start

  1. Read .env to get OBSIDIAN_VAULT_PATH and CLAUDE_HISTORY_PATH (defaults to ~/.claude)
  2. Read .manifest.json at the vault root to check what's already been ingested
  3. Read index.md at the vault root to know what the wiki already contains

Ingest Modes

Append Mode (default)

Check .manifest.json for each source file (conversation JSONL, memory file). Only process:

  • Files not in the manifest (new conversations, new memory files, new projects)
  • Files whose modification time is newer than their ingested_at in the manifest

This is usually what you want — the user ran a few new sessions and wants to capture the delta.

Full Mode

Process everything regardless of manifest. Use after a wiki-rebuild or if the user explicitly asks.

Claude Code Data Layout

Claude Code stores data in two locations. Scan both.

Source 1: ~/.claude/ (CLI sessions)

~/.claude/
├── projects/                          # Per-project directories
│   ├── -Users-name-project-a/         # Path-derived name (slashes → dashes)
│   │   ├── <session-uuid>.jsonl       # Conversation data (JSONL)
│   │   └── memory/                    # Structured memories
│   │       ├── MEMORY.md              # Memory index
│   │       ├── user_*.md              # User profile memories
│   │       ├── feedback_*.md          # Workflow feedback memories
│   │       └── project_*.md           # Project context memories
│   ├── -Users-name-project-b/
│   │   └── ...
├── sessions/                          # Session metadata (JSON)
│   └── <pid>.json                     # {pid, sessionId, cwd, startedAt, kind, entrypoint}
├── history.jsonl                      # Global session history
├── tasks/                             # Subagent task data
├── plans/                             # Saved plans
└── settings.json

Read the full file on GitHub · 336 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +2 lines 514d60ecc23a
  2. 3mo ago First seen · 334 lines · 107 tokens per session scan B db3758b65c15

Subscribe to this mod's changes

claude-history-ingest is a skill published in the GitHub repository saski/arnesto (7 stars, last pushed 5d ago), licensed Unlicense. It adds 107 tokens to every session and 3,722 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

claude-history-ingest compared with skills from other repositories

claude-history-ingest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-history-ingestsaski/arnestoSkill75d agoUnlicenseB107Claude Code, Codex
git-ai-searchgit-ai-project/git-aiSkill3.0ktodayApache-2.0A13Claude Code
session-compaction-and-restoremvschwarz/openrigSkill9.0ktodayApache-2.0B88Claude Code
brain-ingestmindmuxai/brain.mdSkill72818d agoApache-2.0A48Claude Code, Codex
immuneMathews-Tom/armorySkill3467d agoMITA73Claude Code
usage-auditMathews-Tom/armorySkill3467d agoMITA69Claude Code
atlas-absorbwlsdks/ontology-atlasSkill173todayMITA45Claude Code