trellis-session-insight

Search and extract past AI conversation history through the trellis mem CLI.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/SilentFlower/flower-trellis --skill trellis-session-insight-silentflower
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: trellis-session-insight
Source: https://github.com/SilentFlower/flower-trellis/tree/main/.agents/skills/trellis-session-insight
Command: npx skills add https://github.com/SilentFlower/flower-trellis --skill trellis-session-insight-silentflower

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? When you ask "how did we solve this last time" or "what was the decision on X", the answer often lives in old AI conversation logs rather than in any committed file. This Skill teaches the AI how to query the trellis mem CLI to search, slice, and extract past Claude Code, Codex, Grok, Pi, and ZCode session dialogue so prior decisions and solutions can be recovered instead of re-litigated. ## Core Features & Use Cases - Keyword search across sessions: Find past sessions mentioning a symptom, decision, or topic, scoped to the current project or globally across the machine. - Phase-based extraction: Slice a session by Trellis task boundaries (--phase brainstorm / --phase implement) to recover planning discussions or execution loops. - Context drilling: Pull the top-N hit turns plus surrounding context from a session with a token budget, or dump cleaned dialogue for review. - Use Case: You hit a timeout bug that feels familiar. The AI runs trellis mem search "timeout" --global, finds a session from last month, extracts the relevant turns, and quotes the prior fix with the session id so you can verify it. ## Quick Start Ask the AI to search past conversation history for how a similar problem was solved before, for example by saying "check what we decided about the database choice last time".

Frequently Asked Questions about trellis-session-insight

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

FAQPage Schema
How do I search past AI conversation history for a previous solution?▼

Run trellis mem search with a keyword, optionally adding --global to search every project on the machine. Then use trellis mem context or extract on the matching session id to read the relevant dialogue turns.

How to recover the planning discussion from an old coding session?▼

Use trellis mem extract with the session id and --phase brainstorm to slice the session at Trellis task boundaries and recover the planning window. Use --phase implement to recover the execution loop instead.

Which AI coding platforms does trellis mem support?▼

trellis mem indexes local logs from Claude Code, Codex, Grok Build, Pi Agent, and ZCode. OpenCode conversation reading is not yet available; the CLI prints a reader-unavailable notice and continues with the supported stores.

Does trellis mem upload my conversation history anywhere?▼

No. trellis mem is read-only on local platform session stores and uploads nothing. It does not sync, push, or edit the underlying JSONL or SQLite files.

Why does phase slicing return all turns for some sessions?▼

Phase slicing depends on recorded task.py create and task.py start tool calls in the session. Sessions where task.py ran from a different terminal lack boundaries, so --phase all is the safe fallback.

When should I not search past conversation history?▼

Skip it when the answer is already in the current context, PRD, design docs, git log, or source files, since reading those directly is faster and more authoritative. Also avoid it when the user explicitly asks not to dig through history.