recall-prior-work
Skill0 starsChanged 5 months agoMITView on GitHub
WHEN the user references past sessions, prior decisions, or work outside current context: search persistent memory FIRST before answering. Triggers: 'did we already X?', 'how did we solve Y last time?', 'what was decided about Z?', 'last time we tried this…'. Requires a persistent-memory tool (e.g. claude-mem); degrades to git history + docs without one. OUTPUT: found / decided / tried-but-unresolved / stale-risk, with dates. PAIR: feed results into ctx-pack or status-update. NOT FOR: current-session recall (it's in context), repo-state questions (read the repo).
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- artifact-packagerSkill
- blindspot-passSkill
- ctx-ignoreSkill
- ctx-packSkill
- decision-reviewSkill
- project-briefingSkill
- status-updateSkill
- ticket-scopingSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Timeline: - if a single hit looks load-bearing, pull timeline around it for surrounding context.
- Distinctive: line 21
Verify load-bearing claims (file paths, flag names, ticket IDs) against the current repo before recommending action.
- Distinctive: line 34
If memory and current repo disagree, trust the repo and update memory.
- Distinctive: line 35
Do not paste long memory excerpts into the response.
- Distinctive: line 36
If no relevant memory exists, say so explicitly.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
recall-prior-work
Memory-only lookup, distinct from ctx-pack (which also pulls memory but blends it with files/diffs) and project-briefing (which reads the live repo).
Workflow
Three layers, always in order. Never fetch full details before filtering. Tool names below are claude-mem's; map them to whatever memory tool is installed. If none is, say so and fall back to git history, status docs, and ADRs. Do not fabricate continuity.
- Search - memory
searchwith a focused query, project filter, and a date window if known. Read titles only. - Timeline - if a single hit looks load-bearing, pull
timelinearound it for surrounding context. - Fetch -
get_observationson the small set of IDs that actually matter. Batch the call.
Then:
- Distinguish what was decided from what was tried. Decisions stick; experiments may not.
- Note the date of each fact. Memory is a snapshot, not ground truth.
- Verify load-bearing claims (file paths, flag names, ticket IDs) against the current repo before recommending action.
Output Shape
- Found - 1-line per relevant memory with date and ID.
- Decided - what was settled, and when.
- Tried but unresolved - so we do not re-litigate or re-attempt blindly.
- Stale risk - facts whose freshness matters; what to re-verify.
- Next step - either an answer or the verification command.
Rules
- Filter before fetching. Titles first, full text only for finalists.
- If memory and current repo disagree, trust the repo and update memory.
- Do not paste long memory excerpts into the response; cite IDs and summarize.
- If no relevant memory exists, say so explicitly. Do not fabricate continuity.
- Respect project scope: pass the
projectfilter so memory from unrelated repos does not leak in.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

