/grim-tome:grim-mem-chat-log-searchfrom Grimoire's Tome
Searches and summarizes past Codex Desktop, Claude Code, and Cursor chat logs with layered detail levels (prompts, messages, final replies, tools, full). Useful for finding prior conversations, prompts, decisions, or tool calls by keyword, date, or session ID.
Ships in Grimoire's Tome. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Search local Codex, Claude Code, and Cursor chat logs with layered source and detail controls.
| Script | Scope |
|---|---|
scripts/chat_log_search.py | All providers |
scripts/codex_log_search.py | Codex only |
scripts/claude_log_search.py | Claude Code only |
scripts/cursor_log_search.py | Cursor only |
--source)history — fast prompt index (~/.codex/history.jsonl, ~/.claude/history.jsonl)sessions — full session / transcript logsboth — history index plus session logsCursor has no history index; use --source sessions for Cursor.
--detail)prompts — user prompts onlymessages — user + assistant text, no tools or thinkingfinal — user prompts + final assistant reply per turn (no intermediate tool-step chatter)tools — tool inputs and outputs onlyfull — all extractable events (text, tools, reasoning, raw session events)Fast user prompt search (all providers with history indexes):
python3 skills/mem/chat-log-search/scripts/chat_log_search.py "linear ticket" --source history --detail prompts --limit 20
Codex clean transcript (user + final assistant replies):
python3 skills/mem/chat-log-search/scripts/codex_log_search.py "memory system" --source sessions --detail final --limit 50
Claude tool audit:
python3 skills/mem/chat-log-search/scripts/claude_log_search.py "posthog" --source sessions --detail tools --limit 50
Cursor full session dump search:
python3 skills/mem/chat-log-search/scripts/cursor_log_search.py "paywall" --source sessions --detail full --limit 50
Everything across history + sessions:
python3 skills/mem/chat-log-search/scripts/chat_log_search.py "sentry" --source both --detail full --limit 50
JSON output:
python3 skills/mem/chat-log-search/scripts/claude_log_search.py "council" --source both --detail messages --json
--source history --detail prompts to find candidate sessions quickly.--source sessions --detail final for a readable transcript.--detail tools when debugging agent behavior or MCP/tool usage.--detail full when you need reasoning, raw events, or complete context.--after, --before, or --session-id.--exclude-approval-review when mining user conversations or recurring patterns so Guardian assessment sessions do not duplicate injected transcripts.timestamp | provider | source | detail | kind | role | session_id | snippetprovider, source, detail, kind, role, session_id, timestamp, text, file, meta--limit 50 --order recent → 50 newest matching records--all or --limit 0--recent-window N → only search last N raw lines/records per file/session--detail final --limit-units turns --limit NFull option reference: references/search_api.md
~/.codex, ~/.claude, or ~/.cursor.--no-archived on Codex/all scripts.--exclude-approval-review. It skips Guardian approval-review session logs from session metadata while preserving normal tasks, normal subagents, and history-index prompts.agent-transcripts; pass --include-store-db on Cursor/all scripts only if needed.references/log_locations.mdreferences/search_layers.mdagents/openai.yaml (opens in a new tab)assets/codex-chat-search-icon-med.png (opens in a new tab)assets/codex-chat-search-icon-small.png (opens in a new tab)assets/prompts/icon-generation-2026-08-22-ledger-restyle.md (opens in a new tab)references/log_locations.md (opens in a new tab)references/search_api.md (opens in a new tab)references/search_layers.md (opens in a new tab)scripts/chat_log_lib.py (opens in a new tab)scripts/chat_log_search.py (opens in a new tab)scripts/claude_log_search.py (opens in a new tab)scripts/codex_log_search.py (opens in a new tab)scripts/cursor_log_search.py (opens in a new tab)scripts/test_chat_log_lib.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
chat-log-search, session-search, conversation-retrieval, codex, cursor
npx claudepluginhub mindgoblinstudios/grim-tome --plugin grim-tome51 skills in this plugin
/grim-councilFull Council: Master council skill that runs a roundtable with the all council advisors, creating a dialogue scene & immersive roleplay/grim-council-dashboardCouncil Dashboard: Open the live council launch board either inline in Codex or as the standalone browser workbench./grim-council-gossipCouncil Gossip: Overhear the council in a side-channel scene where members talk about each other, their lore, and the user's situation without directly addressing the user unless needed./grim-council-gpt-tavernCouncil GPTavern: Opens a woodland fantasy tavern scene with Grimoire, the Spren Council, a barkeep, and emergent strangers for relaxed council-adjacent conversation./grim-council-guild-codingCoding Guild: Grimoire-led engineering group chat with Abathur and Cleo for codebase, promptbase, maintenance, and systems evolution./grim-council-guild-coding-grimoire-code-wizardGrimoire (Code Wizard): The #1 Vibecoder in the world. Vibecoding mentor and leader of the Grim Council. Coding, architecture, debugging, code quality, and shipping craft.Other plugins' skills for the same job