For CLI agents WITHOUT subagent support (e.g., Codex CLI). Search previous code agent sessions for specific work, decisions, or code patterns.
If you are Claude Code: Do NOT use this skill directly. Use the
session-searchersubagent via the Task tool instead - it handles this more efficiently without polluting your context.
Search and find previous code agent sessions (Claude-Code or Codex-CLI) for specific work, decisions, or code patterns.
aichat search --json -n 10 "[query]" (use
-g "project" to filter by project)jq to extract fields from JSONL output (session_id,
project, created, snippet, file_path)~/.claude/projects/*/[session-id].jsonl (max 3 files)Run aichat search --help to see all options (date filters, branch filters, etc.)
and JSONL field names.
Return a concise summary containing:
Format as clean markdown, not raw JSON.
Query: "Find sessions where we discussed authentication design"
aichat search --json -n 10 "authentication design"
Summary:
--json flag with aichat search (otherwise it spawns interactive UI)If aichat search command fails or is not found, ask user to install:
uv tool install claude-code-tools # Python package
cargo install aichat-search # Rust search TUI
Prerequisites:
If user doesn't have uv or cargo:
curl -LsSf https://astral.sh/uv/install.sh | sh # uv
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # Rust
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer