skills/session-search/SKILL.md
Search across pi session JSONL logs (user prompts, tool calls, results). Uses the session-digest tool and ripgrep for fast triage.
npx skillsauth add mikeyobrien/rho session-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search historical pi sessions stored under ~/.pi/agent/sessions/.
This skill assumes the session-digest helper exists at ~/bin/session-digest.
On this Termux setup, sessions are typically stored in:
~/.pi/agent/sessions/--data-data-com.termux-files-home--/*.jsonlIf you are unsure which directory is active, list the session roots:
ls -la ~/.pi/agent/sessions
session-digest parses session JSONL into readable markdown and writes files to:
~/.rho/digests/YYYY-MM-DD.md# last 7 days
session-digest --week >/dev/null
# or a single date
session-digest 2026-02-04 >/dev/null
# or all history (can be slow)
session-digest --all >/dev/null
rg -n "<query>" ~/.rho/digests
Notes:
session-digest also flags potential secrets.session-digest reports secrets, do NOT paste results into public logs.Search the raw session logs directly:
SESSION_ROOT=~/.pi/agent/sessions/--data-data-com.termux-files-home--
rg -n --hidden "<query>" "$SESSION_ROOT"/*.jsonl
Useful variants:
# show a little context around matches
rg -n -C 2 "<query>" "$SESSION_ROOT"/*.jsonl
# case-insensitive
rg -n -i "<query>" "$SESSION_ROOT"/*.jsonl
rg -n '"type":"toolCall"' ... | rg '"name":"vault_search"'rg -n '"role":"user"' ... | rg "<phrase>"rg -n "projects/rho" ...session-digest to confirm no secrets are present.data-ai
Install and configure Rho from scratch (Doom-style init.toml + sync). Only prereq: a coding agent that can run shell commands.
documentation
Detect and resolve orphaned notes in the vault. Use during heartbeat maintenance or when vault status shows orphans. Finds notes with no inbound wikilinks and either connects them to the graph or flags them for cleanup.
testing
Update the pi-coding-agent npm package to the latest version. Use when the user wants to update pi, upgrade pi, or get the latest version of the coding agent.
development
Run a curiosity-driven explore-and-build loop to ship one useful improvement.