CSEP Session Recall
Use csep recall like rg over past sessions.
When To Use
Use this skill when the current task may depend on prior local context:
- a previous design decision
- a command or test result that was already run
- a repeated error or gotcha
- exact user wording from an earlier session
- a repo-specific workflow or status handoff
Skip it for self-contained tasks such as simple formatting, translation, arithmetic, or an edit where the user supplied all needed context.
Query Style
Good recall queries are needles, not questions.
Prefer:
- file names:
MEMORY.md,hooks.json,session_recall - commands:
csep status,recall bootstrap,python3.11 -m pytest - errors:
missing transcript_path,ModuleNotFoundError - symbols:
messages_fts,build_focused_recall,review_memory - exact user wording:
二级引用,保持简单,不要 LLM - alternatives:
MEMORY.md|refs|二级引用
Avoid long natural-language questions.
Bad:
csep recall "what did we decide about no LLM extractive session-level retrieval design agreement"
Good:
csep recall "LLM|extractive|session-level|retrieval"
csep recall "summary需要llm|不要llm|Hermes"
Workflow
Extract 2-6 concrete needles from the current task.
Search repo scope first:
csep recall "needle1|needle2|needle3" --cwd "$PWD"If
no_match, do not assume history does not exist. Try shorter or more exact needles.Use
--recentwhen the task is about recent work rather than a named topic:csep recall --recent --cwd "$PWD"If the user asks to include Claude Code history, sync it first:
csep recall sync-claude --since-days 30Use
--globalonly when repo-local history is insufficient and cross-repo noise is acceptable:csep recall "needle1|needle2" --globalTreat matches as evidence. Summarize and decide yourself; recall does not answer the question for you.
Output Handling
- Prefer Markdown output for interactive work.
- Use
--format jsonwhen another script or tool needs structured results. - Preserve provenance when citing a result: session time, source path, and the matched original text.
- Do not report empty recall separately unless the user is debugging recall itself.
Source: T0UGH/codex-self-evolution-plugin — distributed by TomeVault.