memory-management
Skill4 starsChanged 5 months agoMITView on GitHub
Recall, checkpoint, and audit durable Laravel project knowledge across sessions when prior context materially affects the current task.
- Reads credentials
17 other projects use a version of this.
Adopted by
Most recently taken up by
- jau123/claude-memory-managertheir own version, first seen Oct 5, 2026
- ruvnet/ruflotheir own version, first seen Sep 10, 2026
- Soulcynics404/AgentForgetheir own version, first seen Aug 24, 2026
- Leostruka/devin-bundletheir own version, first seen Aug 15, 2026
- Jylhis/skillstheir own version, first seen Aug 5, 2026
- IcodeNet/agent-skillstheir own version, first seen Jul 10, 2026
Used with
Projects with it also use agent-agent, agent-analyze-code-quality 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.
ZekiogSkillagent-agent
Agent skill for agent - invoke with $agent-agent
Also in 3 projects that use this
ZekiogSkillagent-analyze-code-quality
Agent skill for analyze-code-quality - invoke with $agent-analyze-code-quality
Also in 3 projects that use this
- +10 more from Zekiog
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- ruvnet/ruflo★ 74ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- xiaolai/echo-sleuth-for-claude★ 9same name
- DojoCodingLabs/claude-code-waypoint★ 4same name
- grandamenium/claude-code-memory-skill★ 4same name
- hajekim/agentic-design-patterns-skills★ 4same name
- jau123/claude-memory-manager★ 4same name
- mmccalla/coding-agent-skill-library★ 4same name
- Zekiog/ruflo★ 2same name
- hajekim/agentic-design-patterns-extension★ 1same name
7 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 repository75 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- actions-and-servicesSkill
- ai-sdkSkill
- api-resources-and-paginationSkill
- api-surface-evolutionSkill
- architectureSkill
- blade-components-and-layoutsSkill
- brainstormingSkill
- code-review-requestsSkill
- complexity-guardrailsSkill
- config-env-storageSkill
- constants-and-configurationSkill
- controller-cleanupSkill
- controller-testsSkill
- custom-helpersSkill
- daily-workflowSkill
- database-transactionsSkill
- data-chunking-large-datasetsSkill
- debugging-promptsSkill
- dependencies-trim-packagesSkill
- documentation-best-practicesSkill
- e2e-playwrightSkill
- effective-contextSkill
- eloquent-patternsSkill
- eloquent-relationshipsSkill
- exception-handling-and-loggingSkill
- executing-plansSkill
- extract-laravel-standardsSkill
- filesystem-uploadsSkill
- form-requestsSkill
- horizon-metrics-and-dashboardsSkill
- http-client-resilienceSkill
- integrate-whatsapp-baileys-laravelSkill
- interfaces-and-diSkill
- internationalization-and-translationSkill
- iterating-on-codeSkill
- laravel-11-12-app-guidelinesSkill
- laravel-database-optimizationSkill
- laravel-prompting-patternsSkill
- laravel-specialistSkill
- least-codeSkill
- livewire-developmentSkill
- migrations-and-factoriesSkill
- module-per-menuSkill
- nova-resource-patternsSkill
- performance-cachingSkill
- performance-eager-loadingSkill
- performance-select-columnsSkill
- php-attributesSkill
- policies-and-authorizationSkill
- ports-and-adaptersSkill
- prompt-structureSkill
- quality-checksSkill
- queues-and-jobsSkill
- rate-limitingSkill
- request-forgery-protectionSkill
- responsive-ui-testingSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 15 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
15
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 11
Use this skill as conditional context infrastructure when a Laravel task depends on prior context, project history, or known conventions.
- Distinctive: line 21
Prefer continuity without context overload.
- Distinctive: line 27
Run memory preflight only when at least one is true:
- Distinctive: line 35
Prefer the active MCP server when the host exposes it:
- Distinctive: line 44
If MCP is unavailable and Node/file access exists, fall back to the local CLI:
- Distinctive: line 67
Stop retrieving when marginal relevance is lower than token cost.
- Very specific: line 71
When memory-graph.json exists, query the graph before opening Markdown evidence:
- Distinctive: line 79
Use graph edges with confidence tags:
- Very specific: line 93
When the codebase or architecture changes, mark older project memories as STALE or SUPERSEDED rather than deleting them.
- Distinctive: line 97
When memory and current evidence conflict, trust this order:
- Distinctive: line 108
When memory conflicts with current evidence, mark the memory mentally as stale or superseded until verified.
- Distinctive: line 112
Do not checkpoint everything.
- Distinctive: line 128
Prefer storing the decision, not just the fact.
- Distinctive: line 134
Search filter uses session.
- Distinctive: line 140
Run checkpoint after meaningful work only when durable reusable project knowledge changed:
- Distinctive: line 150
Before writing memory, pass data through:
- Distinctive: line 156
Never store secrets, raw emails, phone numbers, .env contents, or customer personal data.
“Common” is measured: kept by at least 6 in 10 of the 16 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 Management
Use this skill as conditional context infrastructure when a Laravel task depends on prior context, project history, or known conventions. For self-contained local tasks, skip memory entirely.
Core Principles
- Remember only what remains useful.
- Retrieve only what is relevant.
- Verify before trusting.
- Anonymize before sharing across projects.
- Never persist secrets.
- Preserve provenance for every durable entry.
- Prefer continuity without context overload.
Conditional Preflight
The using-laravel-standards entrypoint decides this automatically before broad code exploration. Do not wait for explicit phrases like "remember" or "use memory-management".
Run memory preflight only when at least one is true:
- the user references previous work or prior decisions
- the task depends on project history
- a known project convention is needed
- durable prior context materially affects the implementation
For self-contained local tasks, skip memory entirely.
Prefer the active MCP server when the host exposes it:
MCP server: syarif-memory-management
Tool: memory_auto
Root: %USERPROFILE%\.ai-memory on Windows unless AI_MEMORY_ROOT overrides it
Installed skill path: %USERPROFILE%\.agents\skills\memory-managementIf MCP is unavailable and Node/file access exists, fall back to the local CLI:
node <skill-dir>/scripts/memory.mjs auto --cwd <project-root> --query "<task intent>" --limit 5This returns an explicit decision: RUN or decision: SKIP. On SKIP, continue normal work without memory. On RUN, use only compact relevant memory. Do not load every memory file by default. Do not fail the task merely because memory infrastructure is unavailable.
Memory is outside specialist routing. It does not consume the primary specialist slot, the supporting specialist slot, or the 0-2 specialist cap.
Preflight is retrieval-only. It must not create durable memory entries; writes happen through remember or checkpoint after safety checks.
Recall Budget
Default recall budget:
- User memory: ~200 tokens
- Conversation memory: ~500 tokens
- Project memory: ~800 tokens
- Workflow memory: ~400 tokens
- Codebase context: remaining budget up to ~2200 tokens
- Reserve: ~400 tokens
Stop retrieving when marginal relevance is lower than token cost.
Graph Memory
When memory-graph.json exists, query the graph before opening Markdown evidence:
node <skill-dir>/scripts/memory.mjs graph query "<task intent>" --limit 5
node <skill-dir>/scripts/memory.mjs graph path <from-id> <to-id>
node <skill-dir>/scripts/memory.mjs graph explain <memory-id>Use graph edges with confidence tags:
EXTRACTED= explicit in sourceINFERRED= derived by reasoningAMBIGUOUS= weak or conflicting evidence
Memory Staleness
Memory is not forever. Every memory entry should carry a lifecycle:
CURRENT- actively valid and aligned with current codebase.STALE- likely outdated; verify before trusting.SUPERSEDED- replaced by newer memory or current code.TEMPORARY- valid only for the current session or short horizon.
When the codebase or architecture changes, mark older project memories as STALE or SUPERSEDED rather than deleting them. Prefer current code over old memory.
Source Precedence
When memory and current evidence conflict, trust this order:
- Current code
- Current config
- Project docs
- Explicit project memory
- Conversation memory
- Inferred memory
This prevents memory poisoning during implementation.
When memory conflicts with current evidence, mark the memory mentally as stale or superseded until verified. Do not silently implement old memory over current code/config.
Selective Checkpointing
Do not checkpoint everything. Store only reusable durable knowledge:
- architectural decision
- non-obvious constraint
- bug root cause that is reusable
- project convention
- environment quirk
Do not store:
- line-number changes
- temporary debug notes
- short-lived branches
- one-time grep results
Decision Memory
Prefer storing the decision, not just the fact.
Good:
- Chose session-persisted filters instead of query-string persistence because existing project convention uses session state.
Bad:
- Search filter uses session.
Decision memory helps the next agent understand why, not just what.
Checkpoint At Handoff
Run checkpoint after meaningful work only when durable reusable project knowledge changed:
node <skill-dir>/scripts/memory.mjs checkpoint --project <alias> --summary "<handoff summary>" --pending "<open questions>" --files "app/Actions/Foo.php,tests/Feature/FooTest.php"Memory checkpoint is never a requirement for task completion. It occurs only when durable reusable knowledge was produced. Temporary debugging, transient terminal failures, trivial line edits, one-time grep results, and raw logs should not be checkpointed.
Security Pipeline
Before writing memory, pass data through:
raw input -> secret detection -> personal-data classification -> scope classification -> anonymization -> retention policy -> encryption at rest -> memory storageNever store secrets, raw emails, phone numbers, .env contents, or customer personal data.
References
- Graph memory commands and formats:
references/graph-memory.md - Hermes-style orchestrator profile:
references/hermes-orchestrator-profile.md
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.

