memory
Skill1 starsChanged 3 months agoMITView on GitHub
Cross-session working memory + the branch-per-session git workflow — the read/write process for `.claude/memory/` (`sessions/`, `roadmap.md`, `reference/`). RECALL: when earlier work is referenced, grep/read `sessions/` newest-last and answer from it. RECORD: after substantive work, add `sessions/YYYY-MM-DD-<slug>.md` from the template + update the roadmap. REFERENCE: promote reusable patterns to `reference/`. BRANCH: don't commit straight to main — branch per session/wave, commit only when asked, land, note branch+hash in the session record. Load when starting or wrapping a unit of work, or when past sessions come up. Triggers: record the session, wrap up, close out, session note, roadmap, what did we do, what did we decide, last session, recall, remind me, start a branch, feature branch, land this, merge to main, commit this.
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 75 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Read the relevant entry (or the latest 1–3) and answer from it.
- Very specific: line 38
Add .claude/memory/sessions/YYYY-MM-DD-<slug>.md from the template below — a *refined* summary, not a transcript (~one screen: outcomes + …
- Very specific: line 40
Update roadmap.md: check off finished items, move them to Done (recent), add follow-ups.
- Very specific: line 41
If you established a reusable "how we do X", add/adjust a reference/ note (or promote it to a skill).
- Very specific: line 76
Branch per unit of work, off
main: Don't commit straight to the trunk — cut a branch named for the work (e.g.
“Common” is measured: kept by at least 6 in 10 of the 75 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory — journaling past work + branch hygiene
On-demand: load when you start a unit of work (branch it), wrap one up (record it), or when the user references earlier sessions (recall it).
.claude/memory/holds the stored notes (the DATA); this skill is the PROCESS that reads and writes them — pulled in on demand, never auto-loaded. (This is the in-repo, project-scoped memory — not the personal auto-memory at~/.claude/projects/**/.)
The data store (where notes live)
| Path | Holds |
.claude/memory/sessions/ | dated refined summaries of each substantive session (YYYY-MM-DD-<slug>.md, newest-last) |
.claude/memory/roadmap.md | living backlog: next · in-progress · done-recent |
.claude/memory/reference/ | stable "how we do X" notes that recur but don't warrant a full skill |
.claude/memory/scaffold-journal.md | observed quality of the scaffold itself (skills/agents/commands/hooks) — dogfooding wins/friction/coordination-gaps/missing-features; /scaffold-retro harvests it |
(.claude/memory/policy/ also lives under memory — authored governance canon — but it's owned by the governance skill, not this one.)
Recall — when the user references earlier work
Triggers: "what did we do / decide on X", "in the last few sessions", "remind me", "previously".
ls .claude/memory/sessions/(dated names sort newest-last) and/or grep it for the topic.- Read the relevant entry (or the latest 1–3) and answer from it. Don't re-derive what a note records.
Record — after substantive work
- Add
.claude/memory/sessions/YYYY-MM-DD-<slug>.mdfrom the template below — a refined summary, not a transcript (~one screen: outcomes + current state, not every step). Cross-link related sessions. - Update
roadmap.md: check off finished items, move them to Done (recent), add follow-ups. - If you established a reusable "how we do X", add/adjust a
reference/note (or promote it to a skill). - Scaffold check (self-observed — you were in the session): did any part of the
.claude/config help or hurt? A skill that didn't surface, an agent handoff that dropped context, a hook that fought you, a command you wished existed? Log a row toscaffold-journal.mdper its schema. "None this session" is a valid, common answer — don't manufacture entries. (/scaffold-retrolater clusters these into what to build; this step just captures them while specifics are fresh.)
Naming: ISO date + kebab slug (2026-01-15-project-bootstrap.md).
Session template (copy into the new file — keep these sections)
# Session: <title>
**Date:** YYYY-MM-DD · **Focus:** <one-line focus>
## Summary
<2–4 sentences: the goal of the session and what was actually accomplished.>
## Changes & artifacts
- <path> — <what changed / why>
## Key decisions
- <decision> — <one-line rationale>
## State
- <what works now> · <what's in progress> · <known gaps>
## Follow-ups
- <open thread> → ../roadmap.md
## Related
- <link to prior/related session, or "first session">Branch management — the git workflow around a session
- Branch per unit of work, off
main. Don't commit straight to the trunk — cut a branch named for the work (e.g.<topic>-<slug>). Matches the harness rule: on the default branch, branch first. Trivial docs-only touch-ups are the only reasonable exception. - Commit only when the user asks. End every commit message with the project's required trailer(s),
if any (
<PLACEHOLDER — e.g. a Co-Authored-By line>). - Land it. "Land" = merge the branch into
main(locally, or push + open a PR —<PLACEHOLDER: this repo's landing convention>). Record the branch name in the session note + roadmap up front (it's known before you commit); add the commit hash in a small follow-up commit or read it from git later.
Close-out (the wrap-up sequence)
Record the session note → update the roadmap → (commit) → land the branch. One coherent unit of work = one
session note. Keep the roadmap status and the session prose from drifting. The /wrapup command
drives this close-out end-to-end (record → optional commit → land) as a checklist — prefer it over
reconstructing the steps from memory.
Gotcha
The .claude/memory/ notes are the DATA; this skill is the only source of the RECALL / RECORD /
BRANCH rules — consolidated here (not in CLAUDE.md) so they surface exactly when you're starting,
branching, or wrapping up work, and don't tax always-on context every session.
Other versions88 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 88
- google-gemini/gemini-cli★ 109ksame name
- jlia0/tinyclaw★ 3.6ksame name
- TinyAGI/tinyagi★ 3.6ksame name
- TinyAGI/tinyclaw★ 3.6ksame name
- Chachamaru127/claude-code-harness★ 3.2ksame name
- codeaholicguy/ai-devkit★ 1.7ksame name
- Muuuun/luxas★ 1.2ksame name
- shobcoder/shob★ 575same name
- boshu2/agentops★ 452same name
- ambient-code/platform★ 131same name
78 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use send-user-message, ecosystem-reference and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Maliot100XSkillsend-user-message
Send a proactive message to a paired user via their channel (Discord, Telegram, or WhatsApp). Use when the agent needs to notify, alert, or send an unsolicited message to a user — especially during heartbeat invocations, scheduled tasks, or when the agent wants to reach out without a prior user message in the current conversation. Triggers: 'send message to user', 'notify user', 'alert user', 'message the user on discord/telegram/whatsapp', or any need to proactively communicate with a paired sender.
Also in 4 projects that use this
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 3 projects that use this
naman10parikhSkillfractal-delegation
Also in 3 projects that use this
jlia0Skilltinyagi-admin
Manage and operate the TinyAGI system itself — agents, teams, settings, queue, tasks, daemon lifecycle, and source code. Use when the agent needs to: list/add/remove/update agents or teams, check queue status, view logs, start/stop/restart TinyAGI, change settings (provider, model, channels), send messages to the queue, manage tasks, retry dead-letter messages, view recent responses, modify TinyAGI source code or configuration, or perform any administrative operation on the TinyAGI platform. Triggers: 'manage tinyagi', 'add an agent', 'remove a team', 'check queue', 'view logs', 'restart tinyagi', 'change provider', 'update settings', 'create a task', 'modify tinyagi code'.
Also in 3 projects that use this
- +8 more from naman10parikh
In this repository59 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-evaluationSkill
- agent-securitySkill
- annotationSkill
- authn-authzSkill
- caching-and-queuesSkill
- config-hydraSkill
- config-omegaconfSkill
- containersSkill
- data-acquisitionSkill
- data-dvcSkill
- datasetsSkill
- edaSkill
- env-uvSkill
- evaluationSkill
- example-skillSkill
- finetune-unslothSkill
- gitopsSkill
- governanceSkill
- graph-storesSkill
- guardrailsSkill
- hpo-optunaSkill
- iac-terraformSkill
- infra-awsSkill
- infra-azureSkill
- infra-gcpSkill
- kubernetesSkill
- llm-evalSkill
- llm-red-teamingSkill
- local-stackSkill
- mcp-securitySkill
- monitoringSkill
- notebooksSkill
- object-and-lakehouseSkill
- observabilitySkill
- pipelinesSkill
- policy-as-codeSkill
- processSkill
- relational-storesSkill
- reliability-sreSkill
- reportingSkill
- secrets-managementSkill
- secure-cicdSkill
- servingSkill
- sqlSkill
- statisticsSkill
- supply-chain-securitySkill
- tabularSkill
- testingSkill
- threat-modelingSkill
- timeseriesSkill
- tracking-mlflowSkill
- tracking-wandbSkill
- trainingSkill
- vector-storesSkill
- visualizationSkill
- wave-planningSkill
- workflow-orchestrationSkill
- wranglingSkill
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.

