trellis-session-insight
하는 일
스킬은 Trellis 메모리 명령을 사용해 저장된 AI 채팅 기록을 검색합니다. 예전에 어떻게 해결했는지 떠올리고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓지난번에 문제를 어떻게 해결했는지, 전에 논의한 적이 있는지 물을 때.
- ✓이전 작업과 겹치는 작업을 시작할 때.
- ✓익숙하게 느껴지는 버그를 디버깅하는 경우.
스킬 링크
https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-session-insight/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 캐싱 문제를 전에 논의한 적이 있나요? 지난번에 무엇을 결정했는지 찾아 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 trellis mem 명령으로 컴퓨터에 저장된 과거 세션의 정리된 대화를 목록화하고, 검색하고, 읽습니다. 찾은 내용을 사용해 현재 작업에 답하거나 참고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Trellis Session Insight
This skill teaches an AI how to call trellis mem — the project's cross-session memory feedstock — and when reaching for it is the right move.
It is intentionally a capability skill, not a workflow. There is no fixed output file, no required write-back step, no "always run after finish-work" rule. What to do with what mem returns is a judgement call made in the moment of the conversation. The skill exists so the AI knows the capability is there and can decide.
What trellis mem is
A local CLI that indexes the user's past Claude Code, Codex, Devin CLI, Grok, OpenCode, Pi Agent, and ZCode conversation logs and lets you list, search, slice by Trellis task boundaries, and dump cleaned dialogue from them. Claude and Codex use ~/.claude/projects/ and ~/.codex/sessions/. Devin CLI (Cognition terminal agent, not trellis init --devin Desktop) uses ~/.local/share/devin/cli/sessions.db. Grok uses ~/.grok/sessions/. OpenCode uses ~/.local/share/opencode/opencode.db (zero-dependency SQLite reader). Pi uses its default or environment-configured session root, global ~/.pi/agent/settings.json, and the scoped project's .pi/settings.json; relative sessionDir values resolve from the settings file directory. Project-local Pi settings require project-scoped lookup through the current cwd or --cwd. ZCode uses ~/.zcode/cli/db/db.sqlite.
Nothing in mem is uploaded. All reads are local.
When to reach for it
The bar is "would a senior teammate ask 'didn't we already talk about this?'" — those are the moments. Some concrete patterns:
- Brainstorm rerun risk. Starting a new task that touches an area the user has been in before, and you want to check whether a decision was already made — before re-asking the user.
- Familiar-bug debugging. The current bug pattern feels like one the user reported / fixed before. Pulling the relevant past session can save a full debugging loop.
- Cross-session continuation. The user resumes work after a gap and says "where were we" / "继续上次的" without being specific.
- Decision retrieval. The user references "the decision we made about X" but the decision lives in an old brainstorm, not in any
prd.md/spec/. - Finish-work retrospective. When the user explicitly asks for a wrap-up of what was decided / what hurt / what surprised them in this task — not as a forced step on every finish-work.
- Pattern-spotting across past work. The user asks "do I keep making the same mistake on X" / "我每次都踩这个坑吗" — search across sessions answers that.
If none of these apply, don't call mem. It is a tool, not a ceremony.
When NOT to reach for it
- The relevant context is already in the current turn,
prd.md,design.md, recentgit log, or the open files.memis for stuff that has fallen out of immediate reach. - The user is asking about a fact in the code, not a fact from a past conversation.
git log -p/grep/ reading the file directly is faster and more authoritative. - You are in a sub-agent (
trellis-implement/trellis-check) whose dispatch prompt already includes the curatedimplement.jsonl/check.jsonlcontext. Addingmemon top usually just clutters. - The user has explicitly said "don't dig through history, just answer what I asked".
What to do with what mem returns
Treat the output as raw material, not a deliverable. Once you have it, decide based on the live conversation:
- Quote inline in your reply if a specific past exchange answers the user's current question — and cite the session-id / phase so the user can verify.
- Update
<task>/prd.mdor<task>/design.mdifmemsurfaced a load-bearing decision that should have been written down but wasn't. Surface the proposed edit to the user first. - Append to a task-local notes file (e.g.
<task>/notes.mdor extending an existing one) if the finding belongs to the current task's record but doesn't fit the PRD. - Update
.trellis/spec/if the finding is a project-wide convention or gotcha that would help future tasks. Run thetrellis-update-specskill for that —session-insightends at the discovery. - Just absorb it for the next few turns and answer better, without writing anything. This is often the right move for one-off recall.
Trellis does not prescribe a single destination. Forcing every recall into a fixed file makes the file grow into noise. Let the situation decide.
How to call it
Full CLI
자주 묻는 질문
어떤 AI 도구의 기록을 읽나요?
컴퓨터에 저장된 Claude Code, Codex, Grok 같은 여러 도구의 로그를 읽습니다.
채팅을 업로드하나요?
아니요. 메모리 도구는 디스크에 이미 있는 파일을 읽을 뿐, 아무것도 업로드하지 않습니다.
세션마다 메모를 저장하나요?
아니요. 필수로 기록하는 단계는 없으며, 무엇을 남길지는 그 순간 에이전트에게 달려 있습니다.
상세 정보
작성자의 원본 설명
Reach into past AI conversation history through the `trellis mem` CLI. Use whenever the user asks 'how did we solve X last time', 'have we discussed this before', 'what was the decision on X', 'remind me what we did in this task', '上次怎么解的', '之前讨论过吗', '想起一段对话', or when starting a brainstorm that overlaps prior work, debugging a familiar bug, continuing a task across sessions, or doing a finish-work review. Returns raw past dialogue; decide for the moment whether to update spec, append to task notes, quote inline in the answer, or just internalize.
repo: mindfold-ai/Trellis
인기도
- GitHub 스타
- 15k
- 순위
- #11032
- 라이선스
- AGPL-3.0
- 업데이트
- 2026. 9. 29.
댓글
- …
이 저장소의 다른 스킬
first-principles-thinking
15k계획이나 설계를 기본 사실로 나누고 거기서부터 추론해 검증하도록 에이전트를 돕습니다. 습관이나 관례에 기대지 않습니다.
python-design
15k명확한 모듈, 단순한 인터페이스, 숨은 복잡성이 적은 Python 명령줄 스크립트를 작성하고 검토하도록 에이전트를 돕습니다.
trellis-before-dev
15k글을 쓰기 전에 프로젝트의 코딩 지침과 작업 메모를 읽어, 팀의 관례를 따르도록 에이전트를 돕습니다.
trellis-brainstorm
15k한 번에 하나씩 유용한 질문을 던지고 코드를 확인하며 좁은 범위에 합의해, 새 기능이나 불명확한 작업을 분명하게 하도록 에이전트를 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.