一键导入
session-search
Search across pi session JSONL logs (user prompts, tool calls, results). Uses the session-digest tool and ripgrep for fast triage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search across pi session JSONL logs (user prompts, tool calls, results). Uses the session-digest tool and ripgrep for fast triage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Install and configure Rho from scratch (Doom-style init.toml + sync). Only prereq: a coding agent that can run shell commands.
Extract durable learnings and preferences from conversations for automatic memory capture.
Consolidate brain memory and mine user sessions since the last consolidation checkpoint (sleep-cycle style). Use to reduce noisy prompt injection while preserving durable high-value memories.
Keep CHANGELOG.md idiomatic (Keep a Changelog) and cut a tag-based GitHub release that triggers npm publish CI.
Implement coding tasks with an explore-plan-code workflow and explicit verification gates.
Generate structured .code-task.md files from rough descriptions or PDD plans.
| name | session-search |
| description | Search across pi session JSONL logs (user prompts, tool calls, results). Uses the session-digest tool and ripgrep for fast triage. |
| kind | sop |
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.