Session query

From Dicklesworthstone/pi_agent_rust · View interactive version

Session query is an AI agent skill from the GitHub repository Dicklesworthstone/pi_agent_rust. Query previous pi sessions to retrieve context, decisions, code changes, or other information. Use when you need to look up what happened in a parent session or any other session file.

How to use this skill

Skill file

Session Query

Query pi session files to retrieve context from past conversations.

This skill is automatically invoked in handed-off sessions when you need to look up details from the parent session.

Usage

Use the session_query tool:

session_query(sessionPath, question)

Examples

session_query("/path/to/session.jsonl", "What files were modified?")
session_query("/path/to/session.jsonl", "What approach was chosen for authentication?")
session_query("/path/to/session.jsonl", "Summarize the key decisions made")

The tool loads the session and uses an LLM to answer your question based on its contents. Ask specific questions for best results.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.