# Context and decisions

> Context and decisions is an open-source agent skill for knowledge and memory. Keeps business terms consistent in a glossary and routes hard decisions to ADRs. 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/smartworldarafath/REA_Skill/tree/main/.agents/skills/context-and-decisions
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** context-and-decisions
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-01

## About

This skill manages stable domain language separately from architectural reasoning. When a project's terms are re-explained often, carry several meanings, or cause module-boundary mistakes, the agent first looks for an existing glossary or context map and reuses it. A new CONTEXT.md is proposed only when no equivalent exists and a term is resolved, and it is created only after explicit user approval.

During a modeling conversation the agent challenges contradictions with the current glossary, separates overloaded words into distinct concepts, and tests relationships with concrete scenarios. It checks claims against code, tests and contracts, but treats code as current behavior rather than the intended business rule. Unconfirmed interpretations are marked as needing confirmation instead of being stated as fact.

Durable, hard-to-reverse decisions are handed to the architecture-decision-records skill, which keeps the repository's existing ADR location and format. The context document links to that record rather than copying it. Tasks, schedules and status stay in the project's existing issue tracker.

## When your agent uses it

> Govern stable domain context with a narrowly scoped CONTEXT.md when needed, and route hard-to-reverse decisions to ECC's existing architecture-decision-records skill. Use when domain terms require repeated explanation, one term has multiple meanings, unclear language causes module-boundary mistakes, or domain semantics must remain separate from architecture decisions.

## What it can access

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

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/context-and-decisions)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/context-and-decisions)

## Features

- **Domain language glossary:** Records precise definitions, relationships and confirmed ambiguities for business terms in one place.
- **Ambiguity challenging:** Compares user wording against the glossary and asks which meaning is intended when terms conflict.
- **Scenario-based probing:** Uses concrete edge cases to expose boundaries between related business concepts.
- **Evidence cross-checking:** Compares stated terms against code, tests and contracts and surfaces mismatches for the owner to decide.
- **ADR handoff:** Routes hard-to-reverse architectural decisions to the existing architecture-decision-records workflow and links to them.
- **Scope discipline:** Avoids empty context files, implementation details and schedules inside the glossary.

## Good for

- Define an overloaded business term like account or cancellation consistently across a codebase
- Check whether a requested feature contradicts the project's existing domain glossary
- Mark an unclear domain rule as needing confirmation from the business owner
- Record a confirmed term definition in the existing glossary with its source
- Hand off a durable storage or module-boundary decision to the ADR workflow

## Install

### Claude Code

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

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/context-and-decisions`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/context-and-decisions &&
cp -R "$tmp/.agents/skills/context-and-decisions" ~/.claude/skills/context-and-decisions &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/context-and-decisions` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/context-and-decisions` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/context-and-decisions &&
cp -R "$tmp/.agents/skills/context-and-decisions" ~/.agents/skills/context-and-decisions &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/context-and-decisions` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/context-and-decisions` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/context-and-decisions &&
cp -R "$tmp/.agents/skills/context-and-decisions" ~/.cursor/skills/context-and-decisions &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/context-and-decisions` 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/smartworldarafath/REA_Skill.git --path .agents/skills/context-and-decisions
```

Or copy the folder to `~/.gemini/skills/context-and-decisions` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/context-and-decisions &&
cp -R "$tmp/.agents/skills/context-and-decisions" ~/.copilot/skills/context-and-decisions &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/context-and-decisions` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then copy `REA_Skill/.agents/skills/context-and-decisions` into your agent's skills folder as `context-and-decisions`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Context and decisions create a CONTEXT.md file automatically?

No. It reuses an existing mapped glossary or context document when one exists. A new CONTEXT.md is proposed only when no equivalent exists and a term is resolved, and the user must explicitly approve creating it.

### Which tools does Context and decisions depend on?

It relies on the architecture-decision-records skill for decisions, and on living-docs-governance and docs-governance for lifecycle and routing. The skill has no scripts of its own.

### When does Context and decisions activate?

When domain terms are repeatedly re-explained, one term has several meanings, unclear language causes implementation drift, or a durable decision should be handed to the ADR workflow. Ordinary bug fixes that only use established vocabulary do not trigger it.

### Where do schedules and task status go?

They stay in the project's existing tracker, such as GitHub Issues or Linear. They are kept out of CONTEXT.md and ADRs.

### How do I install Context and decisions in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/context-and-decisions to use it in all your projects, or to .claude/skills/context-and-decisions in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

### Does Context and decisions 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 Context and decisions?

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 Context and decisions?

The closest alternatives to Context and decisions are Domain modeling, Memory sync, Agent log, Nvidia ontology management and Docbrain capture.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Domain modeling](https://ai-powered.com/skills/domain-modeling): Domain modeling is an open-source agent skill for developer tools.
- [Memory sync](https://ai-powered.com/skills/memory-sync): Memory sync is an open-source agent skill for knowledge and memory.
- [Agent log](https://ai-powered.com/skills/agent-log): Agent log is an open-source agent skill for knowledge and memory.
- [Nvidia ontology management](https://ai-powered.com/skills/nvidia-ontology-management): Nvidia ontology management is an open-source agent skill for knowledge and memory.
- [Docbrain capture](https://ai-powered.com/skills/docbrain-capture): Docbrain capture is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/context-and-decisions
