codex-history-ingest
Skill by Ar9av
Ingests Codex CLI session history from ~/.codex into an Obsidian wiki as distilled knowledge. Built for users who want to mine past Codex sessions into reusable notes.
Install codex-history-ingest
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Ar9av/obsidian-wiki /tmp/obsidian-wiki && mkdir -p ~/.claude/skills && cp -r /tmp/obsidian-wiki/.skills/codex-history-ingest ~/.claude/skills/codex-history-ingestRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Ar9av/obsidian-wiki /tmp/obsidian-wiki && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/obsidian-wiki/.skills/codex-history-ingest ~/.gemini/antigravity-cli/skills/codex-history-ingestAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install codex-history-ingest in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Codex History Ingest reads Codex CLI session data stored under ~/.codex and distills it into an Obsidian wiki. It works from the session index, rollout JSONL files and the optional history.jsonl, and skips SQLite internals unless asked. Session logs are treated as noisy, so the skill focuses on durable knowledge rather than telemetry.
New and modified files are found by comparing against a manifest, with an append mode for regular syncs and a full mode for re-ingests. Extracted knowledge is grouped by topic and routed into project, concept, skill, entity and synthesis pages, with provenance markers and a privacy filter that removes secrets. It is aimed at users who want to import or mine their Codex history into Obsidian. For targeted topic-only recall, the source points to the wiki-agent skill instead.
Written from the project's SKILL.md and checked against it.
What it can do
- Survey and deltaClassifies Codex history files as new, modified or unchanged against the manifest.
- Session index parsingBuilds a session inventory from session_index.jsonl with thread names and timestamps.
- Rollout parsingExtracts user intent and assistant outputs from rollout JSONL files, skipping telemetry.
- Topic clusteringGroups knowledge by topic across sessions instead of creating one page per session.
- Wiki distillationWrites distilled pages into project, concept, skill, entity and synthesis folders.
- Manifest and memory updatesUpdates the manifest and wiki memory files through the obsidian-wiki memory sync command.
- QMD refreshRefreshes the QMD search index after vault writes when QMD is configured.
What you need
- Obsidian vault
- Codex CLI session history in ~/.codex
- llm-wiki skill configuration (OBSIDIAN_VAULT_PATH)
- obsidian-wiki CLI
Try asking
- Ingest my new Codex sessions into my Obsidian wiki.
- Run a full re-ingest of my ~/.codex history.
- Mine my Codex rollout files for reusable debugging patterns.
Good to know
- Skips SQLite runtime databases unless the user asks.
- Archived sessions are ingested only if the user asks.
- Raw transcripts are summarized and secrets are redacted, not quoted.
- Topic-only recall is handled by the separate wiki-agent skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .skills/codex-history-ingest/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to codex-history-ingest
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
codex-history-ingest: common questions
Does it create one wiki page per session?
No. The source says to group sessions by stable topics and split mixed sessions into separate themes.
Which Codex files does it read?
It reads session_index.jsonl, sessions rollout-*.jsonl files and history.jsonl if enabled. Archived sessions are optional and only processed if the user asks.
How does it handle sensitive data?
It removes API keys, tokens, passwords and credentials, and does not ingest verbatim system or developer prompts.
How do I install codex-history-ingest?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is codex-history-ingest free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is codex-history-ingest safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to codex-history-ingest?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
