Skip to content
appsgit

Memory Discipline

Memory Discipline is an agent skill (a SKILL.md file) from rohitg00/agentmemory. The session loop that makes agentmemory pay off, recall before starting work, save at decision points, learn from corrections. It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 29,188 GitHub stars across a repository of 6 listed skills.

github.com/rohitg00/agentmemory/plugin/skills/memory-discipline (opens in a new tab)

Add this skill

Claude

This repository is a Claude Code plugin marketplace. In Claude Code:

/plugin marketplace add rohitg00/agentmemory
/plugin install agentmemory@agentmemory

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

ChatGPT / Codex

Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:

git clone --depth 1 https://github.com/rohitg00/agentmemory.git
cp -r agentmemory/plugin/skills/memory-discipline .agents/skills/memory-discipline   # repo; ~/.agents/skills for all projects

Standalone skills also load in the ChatGPT desktop app.

Cursor

Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:

git clone --depth 1 https://github.com/rohitg00/agentmemory.git
cp -r agentmemory/plugin/skills/memory-discipline .cursor/skills/memory-discipline   # project; ~/.cursor/skills for all projects

Source (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), code.claude.com/docs/en/plugin-marketplaces (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)

What this skill does

The session loop that makes agentmemory pay off, recall before starting work, save at decision points, learn from corrections. Use when starting a nontrivial task, after settling a decision or debugging a gotcha, or whenever deciding if something belongs in memory. Memory only pays off when reads happen before the work and writes happen at decision points. This loop is the skill; every tool call in it is mechanical.

When it triggers

  • Use when starting a nontrivial task, after settling a decision or debugging a gotcha, or whenever deciding if something belongs in memory.

More skills in rohitg00/agentmemory

6 skills are listed from this repository.

FAQ

Memory Discipline FAQ

Still curious? Email info@appsgit.com.

What is the Memory Discipline skill?

Memory Discipline is an agent skill (a SKILL.md file) from rohitg00/agentmemory. The session loop that makes agentmemory pay off, recall before starting work, save at decision points, learn from corrections. It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 29,188 GitHub stars across a repository of 6 listed skills. Its SKILL.md lives at github.com/rohitg00/agentmemory/plugin/skills/memory-discipline.

How do I install the Memory Discipline skill?

In Claude Code, run /plugin marketplace add rohitg00/agentmemory and then /plugin install agentmemory@agentmemory. For Codex or Cursor, copy the memory-discipline folder into .agents/skills/ or .cursor/skills/.

Is the Memory Discipline skill free?

Yes. The repository is open source under the Apache-2.0 license.

Is Memory Discipline maintained?

The repository's most recent commit was on Oct 6, 2026. Its latest release is v0.9.30. appsgit only lists skills from repositories with a commit in the last six months.