Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 81
  • 3.8k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install codex-history-ingest in Claude Code

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

A

No 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 →

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.

codex-history-ingest Install

Add to stack

Loading.