
Decision memory
Loads, checks and records architecture decisions (ADRs) so the agent plans against them
Decision memory is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 26
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Decision memory
Decision memory helps an agent work within the architecture decisions a repository has already recorded, usually under docs/adr. Before planning, the agent looks up which decisions govern the files it intends to touch, including proposals still under review and rejected or superseded records it should not re-propose. After planning, it is asked to reconcile the plan against each governing decision, marking each one as complied with, departed from, or superseded.
The workflow runs through the adr command-line tool from @adrkit/cli, which the skill locates in the project's node_modules, via an ADRKIT_CLI variable, or on the PATH. It uses explain, check, queue and lint commands and reads their exit codes, treating findings as a complete report rather than a failure. An optional adrkit MCP server can supply the same read-only retrieval if the project has connected it separately.
The skill expects a repository that keeps ADRs as markdown with typed frontmatter and needs the adr CLI available. When the agent drafts a new record, it creates it as proposed, marks it as agent-drafted and adds affects matchers that bind it to code paths, leaving ratification to a human.
When your agent uses it
Use when planning, designing, reviewing, or changing code in a repository that keeps ADRs (usually docs/adr) — to load the decisions that already govern the work, check a plan or diff against them, or record a new decision. Also use when a choice feels already-settled and you cannot find where it was settled.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (9 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the adrkit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add mbeacom/adrkit
/plugin install adrkit@adrkitOr copy only this skill to ~/.claude/skills/decision-memory:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mbeacom/adrkit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/decision-memory &&
cp -R "$tmp/packages/adapters/agent-plugin/skills/decision-memory" ~/.claude/skills/decision-memory &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/decision-memory inside it instead.
Copy the skill folder to ~/.agents/skills/decision-memory to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mbeacom/adrkit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/decision-memory &&
cp -R "$tmp/packages/adapters/agent-plugin/skills/decision-memory" ~/.agents/skills/decision-memory &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/decision-memory inside it instead.
Copy the skill folder to ~/.cursor/skills/decision-memory to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mbeacom/adrkit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/decision-memory &&
cp -R "$tmp/packages/adapters/agent-plugin/skills/decision-memory" ~/.cursor/skills/decision-memory &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/decision-memory inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mbeacom/adrkit.git --path packages/adapters/agent-plugin/skills/decision-memoryOr copy the folder to ~/.gemini/skills/decision-memory yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/decision-memory:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mbeacom/adrkit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/decision-memory &&
cp -R "$tmp/packages/adapters/agent-plugin/skills/decision-memory" ~/.copilot/skills/decision-memory &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/decision-memory inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mbeacom/adrkit.gitThen copy adrkit/packages/adapters/agent-plugin/skills/decision-memory into your agent's skills folder as decision-memory. Agents that support SKILL.md read one folder per skill.
What it does
- Governing decision lookup
- Finds which recorded decisions apply to the files a plan will change.
- Plan reconciliation
- Requires each governing decision to be marked as complied with, departed from, or superseded.
- Rejected decision check
- Searches rejected and superseded records so abandoned options are not re-proposed.
- New decision drafting
- Scaffolds a proposed ADR with affects matchers and alternatives considered.
- Inbound code markers
- Reads @adr markers in source files to link code to its governing decision.
- Corpus validation
- Runs adr lint and interprets its exit codes for validation.
Good for
- Check a feature plan against the existing architecture decisions before coding
- Review a diff to see whether it conflicts with a recorded decision
- Find out whether a technology choice was already settled and where
- Draft a new architecture decision record for a database or boundary change
- List proposed decisions still awaiting review
Decision memory FAQ
What does the skill need to run?
It needs the adr CLI from @adrkit/cli, found through ADRKIT_CLI, ./node_modules/.bin/adr, or PATH. It expects ADRs stored as markdown, usually under docs/adr.
Does Decision memory change existing decisions?
It does not edit accepted records or mark anything accepted. New records are created as proposed, and superseding is left for a human to ratify.
Is the adrkit MCP server required?
No. The MCP server is optional and not bundled with this plugin. The CLI provides the same retrieval and is the only path that can write.
How do I install Decision memory in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/decision-memory to use it in all your projects, or to .claude/skills/decision-memory in one project. Or install the adrkit plugin, which includes it: /plugin marketplace add mbeacom/adrkit, then /plugin install adrkit@adrkit.
Does Decision memory run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Decision memory?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Decision memory?
The closest alternatives to Decision memory are Docs adr, Architecture decision records, Decision backfill, Decision log and Adr workflow.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mbeacom/adrkit

Reviews pull requests for defects and conflicts with recorded architecture decisions
- Open source
- 26 GitHub stars
- Developer tools

Finds undocumented architecture decisions in code, docs and git history for ADR drafting
- Open source
- 26 GitHub stars
- Developer tools




