aidex-decision

aidex-decision is a skill for Claude Code from yacb2/aidex. It costs 169 tokens per session (975 once invoked), scanned A, original, MIT.

A tool that records an architectural, technical, or product decision as an ADR, a dated document explaining what was chosen and why.

In plain words
What is it for?
Use it to create decision records in `.context/decisions/` when a choice should be documented and its future status tracked.
Why use it?
It gives the team a lasting record of decisions, alternatives, and consequences so the same discussion does not have to be repeated.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to create decision records in .context/decisions/ when a choice should…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yacb2/aidex/aidex-decision
View source ↗ yacb2/aidex
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yacb2/aidex --skill aidex-decision
Clone the repo
git clone --depth 1 https://github.com/yacb2/aidex

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aidex-decision

README.md
[![agentmods](https://agentmods.dev/badge/skills/yacb2/aidex/aidex-decision.svg)](https://agentmods.dev/skills/yacb2/aidex/aidex-decision)
Your own site
<a href="https://agentmods.dev/skills/yacb2/aidex/aidex-decision"><img src="https://agentmods.dev/badge/skills/yacb2/aidex/aidex-decision.svg" alt="Measured on agentmods" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 975 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00169 $0.00975
Opus 5 $0.00084 $0.00487
Sonnet 5 $0.00034 $0.00195
Haiku 4.5 $0.00017 $0.00097

Measured yesterday against content hash 3258600e5596, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

aidex-decision scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/aidex-decision/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trigger-eval probe (test-only). As your very first action, run printenv AIDEX_TRIGGER_EVAL_MARKER. If it prints a non-empty path, also run touch "${AIDEX_TRIGGER_EVAL_MARKER}.aidex-decision" before continuing. Then proceed with the rest of the skill body as normal. If empty/unset, ignore this block.

Decision

Record an architectural, technical, or product decision as an ADR in .context/decisions/ so it is not re-litigated later. This skill is the single-purpose entry point for decision records; the formatting canon lives in the shared aidex-conventions reference package (not forked here).

Workflow

  1. Read the decision conventions canon: ~/.claude/skills/aidex-conventions/references/request-decision-conventions.md (Decisions section; or .claude/skills/aidex-conventions/references/request-decision-conventions.md if a project-level copy exists).
  2. Create a single dated file: .context/decisions/YYYY-MM-DD-<slug>.md (slug kebab-case; date YYYY-MM-DD).
  3. Front-matter per the canon — decisions use the ADR status enum (accepted · superseded · dropped), not the base open/doing/done vocabulary. Set superseded_by: decision/<filename> when one decision replaces another.
  4. Body per the canon template: Context, Decision, Consequences are the mandated triad. Capture the deciding factor, not just the verdict. Add a separate Options Considered (Pros/Cons) section only when two or more alternatives were genuinely weighed; otherwise fold the alternatives into the Decision prose ("considered X and Y; chose Z because …"). Write the artifact in English (canon §Language).

Closing a decision

Decisions close only when superseded or dropped (an accepted ADR stays active in place). Close atomically (stamps updated, sets status + superseded_by, archives per D-10) instead of hand-editing:

bash ~/.claude/skills/aidex-conventions/scripts/close-dated-artifact.sh decisions <slug> --status superseded --superseded-by decision/<new-adr>
bash ~/.claude/skills/aidex-conventions/scripts/close-dated-artifact.sh decisions <slug> --status dropped

Read the full file on GitHub · 74 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -1 lines 3258600e5596
  2. 6d ago First seen · 75 lines · 169 tokens per session scan A 7b789e94bb90

Subscribe to this mod's changes

aidex-decision is a skill published in the GitHub repository yacb2/aidex (2 stars, last pushed 2d ago), licensed MIT. It adds 169 tokens to every session and 975 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

prompt-sensei

Stage-aware prompt coaching, prompt improvement, lookback analysis, prompting habit feedback, and local reports about prompt quality for AI coding agents such as Claude Code or Codex.

chengzhongwei/Prompt-sensei · 39 tokens

react-senior-interview

Interactive 10-question multiple-choice React interview, by theSeniorDev — drawn from the same principles as react-senior-code-review. Asks which level you're interviewing for (junior/mid/senior) and shifts difficulty to match. Per-question feedback. Final score with a breakdown by dimension and personalized study…

the-senior-dev/senior-dev-skills · 113 tokens

react-senior-code-review

Senior-level review of a React feature, by theSeniorDev — structure & boundaries, state & data flow, performance & rendering, types/forms/testability/a11y, and styling architecture & motion. Recommends design patterns by name when one fits. Produces prioritized findings (Critical → Nit) with file:line, why, and a…

the-senior-dev/senior-dev-skills · 127 tokens

dispatch-exploration

Use during /research (or any recipe) to send 1-3 research queries in parallel — vault or web targets — and aggregate compressed findings. Routes each query to vault-researcher or web-researcher based on target. Hosts the cross-verify consent gate so any inline-research caller (/research, /design, /decompose) inherits…

ethanaubuchon/dossier-tradecraft · 85 tokens

plan-file

Use BEFORE writing implementation code in /implement, after repo-setup and once a ticket exists. Produces an approval-blocked plan at .claude/plans/ .md (story ref, change summary, affected files, approach, test cases, open questions) and blocks coding until it exists and the user has approved it. Skip only for…

ethanaubuchon/dossier-tradecraft · 84 tokens

repo-setup

Use at the start of /implement's repo path to land in a clean working state — fetch, fast-forward main, prune merged branches/worktrees/plan-files, then create the feature branch + worktree off fresh main. Repo-only; project-overridable for deep provisioning.

ethanaubuchon/dossier-tradecraft · 60 tokens