Purpose: Write only durable, scoped lessons to memory and keep transient detail in artifacts.
Classify facts as ephemeral, loop, durable, or permanent.
Store repo-scoped decisions, recurring failures, release facts, and handoffs.
Do not store secrets, raw logs, or cross-project assumptions.
Prefer short, searchable titles and concrete evidence.
Checklist:
Project and repo scope are present.
Memory is useful in a future loop.
No secret or personal token is stored.
Content is concise.
Positive example: "Release blocked because rollback proof was missing" with gate evidence.
Negative example: storing full terminal output with environment variables.
1---2name: memory-discipline3description: Memory Discipline4---56# Memory Discipline78Purpose: Write only durable, scoped lessons to memory and keep transient detail in artifacts.9101. Classify facts as ephemeral, loop, durable, or permanent.112. Store repo-scoped decisions, recurring failures, release facts, and handoffs.123. Do not store secrets, raw logs, or cross-project assumptions.134. Prefer short, searchable titles and concrete evidence.1415Checklist:1617- Project and repo scope are present.18- Memory is useful in a future loop.19- No secret or personal token is stored.20- Content is concise.2122Positive example: "Release blocked because rollback proof was missing" with gate evidence.23Negative example: storing full terminal output with environment variables.2425Failure modes: prompt bloat, cross-repo leakage, durable storage of temporary observations.
Run npx skillmds@latest add onfire7777/memory-discipline in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Memory Discipline It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
onfire7777 (@onfire7777) published this skill. Their other Agent Skills are listed on their SkillMD profile.