leo-atienza/atlas-claude/session-search
Claude Code and agent skill by leo-atienza/atlas-claude
- community
Checking that the SKILL.md file is still in the repository.
For CLI agents WITHOUT subagent support (e.g., Codex CLI). Search previous code agent sessions for specific work, decisions, or code patterns.
Install
npx vskill@latest install leo-atienza/atlas-claude/session-searchSKILL.md
The same SKILL.md was published earlier as leo-atienza/atlas-claude/session-search.
If you are Claude Code: Do NOT use this skill directly. Use thesession-searchersubagent via the Task tool instead - it handles this moreefficiently without polluting your context.
session-search
Search and find previous code agent sessions (Claude-Code or Codex-CLI) for specific work, decisions, or code patterns.
Workflow
- Understand the query: Identify what the user is looking for (code patterns,
decisions, specific work, design direction)
- Search with aichat: Run
aichat search --json -n 10 "[query]"(use
-g "project" to filter by project)
- Parse results: Use
jqto extract fields from JSONL output (session_id,
project, created, snippet, file_path)
- Deep dive if needed: Read session files at
~/.claude/projects/*/[session-id].jsonl (max 3 files)
- Summarize: Return a focused summary with key findings and references
Run aichat search --help to see all options (date filters, branch filters, etc.) and JSONL field names.
Output Format
Return a concise summary containing:
- Key Findings: 2-3 bullet points answering the query
- Relevant Sessions: Session IDs and dates for reference
- Specific Content: Code snippets or quotes if directly relevant
Format as clean markdown, not raw JSON.
Example
Query: "Find sessions where we discussed authentication design"
Summary:
- Session abc123 (Dec 10): Discussed JWT vs session-based auth, decided on JWT
- Session def456 (Dec 8): Implemented refresh token rotation pattern
Constraints
- ALWAYS use
--jsonflag with aichat search (otherwise it spawns interactive UI) - NEVER return raw JSON output to the user - summarize and distill findings
- NEVER read more than 3 session files per query
- If no results found, suggest alternative search terms
- ONLY report information directly observed in files - never infer or extrapolate
Error Handling
If aichat search command fails or is not found, ask user to install:
Prerequisites:
- Node.js 16+ (for action menus)
- Rust/Cargo (for aichat-search)
If user doesn't have uv or cargo:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cctools/plugins/aichat/skills/session-search/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leo-atienza/atlas-claude/session-search)