memory-capture
Skill29 starsChanged 9 months agoMITView on GitHub
Capture decisions, learnings, patterns, and context as persistent memories that survive across sessions. Capture Quality Guidelines: - Include context and rationale, not just the decision - Add relevant tags for discoverability - Reference related files or components - Keep content concise but complete </strategy> 1. Detect capture signals in user's message 2. Identify the namespace from context and signal words 3. Extract the core insight - what should be remembered? 4. Enhance with context - why is this important? 5.…
5 other projects use a version of this.
Adopted by
Most recently taken up by
- NITISH-R-G/agent-memory-protocoltheir own version, first seen Aug 1, 2026
- basicmachines-co/basic-memorytheir own version, first seen Jul 20, 2026
- sarmakska/slipstreamtheir own version, first seen May 31, 2026
- zhao-wuyan/ccw-command-explorertheir own version, first seen May 8, 2026
- seco/declawtheir own version, first seen Apr 4, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- basicmachines-co/basic-memory★ 4.1ksame name
- zhao-wuyan/ccw-command-explorer★ 43same name
- sarmakska/slipstream★ 2same name
- NITISH-R-G/agent-memory-protocol★ 1same name
- seco/declaw★ 1same name
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.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- test-runnerSkill
- memory-recallSkill
- subcog-integratorSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
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 31
Use mcp__subcog__subcog_capture tool when available
- Distinctive: line 36
Add relevant tags for discoverability
- Distinctive: line 38
Keep content concise but complete </strategy>
“Common” is measured: kept by at least 6 in 10 of the 5 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 Capture Skill
Capture decisions, learnings, patterns, and context as persistent memories that survive across sessions.
Trigger Phrases
- "remember this", "capture this", "save this decision"
- "document that", "log this pattern", "note this learning"
- "TIL", "gotcha", "we decided", "going with"
- "this is important", "don't forget"
Quick Reference
| Namespace | Use When | Signal Words |
decisions | Making architectural or design choices | "decided", "chose", "going with" |
patterns | Establishing recurring practices | "always", "never", "when X do Y" |
learnings | Discovering something new | "TIL", "gotcha", "discovered" |
context | Recording background information | "because", "constraint", "requirement" |
tech-debt | Noting future work | "TODO", "FIXME", "temporary" |
apis | Documenting API contracts | "endpoint", "API", "schema" |
config | Recording configuration details | "config", "environment", "setting" |
security | Security-related information | "auth", "vulnerability", "permission" |
performance | Performance insights | "optimization", "benchmark", "latency" |
testing | Testing strategies | "edge case", "fixture", "coverage" |
Execution Strategy
<strategy>
**MCP-First Approach:**
1. Use `mcp__subcog__subcog_capture` tool when available
2. Fall back to CLI: `subcog capture --namespace <ns> "<content>"`Capture Quality Guidelines:
- Include context and rationale, not just the decision
- Add relevant tags for discoverability
- Reference related files or components
- Keep content concise but complete
</strategy>
Interactive Capture Workflow
<workflow>
When capturing memories:- Detect capture signals in user's message
- Identify the namespace from context and signal words
- Extract the core insight - what should be remembered?
- Enhance with context - why is this important?
- Suggest tags based on content and current work
- Confirm with user using AskUserQuestion if uncertain
- Execute capture via MCP tool or CLI
- Verify success and report the memory ID
</workflow>
Capture Templates
<templates>
**For decisions:**
```
[Decision]: {what was decided}
[Context]: {why this decision was needed}
[Alternatives]: {what else was considered}
[Rationale]: {why this choice over alternatives}
```For learnings:
[Discovery]: {what was learned}
[Situation]: {when/how it was discovered}
[Impact]: {why it matters}For patterns:
[Pattern]: {the practice or convention}
[When]: {situations where it applies}
[Why]: {benefits of following this pattern}</templates>MCP Tool Reference
<mcp>
**Tool:** `mcp__subcog__subcog_capture`Parameters:
namespace(required): One of the 10 namespacescontent(required): The memory contenttags(optional): Array of tags for discoverabilitysource(optional): Source reference (file path, URL, etc.)priority(optional): 1-5, higher = more important
Returns:
memory_id: Unique identifierurn: Memory URN for referencetimestamp: Capture time</mcp>
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.

