Tooluck logoTooluck
SKILL.md

pi-history-ingest

Agent skill fromAr9av/obsidian-wiki

Ingest Pi coding-agent session history into Obsidian as distilled knowledge. Use for importing or mining ~/.pi/agent/sessions or Pi conversation logs; use wiki-agent for targeted topic-only recall.

How to install pi-history-ingest

install pi-history-ingest
# install the obsidian-wiki pack with the skills CLI
npx skills add Ar9av/obsidian-wiki

# or add only this skill to Claude Code: copy the folder

skills/pi-history-ingest/

# into

~/.claude/skills/pi-history-ingest/ (all projects)

.claude/skills/pi-history-ingest/ (one project)

skills/pi-history-ingest/SKILL.md

MITFull file
1# Pi History Ingest — Session Mining
2
3You 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.
4
5**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.
6
7This skill can be invoked directly or via the `wiki-history-ingest` router (`/wiki-history-ingest pi`).
8
9## Before You Start
10
11**Writing profile:** Before drafting or rewriting natural-language Markdown, read and apply the `Writing Profile Resolution` section in `llm-wiki/SKILL.md`. Framework schema, provenance, safety, and operation-specific requirements take precedence.
12`WRITING.md` preferences apply only to newly drafted or rewritten natural-language Markdown; preserve source content and structured records.
13
141. **Resolve config** — follow the Config Resolution Protocol in `llm-wiki/SKILL.md` (inline `@name` override → walk up CWD for `.env` → global config → prompt setup). This gives `OBSIDIAN_VAULT_PATH` and `PI_HISTORY_PATH` (defaults to `~/.pi/agent/sessions`)
15…

Excerpt shown under the repository's MIT license.

More skills in obsidian-wiki

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates