Session Search
Searches previous command-line code agent session logs to find details of specific work.
The source repository doesn't declare a license. Check its terms before reusing the code.
Key features
- Filter and query results using command-line tools like jq.
- Access detailed usage instructions via the `--help` flag.
- Search previous code agent session history via the command line.
- Supports sessions from multiple code agents, including Claude-Code and Codex-CLI.
- Output search results in a machine-readable JSONL format.
Use cases
- Recalling a specific command or code snippet from a past coding session.
- Revisiting the solution to a problem solved in a previous interaction.
- Analyzing historical interaction logs for patterns or specific information.
FAQ
How does this skill improve my workflow?
It saves significant time by providing a fast, queryable way to find past work, eliminating the need to manually scroll through terminal history. It acts as a personal, searchable knowledge base of your AI coding sessions.
What does the Session Search skill do?
This skill provides a command-line tool to search your entire history of interactions with AI code agents like Claude-Code and Codex-CLI, helping you quickly find past commands, code, or conversations.
When should I use this skill?
Use Session Search when you need to recall a specific code snippet, command, or solution from a previous session but can't remember the exact details. It's perfect for retrieving lost context or reusing past work.
How do I get started with the Session Search command?
Use the `aichat search` command in your terminal. You must include the `--json` flag for machine-readable output. For a full list of options, run `aichat search --help`.
What are the key capabilities of Session Search?
It allows you to search CLI session history, outputs results in a machine-readable JSONL format for easy processing, and enables powerful filtering and querying with standard tools like `jq`.
Related skills
Feature Planning
Architects focused implementation plans for individual tasks by performing targeted research and defining clear project boundaries.
Developer Tools412 ptsCodebase Symbol Analysis
Enables token-efficient codebase navigation and analysis by loading and querying intelligent symbol graphs instead of full files.
Developer Tools12 pts