# Decision memory

> Decision memory is an open-source agent skill for developer tools. Loads, checks and records architecture decisions (ADRs) so the agent plans against them. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mbeacom/adrkit/tree/main/packages/adapters/agent-plugin/skills/decision-memory
- **Repository:** https://github.com/mbeacom/adrkit
- **GitHub stars:** 26
- **License:** Apache-2.0
- **Skill name:** decision-memory
- **Collection:** https://github.com/mbeacom/adrkit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mbeacom/adrkit/tree/HEAD/packages/adapters/agent-plugin/skills/decision-memory)
- [License: Apache-2.0](https://github.com/mbeacom/adrkit/tree/HEAD/packages/adapters/agent-plugin/skills/decision-memory)

## Features

- **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

## Install

### Claude Code

This skill ships in the `adrkit` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add mbeacom/adrkit
/plugin install adrkit@adrkit
```

Or copy only this skill to `~/.claude/skills/decision-memory`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/decision-memory` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/decision-memory` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/mbeacom/adrkit.git --path packages/adapters/agent-plugin/skills/decision-memory
```

Or copy the folder to `~/.gemini/skills/decision-memory` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/decision-memory`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mbeacom/adrkit.git
```

Then 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.

## 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.

## Alternatives

- [Docs adr](https://ai-powered.com/skills/docs-adr): Docs adr is an open-source agent skill for developer tools.
- [Architecture decision records](https://ai-powered.com/skills/architecture-decision-records): Architecture decision records is an open-source agent skill for developer tools.
- [Decision backfill](https://ai-powered.com/skills/decision-backfill): Decision backfill is an open-source agent skill for developer tools.
- [Decision log](https://ai-powered.com/skills/decision-log-berkcangumusisik): Decision log is an open-source agent skill for developer tools.
- [Adr workflow](https://ai-powered.com/skills/adr-workflow-ramboz): Adr workflow is an open-source agent skill for developer tools.
- [Create architectural decision record](https://ai-powered.com/skills/create-architectural-decision-record): Create architectural decision record is an open-source agent skill for developer tools.
- [Vibe decision journal](https://ai-powered.com/skills/vibe-decision-journal): Vibe decision journal is an open-source agent skill for developer tools.
- [System design edho ferdian](https://ai-powered.com/skills/system-design-edho-ferdian): System design edho ferdian is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/decision-memory
