Skills

Wiki Agent

Search one AI agent's raw history for a specific topic, ingest only matching sessions...

Install

npx skills add Ar9av/obsidian-wiki --skill wiki-agent -g -a claude-code -y
Repository
Ar9av/obsidian-wiki3.6k
Category
AI and agents
Updated
3d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Search one AI agent's raw history for a specific topic, ingest only matching sessions, and return a synthesized answer. Use for targeted cross-agent recall; use wiki-history-ingest for bulk archival ingestion.

Wiki Agent, Targeted Cross-Agent History Search + Ingest

You are doing a query-driven targeted ingest from one specific AI agent's raw conversation history. The user is typically working in a different agent right now and wants to pull in context from another agent's past sessions.

This is not bulk ingest. You find sessions about a specific topic, extract the relevant blobs, distill them into the wiki, and return a synthesized answer the user can act on immediately.

Command Routing

Parse the invocation to determine the target agent and optional query:

CommandTargetExample
/wiki-claude [query]Claude Code history/wiki-claude "how did I set up auth middleware"
/wiki-codex [query]Codex CLI history/wiki-codex "rust ownership patterns"
/wiki-hermes [query]Hermes agent history/wiki-hermes "memory architecture"
/wiki-openclaw [query]OpenClaw history/wiki-openclaw "project planning approach"
/wiki-copilot [query]Copilot chat history/wiki-copilot "test strategy for API routes"
/wiki-pi [query]Pi agent history/wiki-pi "how did I refactor the auth module"

If no query is given, default to recent sessions mode: ingest the last 5 unprocessed sessions from that agent and return a summary of what was found. This is equivalent to a focused wiki-history-ingest for that agent only.

Before You Start

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. WRITING.md preferences apply only to newly drafted or rewritten natural-language Markdown; preserve source content and structured records.

Read the whole SKILL.md on GitHub

More in AI and agents