session-query

Query previous session files to retrieve context, decisions, and code changes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/taskylizard/agents --skill session-query-taskylizard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-query
Source: https://github.com/taskylizard/agents/tree/main/skills/session-query
Command: npx skills add https://github.com/taskylizard/agents --skill session-query-taskylizard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows you to efficiently search and retrieve information from previous AI sessions, preventing the need to manually sift through logs or recall past decisions.

Core Features & Use Cases

  • Context Retrieval: Access decisions, code changes, and other critical details from past conversations.
  • Session Handoff Support: Automatically invoked in handed-off sessions to provide necessary context from parent sessions.
  • Use Case: When working on a complex feature, you can use this skill to quickly find out what approach was decided upon in a previous session without having to re-read the entire conversation history.

Quick Start

Use the session_query tool to find out what files were modified in the session at /path/to/session.jsonl.

Frequently Asked Questions about session-query

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

FAQPage Schema
How do I search past AI session history for specific context and decisions?

To search past AI session history, query previous session files using a targeted retrieval tool with a specified session path and question to extract decisions, context, and code changes.

What is the best way to retrieve code changes from a previous session file?

The best way to retrieve code changes from a previous session file is to apply a session query tool, passing the session path and a specific question to extract targeted historical data.

How does querying a parent session work for context retrieval in a handed-off session?

Querying a parent session works by automatically invoking a retrieval tool against the parent's session path to provide necessary historical context and decisions to the newly handed-off session.

Can I look up what files were modified in a specific session without reading the entire history?

Yes, you can look up modified files by querying the session path with a targeted question, retrieving specific code changes without manually reading the entire conversation history.