Skip to content
ar9av avatar

Pi History Ingest

Structured ingestion of Pi coding-agent session logs into an Obsidian wiki, with incremental manifest tracking.

CCM score
67 of 100
skills.sh installs
1.2K
GitHub stars
3.8K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers delta detection for new and modified ~/.pi/agent/sessions JSONL files, following the active branch of each session tree
  • Includes extraction of user and assistant messages, compaction and branch_summary entries, and bashExecution commands, ranked by value
  • Enforces a privacy filter that strips API keys, tokens, and credentials, and keeps every wiki claim tied to a session entry citation
  • Designed for users who want durable knowledge mined from past Pi sessions rather than targeted topic recall, which belongs to wiki-agent

Install

$ npx -y skills add ar9av/obsidian-wiki --skill pi-history-ingest -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Pi History Ingest — Session Mining

You are extracting knowledge from the user's Pi coding agent sessions and distilling it into the Obsidian wiki. Pi sessions are stored as structured JSONL with a tree layout — your job is to follow the active branch, extract durable knowledge, and compile it.

Session knowledge closure: Pi session files are the only factual source for this skill. Do not add background knowledge from model training, other tools, package docs, local files, or the current conversation unless that fact appears in the selected session entries. If outside context seems useful, mark it as an open question or skip it — never present it as extracted session knowledge.

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

Before You Start

Details

Repository
github.com/ar9av/obsidian-wiki
Categories
Memory & Context, Technical Documentation, Productivity & Notes
First seen
Jul 14, 2026

Questions

What does the pi-history-ingest skill do?

It ingests Pi coding agent session history from ~/.pi/agent/sessions into the Obsidian wiki as distilled knowledge. It follows the active branch of each session file, extracts durable knowledge, and compiles it into the vault.

How do I install the pi-history-ingest skill?

Run npx -y skills add ar9av/obsidian-wiki --skill pi-history-ingest -y in your project. After installing, the agent can mine your Pi sessions when you ask it to process your Pi history or add your Pi sessions to the wiki.

Which skills lead pi-history-ingest in the Memory & Context category?

It sits in the Memory & Context category on Claude Marketplaces, alongside handoff and the caveman skills. Its own focus is importing Pi session logs, which those other skills do not cover.

Does pi-history-ingest need a configured Obsidian vault?

Yes, it resolves OBSIDIAN_VAULT_PATH through the wiki config protocol, and PI_HISTORY_PATH defaults to ~/.pi/agent/sessions. It also reads the vault's .manifest.json and index.md to avoid re-ingesting sessions.

More from ar9av/obsidian-wiki

All 34

Similar to Pi History Ingest

More Memory & Context