wiki-agent

Search and ingest topic-specific sessions from AI agent conversation histories into a wiki.

Updated Nov 9, 2023
One-click install
npx skills add https://github.com/oresttokovenko/dot-files --skill wiki-agent-oresttokovenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-agent
Source: https://github.com/oresttokovenko/dot-files/tree/main/chezmoi/dot_agents/skills/wiki-agent
Command: npx skills add https://github.com/oresttokovenko/dot-files --skill wiki-agent-oresttokovenko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When you work across multiple AI agents (Claude, Codex, Hermes, OpenClaw, Copilot, Pi), knowledge about how you solved a problem gets trapped in one agent's history. This Skill finds sessions about a specific topic in a chosen agent's raw history, distills them into wiki pages, and returns a synthesized answer you can use immediately in your current session. ## Core Features & Use Cases - Targeted Cross-Agent Search: Score and rank sessions by title match, project directory, and recency decay to find the 3-5 most relevant conversations without reading every file. - Per-Agent Extraction: Uses tailored parsing strategies for each agent's format (Claude JSONL, Codex rollouts, Hermes memories, OpenClaw MEMORY.md, Pi tree-structured sessions) to extract only query-relevant blobs. - Wiki Distillation: Writes or updates categorized wiki pages (skills, concepts, entities, synthesis) with frontmatter, cross-links, and source provenance, then updates the manifest, log, and hot files. - Use Case: You are working in Claude Code and remember solving an auth middleware bug in Codex last month. Run /wiki-codex "auth middleware" to pull that session's knowledge into your wiki and get an immediate synthesized answer. ## Quick Start Ask the agent to run /wiki-codex with the topic "how did I set up auth middleware" to search Codex history and return a synthesized answer.

Frequently Asked Questions about wiki-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search my Claude or Codex chat history for a specific topic?

Invoke the matching command such as /wiki-claude or /wiki-codex followed by your query in quotes. The skill scores sessions by title match, project directory, and recency, then extracts only the relevant conversation windows.

What is the difference between wiki-agent and wiki-history-ingest?

wiki-agent performs query-driven targeted ingest of sessions about one specific topic from one agent, returning an immediate synthesized answer. wiki-history-ingest bulk-ingests everything new without a query focus.

Which AI agents does wiki-agent support for history search?

It supports Claude Code, Codex CLI, Hermes, OpenClaw, Copilot, and Pi. Each agent has a default history path like ~/.claude or ~/.codex, overridable via environment variables in a .env file.

What happens if I run /wiki-codex without a search query?

Without a query, the skill defaults to recent sessions mode: it ingests the last 5 unprocessed sessions from that agent and returns a summary of what was found, similar to a focused bulk ingest.

Why does wiki-agent report no history found for an agent?

This happens when the agent's history root directory does not exist at the default path, meaning the agent has not been run on that machine. You can set a custom path using the agent's config variable in .env.