memory
Skill71 starsChanged 2 months agoMITView on GitHub
Activate this skill when starting a new session, beginning a new task, saving knowledge, recalling past decisions, or after completing significant work. Also activate on errors to log them for pattern analysis. Relevant when the user asks about memory, past context, lessons learned, decisions history, project conventions, or self-improvement.
66 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- ProjectAJ14/eklavyatheir own version, first seen Oct 4, 2026
- DioNanos/nexuscrewtheir own version, first seen Oct 3, 2026
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- pobsteta/aigoratheir own version, first seen Oct 2, 2026
- harshanandak/forgetheir own version, first seen Sep 28, 2026
- komluk/scaffoldingtheir own version, first seen Sep 28, 2026
Used with
Projects with it also use harness-review, postmortem 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.
fockusSkillharness-review
Harness v3 統合レビュースキル。コード・プラン・スコープを多角的にレビュー。以下で起動: レビュー、コードレビュー、プランレビュー、スコープ分析、セキュリティ、品質チェック、harness-review。実装・新機能・バグ修正・セットアップ・リリースには使わない。
Also in 3 projects that use this
Hongyu-yuSkillpostmortem
Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.
Also in 4 projects that use this
MicrosoftSkilldev
Development workflows for the playwright-cli repository. Use when the user asks about rolling dependencies, releasing, or other repo maintenance tasks.
Also in 3 projects that use this
AnthropicSkillstart
Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.
Also in 4 projects that use this
MicrosoftSkillsync
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
- +1 more from microsoft
Other versions66 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- LLK-LL/Memnex★ 486% same
Wrote their own version · 65
- google-gemini/gemini-cli★ 107ksame name
- Chachamaru127/claude-code-harness★ 3.1ksame name
- codeaholicguy/ai-devkit★ 1.6ksame name
- Muuuun/luxas★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 777same name
- memvid/claude-brain★ 578same name
- shobcoder/shob★ 577same name
- boshu2/agentops★ 447same name
- lokikill123/codex-token-skills★ 119same name
- 686f6c61/alfred-dev★ 116same name
55 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.
In this repository4 other files it gives its agents.
- memory-protocolSkill
- onboard-reportSkill
- onboardSkill
- reportSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 57 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Always run these two calls before any work:
- Distinctive: line 25
If relevant knowledge is found, mention it briefly and apply it.
- Distinctive: line 52
Do NOT save: trivial edits, intermediate steps, information obvious from the code.
- Very specific: line 68
When pattern_detected: true is returned (3+ similar errors), extract an insight:
- Very specific: line 86
Use <private>...</private> tags to explicitly exclude sensitive content:
“Common” is measured: kept by at least 6 in 10 of the 57 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
Persistent Memory System
You have access to a persistent cross-session memory via MCP tools. Knowledge survives between sessions and is shared across agents working on the same project.
Session Start
Always run these two calls before any work:
self_rules_context(project="<project>")
memory_recall(query="<current task description>", project="<project>")If relevant knowledge is found, mention it briefly and apply it.
Auto-Save Rules
Save knowledge automatically -- never ask the user whether to save.
| Event | type | What to save |
| Architectural decision | decision | Decision + WHY + rejected alternatives |
| Non-trivial bug fix | solution | Symptom -> root cause -> fix |
| Gotcha or pitfall discovered | lesson | Expected vs actual + takeaway |
| Infrastructure or config setup | fact | Config details + key parameters |
| Project pattern established | convention | Rule + code example |
| Session ending | fact | Summary of what was done + what remains |
Format:
memory_save(
content="Concise, actionable description",
type="decision|solution|lesson|fact|convention",
project="<project>",
tags=["relevant", "tags"],
context="Why this matters. For decisions: always explain WHY."
)Do NOT save: trivial edits, intermediate steps, information obvious from the code.
Error Logging
On any error (command failure, wrong assumption, API error, timeout), log it automatically:
self_error_log(
description="What went wrong",
category="code_error|logic_error|config_error|api_error|timeout|loop_detected|wrong_assumption|missing_context",
severity="low|medium|high|critical",
fix="How it was fixed (empty if unresolved)",
project="<project>"
)When pattern_detected: true is returned (3+ similar errors), extract an insight:
self_insight(action="add", content="Generalized lesson", category="<error_category>", source_error_ids=[...])Self-Improvement Pipeline
Errors -> Insights -> Rules (SOUL).
- Insights with importance >= 5 and confidence >= 0.8 can be promoted to rules
- Rules are loaded at session start via
self_rules_context - Rate rules after task completion:
self_rules(action="rate", id=N, success=true/false) - At session end, reflect:
self_reflect(reflection="...", task_summary="...", outcome="success|partial|failure")
Privacy
The server auto-redacts API keys, JWTs, passwords, emails, and credit cards before storage.
Use <private>...</private> tags to explicitly exclude sensitive content:
memory_save(content="Connected to <private>prod-host:5432</private>", type="fact", project="<project>")Quick Reference (32 tools)
Core Memory (12):
| Tool | Purpose |
memory_recall | Search past knowledge (4-tier: keyword, semantic, fuzzy, graph) |
memory_save | Store new knowledge with type, project, tags |
memory_update | Supersede existing knowledge with a new version |
memory_timeline | Browse session history |
memory_stats | Health metrics and storage info |
memory_consolidate | Find and merge duplicate records |
memory_export | Export all knowledge as JSON |
memory_forget | Apply retention policy |
memory_history | View version chain for a record |
memory_delete | Soft-delete a record |
memory_relate | Create typed relations between records |
memory_search_by_tag | Browse knowledge by tag |
Self-Improvement (6):
| Tool | Purpose |
self_error_log | Log structured errors for pattern analysis |
self_insight | Manage insights (add/upvote/downvote/promote) |
self_rules | Manage behavioral rules (list/fire/rate/suspend) |
self_patterns | Analyze error patterns and improvement trends |
self_reflect | Save session reflections |
self_rules_context | Load active rules at session start |
Knowledge Graph (4):
| Tool | Purpose |
memory_graph | Traverse knowledge graph from a record |
memory_concepts | Discover concept clusters |
memory_graph_index | Rebuild graph index |
memory_graph_stats | Graph metrics (nodes, edges, density) |
Episodic Memory (2):
| Tool | Purpose |
memory_episode_save | Save rich session episodes |
memory_episode_recall | Recall episodes by semantic search |
Skills & Competencies (3):
| Tool | Purpose |
memory_skill_get | Get skill level and history |
memory_skill_update | Update skill level with tracking |
memory_self_assess | Self-assessment across all skills |
Advanced (5):
| Tool | Purpose |
memory_observe | Lightweight file change tracking (30-day retention) |
memory_associate | Associative search across knowledge |
memory_context_build | Build full task context in one call |
memory_reflect_now | On-demand reflection and insight synthesis |
memory_extract_session | Process pending session transcripts |
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.

