decided-capture

A guided process for recording a new decision or long-term requirement as a requirements-as-code artifact, meaning a structured file that can be validated by tools. The author confirms the proposed record, and an independent reviewer promotes it through a pull request.

In plain words
What is it for?
Use it to interview someone about a decision or requirement, create one valid artifact using the project's actual schema, validate it with the available command-line tool, and prepare it for independent review.
Why use it?
It prevents important decisions from being captured as vague notes or invented fields. It also separates lasting project knowledge from work-tracking details such as owners, deadlines, and priorities.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/asdecided/core/decided-capture
Any agent
npx skills add asdecided/core --skill decided-capture
Clone the repo
git clone --depth 1 https://github.com/asdecided/core

Made for: Claude Code, Codex.

Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,861 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00113 $0.01861
Opus 5 $0.00056 $0.00931
Sonnet 5 $0.00023 $0.00372
Haiku 4.5 $0.00011 $0.00186

Measured 2d ago against content hash 9582d612e8fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

decided-capture 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 2d ago.

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.

.claude/skills/decided-capture/SKILL.md · 164 lines

How it starts

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

RAC interview capture

Turn a conversation into one valid RAC artifact. You interview the author and propose; the human ratifies; decided validate is the deterministic check; an independent reviewer promotes it by pull request. This skill never adds AI to the AsDecided core — it runs in the coding agent and uses the decided CLI.

Hard constraints

  • Capture knowledge, not work. Record a decision or a long-lived requirement and its rationale — never owners, assignees, sprints, priorities, or due dates. If the conversation is about who does what by when, that belongs in the team's work tracker, not in RAC; say so and stop.
  • The schema is not yours to invent. Read the real shape with decided schema <type> (and decided schema for the recognised types). Use the real section names, the real artifact types, and the real ## Related <Type> relationship sections. Never guess or hard-code a field, type, or relationship kind. If you cannot run decided schema, stop and say so.
  • No invention. Capture only what the author actually tells you. Where a required section has no material, ask a question — do not fill it with plausible-sounding text. The interview gathers facts; it does not author them.
  • Human ratification is mandatory and explicit (before any file is written). Present the draft and require the user to confirm or correct (a) the artifact type, (b) the title, and (c) each relationship before you write anything. Relationships are suggestions to confirm, never silently asserted. The id is minted by decided new (opaque, system-assigned) — never hand-write or choose it.
  • Close on deterministic validation. After writing, run decided validate. If it fails, show the errors, offer to fix them, and re-validate. Never leave an invalid artifact behind.
  • Save is a draft commit; promotion is a pull request. A fresh capture is untrusted until a human reviews it. Write the artifact, optionally commit it as a draft on a branch when the user confirms, but never write straight to the trusted corpus, never auto-commit without confirmation, and never self-merge. The trust boundary is review and merge by someone other than the author.

Read the full file on GitHub · 164 lines

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. 2d ago First seen · 164 lines · 113 tokens per session scan A 9582d612e8fe

Subscribe to this mod's changes

decided-capture is a skill published in the GitHub repository asdecided/core (292 stars, last pushed 2d ago), licensed Apache-2.0. It adds 113 tokens to every session and 1,861 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

project-docs

Software development project documentation management and progress tracking. Use when: (1) Initializing a new software project and need to create all required documentation (MRD, PRD, Technical Plan, Roadmap), (2) Updating project roadmap after completing tasks, (3) Getting a summary of current project progress, (4)…

lorissun2025/project-docs · 97 tokens

ingest-l1

L1 analysis loop for the abapwiki knowledge base: for each batch it launches the abap-analyzer sub-agent in parallel, then the adversarial judge abap-deepcheck (separate session), applies only the analyses that pass the fail-closed gate, and commits. Resumes exactly after an interruption. Use this skill to document…

Gixsy95/abap_wiki · 91 tokens

research-l2

Executes Phases 1-3 of the L2 process of the abapwiki knowledge base on a slice: launches the abap-functional-researcher sub-agent (gap discovery + multi-source auto-research: wiki -> raw/docs -> MCP abap-fs on the system read-only -> standard knowledge), ingests gaps and evidence, and generates questionnaires for…

Gixsy95/abap_wiki · 115 tokens

slice-init

Creates an L2 slice in the abapwiki knowledge base: a business process on which to build functional documentation. Writes the manifest (curated anchors + mandatory real owner) and derives the membership from the dependency graph (BFS hop<=2). Use this skill to start the L2 process on a custom domain. Does not promote…

Gixsy95/abap_wiki · 86 tokens

capture-answer

Ingests an expert's answers to an L2 questionnaire in the abapwiki knowledge base: transforms the answers (filled in the interviews/ file or given verbally) into a canonical citable expert-answer (slices/ /inputs/expert-answers/), moves gaps to 'answered' and closes the questions. Use this skill when the owner/expert…

Gixsy95/abap_wiki · 88 tokens

ingest-l0

L0 bootstrap of the abapwiki knowledge base: creates stubs for all custom objects from the TADIR. Use this skill to initialize the repo from scratch or to ingest a new TADIR export. Deterministic operations (no LLM sub-agent), idempotent.

Gixsy95/abap_wiki · 64 tokens