agent-memory-discipline
Skill by sickn33
Agent Memory Discipline gives AI agents standing rules for when to recall long-term memory before acting and when to save decisions, corrections and failures. It works with any memory backend, including plain Markdown files and MCP memory servers.
Install agent-memory-discipline
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/agent-memory-discipline ~/.claude/skills/agent-memory-disciplineRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install agent-memory-discipline in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/agent-memory-discipline ~/.gemini/antigravity-cli/skills/agent-memory-disciplineAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install agent-memory-discipline in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Agent Memory Discipline is a skill made of standing rules that tell an agent when to read from long-term memory and when to write to it. It targets agents that have a memory tool connected but do not use it consistently, repeat settled questions, or lose decisions between sessions. The rules cover recalling before project work, saving after decisions, corrections and failures, and keeping one fact per entry.
Each saved entry records what was decided, why, when it became true, and where it came from. When a fact changes, the old entry is closed with an end date instead of deleted, and conflicting recalled entries are shown to the user rather than merged. The skill works with a folder of Markdown files, a local MCP memory server, or a hosted memory service. It suits projects that need an assistant to keep conventions and decisions across sessions. The source lists Claude, Cursor and Gemini as supported tools.
Written from the project's SKILL.md and checked against it.
What it can do
- Recall before actingReads memory before project work, tool choices, tests, commits and documentation.
- Save after decisionsWrites one fact after a decision, correction, failure or stated preference.
- Structured entriesRecords what was decided, why, when it applied, and where it came from.
- Closing old entriesMarks outdated entries with an end date and a pointer to their replacement.
- Contradiction handlingShows conflicting entries with their dates and asks the user which one holds.
- Evidence versus policyKeeps single observations separate from rules until a human confirms them.
What you need
- A memory tool or MCP memory server the agent can call
Try asking
- Stop using npm here, we're on pnpm. Please remember that.
- What did we decide about the state management library?
- Recall our test conventions before you write these tests.
Good to know
- Installs no memory backend. Without a memory tool, the agent can only report that memory is unavailable.
- Does not resolve contradictions by itself. It surfaces them for the user to decide.
- A hosted memory backend stores entries outside the local machine.
- How well entries are found again depends on the backend's own search.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/agent-memory-discipline/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/entry-format.md2 KB
Alternatives to agent-memory-discipline
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
agent-memory-discipline: common questions
Does this skill install a memory backend?
No. The source says it installs no memory backend and requires no account, and it works with any backend the agent can call.
When should the agent skip recall?
The source says to skip recall for one-off factual questions, arithmetic, or anything fully specified in the current message.
What should never be saved to memory?
Secrets, tokens, passwords, personal data, file contents that can be read again, restatements of the current task, and transient state.
How do I install agent-memory-discipline?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is agent-memory-discipline free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is agent-memory-discipline safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to agent-memory-discipline?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
