decisions

decisions is a skill for Claude Code, Codex from ctxpipe-ai/ctxpipe. It costs 43 tokens per session (1,425 once invoked), scanned A, original, MIT.

An architecture-decision documentation tool for ADRs, which are short records explaining important technical choices. It records each decision's status, date, scope, and the decision it replaces when applicable.

In plain words
What is it for?
Use it to turn repository ADR files into linked knowledge records and update existing records when needed.
Why use it?
It keeps important design choices searchable and avoids creating duplicate records. Later work can use those decisions instead of treating the code as the only source of guidance.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to turn repository ADR files into linked knowledge records and update existing records when needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ctxpipe-ai/ctxpipe/decisions
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 ctxpipe-ai/ctxpipe --skill decisions
Clone the repo
git clone --depth 1 https://github.com/ctxpipe-ai/ctxpipe

Made for: Claude Code, Codex.

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 decisions

README.md
[![agentmods](https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/decisions/github.svg)](https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/decisions)
Your own site
<a href="https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/decisions"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/decisions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for decisions

Your own site · 80×15
<a href="https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/decisions"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/decisions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,425 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.00043 $0.01425
Opus 5.5 $0.00017 $0.00570
Sonnet 5.5 $0.00009 $0.00285
Haiku 4.5 $0.00004 $0.00143

Measured 8d ago against content hash eee2d7ab20f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

decisions 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 8d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/decision-parse.mjs, scripts/decisions.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

apps/backend/ingest-skills/decisions/SKILL.md · 66 lines

How it starts

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

decisions

The host runs this skill once for each repository, on the assembled ref after the root steps. A script finds the decision files and reads what a script can read. You read each decision file and write one context file for it.

  1. The step prompt gives the arguments: --source, --source-url, --source-path, and --roots (the root-to-file map, ADR-052 section 6). Run node /ctxpipe/skills/decisions/scripts/decisions.mjs <arguments>.

  2. The script writes JSON that matches schema.json to stdout. Each entry in decisions is one decision file of the source (path). It gives the context file to write (target) and how (write):

    • create: a new file.
    • update: a file that this source already wrote, or that describes the same decision. Change it with ctxpipe-stage <target>, and keep what is still true.
    • additive: a file that a human or another source owns. Add only new claims and new lines at the end of its ## Related section.

    Never write a second file for a decision that has existing. The check in step 6 rejects it.

  3. For each entry, read the decision file path in /ctxpipe/source/<handle>. Run ctxpipe-stage <target>, then write the file at the path that it prints.

  4. For a create or an update, write this shape. Use name from the entry as it is. Write Status as the entry status with a capital letter. The entry date is empty when the file declares none: then write no Date line.

    ---
    kind: Decision
    name: "<name>"
    summary: "<one sentence in your words: what was decided>"
    claims: <the claims of step 5>
    ---
    
    # <name>
    
    **Status:** <Status>
    **Date:** <date>
    **Source:** `<path>`
    
    ## Context
    <why the decision was necessary, in your words>
    
    ## Decision
    <what was decided, in your words>
    
    ## Consequences
    <what follows from it, in your words>
    
    ## Related
    - [<name of a file in related>](<relative path>)
    

    Keep the **Source:** line: the script uses it to find a file whose decision file has left the source. Do not write generated_by, sources, source_sha, skill, bundle, or confidence. The host sets them.

  5. Claims. Copy these from the entry, with evidence.kind: script:

    • each path in influences becomes a claim predicate: INFLUENCES with evidence.path set to the entry path;
    • each item of supersedes becomes a claim predicate: SUPERSEDES, to from the item, and evidence.path from the item.

    Do not add an INFLUENCES or a SUPERSEDES claim of your own. Scope and replacement follow fixed rules (below), and a claim from reading prose is not one of them. You may add other claims with evidence.kind: model when the text states them and the target is a file in the context.

  6. When the entry has related, add each file as a line in ## Related. For additive, add only the claims and the Related lines, and one Related line that names the decision file: - Decision `<path>` of the source. The script finds the files of earlier pages by the decision file path.

  7. For each path in stale, run ctxpipe-delete <path> --reason "The decision file left the source".

  8. Run node /ctxpipe/skills/decisions/scripts/decisions.mjs <arguments> --check. Fix each problem that it lists, and run it again until it prints no problem.

  9. Run ctxpipe-finish. When the result has more: true, run ctxpipe-finish --more: the host commits the step and runs the skill again on the new tip. The script then gives the next decision files (at most 20 for each page); it finds the ones that this run already wrote.

Read the full file on GitHub · 66 lines

Files

What ships with it

3 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. 8d ago First seen · 66 lines · 43 tokens per session scan A eee2d7ab20f9

Subscribe to this mod's changes

decisions is a skill published in the GitHub repository ctxpipe-ai/ctxpipe (27 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,425 once invoked, about $0.0002 per session on Opus 5.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-10-21.

Related

Other skills, from other repositories

setup-open-index

Install and configure Open Index as the read/write context layer for a domain-specialized agent. Use when setting up a legal, marketing, customer support, sales, infrastructure, or other domain agent with Open Index over MCP.

DrDroidLab/open-index · 48 tokens

edit-brain

How to add or edit knowledge in this brain — define doctypes, add or update entities, and correlate them with relationships. Use whenever the user asks to add/update knowledge, define a concept, record a learning, or link two things in the brain.

DrDroidLab/open-index · 55 tokens

bcc-plan-spar

BCC align+lock+review PLAN.md for one slice (no product code). Slash: /bcc-plan-spar · chat: bcc:plan-spar · "lock PLAN" · spar the plan. Args: rounds=N (auto-review cap), review=self|subagent|cli|auto|off. Grill until clear enough (no default Q&A quota). Hand off to bcc-clean-cut after human APPROVE.

bo-cao/breaking-coding-chaos · 91 tokens

bcc-throughline

BCC global progress cockpit (plans.md/progress.md/findings.md). Slash: /bcc-throughline · chat: bcc:throughline · "where are we" · reprioritize · resume after /clear. Not for coding or full PLAN grill.

bo-cao/breaking-coding-chaos · 56 tokens

bcc-breaking-coding-chaos

BCC main skill: dual-loop coding workflow (throughline → plan-spar → clean-cut) or quick status+next. Slash: /bcc-breaking-coding-chaos · chat: bcc:breaking-coding-chaos · "run BCC" · "BCC status" · "what next BCC". Needs a real idea (1:1 implement). Args: goal text, or status. May pass plan-spar review budget as…

bo-cao/breaking-coding-chaos · 101 tokens

ambiguity-detector

Takes surface scan results, optional LLM synthesis open-question entries, and optional tree-sitter AST signals to score project ambiguities (1-10). Outputs structured ambiguityfeed for smart-question-generator. Pure heuristic — no LLM calls. Designed for Stage 3.5 of the /gaai:bootstrap pipeline (between LLM synthesis…

digipulse-engineering/GAAI-framework · 77 tokens