# Agent Memory Discipline (agent skill)

> Agent Memory Discipline is an agent skill (a SKILL.md file) from davepoon/buildwithclaude. Teaches when to recall from long-term memory before acting and when to save durable decisions, corrections and failures afterwards. It works with Claude Code and has 3,601 GitHub stars across a repository of 3 listed skills.

Teaches when to recall from long-term memory before acting and when to save durable decisions, corrections and failures afterwards. Use when a memory tool or MCP memory server is connected but the agent is not using it consistently, when the user complains that the assistant forgets preferences, conventions or past decisions between sessions, or when setting up persistent memory for a project. Works with any memory backend: a folder of Markdown files, a local MCP server, or a managed service.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/davepoon/buildwithclaude |
| Skill path | plugins/all-skills/skills/agent-memory-discipline/SKILL.md |
| Skill name | agent-memory-discipline |
| GitHub stars | 3,601 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 3 |
| Plugin marketplace | buildwithclaude |
| Official | no |
| Works with | Claude Code |
| Category | Docs & writing |
| Last commit | Oct 6, 2026 |

## When it triggers

- Use when a memory tool or MCP memory server is connected but the agent is not using it consistently, when the user complains that the assistant forgets preferences, conventions or past decisions between sessions, or when setting up persiste

## Add this skill

### Claude Code

```sh
/plugin marketplace add davepoon/buildwithclaude
/plugin install all-skills@buildwithclaude
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/davepoon/buildwithclaude.git
cp -r buildwithclaude/plugins/all-skills/skills/agent-memory-discipline .agents/skills/agent-memory-discipline   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/davepoon/buildwithclaude.git
cp -r buildwithclaude/plugins/all-skills/skills/agent-memory-discipline .cursor/skills/agent-memory-discipline   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/davepoon-agent-memory-discipline
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
