pi-logs

Installation
SKILL.md

pi-logs

Query pi agent session logs using Nushell's structured data pipeline.

Quick Start

# Load and view recent sessions
ls ~/.pi/agent/sessions/ | get name | first 5

# Query a specific session log
open ~/.pi/agent/sessions/<project-path>/<session-file>.jsonl --raw | lines | each { from json } | first 10

# Find all bash commands run
open-jsonl session.jsonl | where type == "message" | where message.role == "assistant"

Log Structure

Related skills
Installs
3
Repository
knoopx/pi
GitHub Stars
47
First Seen
Apr 18, 2026