twining-decide

twining-decide is a skill for Claude Code, Codex from daveangulo/twining-mcp. It costs 32 tokens per session (1,276 once invoked), scanned A, original, MIT.

A skill for recording important technical decisions and the reasons behind them. It documents the chosen option, alternatives that were rejected, and links that help people trace the decision later.

In plain words
What is it for?
Use it after choosing between technologies, system designs, or implementation approaches with meaningful trade-offs.
Why use it?
It prevents architectural choices from becoming unexplained assumptions. Future developers and agents can understand why a solution was selected and reconsider it when circumstances change.

Skill for Claude CodeCodex

Part of the twining plugin — 9 skills, 2 commands, 2 agents, 5 hooks shipped together

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/daveangulo/twining-mcp/twining-decide
Any agent
npx skills add daveangulo/twining-mcp --skill twining-decide
Clone the repo
git clone --depth 1 https://github.com/daveangulo/twining-mcp

Made for: Claude Code, Codex.

Or install twining, the plugin that ships this one along with the rest of its 9 skills, 2 commands, 2 agents, 5 hooks.

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 twining-decide

README.md
[![agentmods](https://agentmods.dev/badge/skills/daveangulo/twining-mcp/twining-decide.svg)](https://agentmods.dev/skills/daveangulo/twining-mcp/twining-decide)
Your own site
<a href="https://agentmods.dev/skills/daveangulo/twining-mcp/twining-decide"><img src="https://agentmods.dev/badge/skills/daveangulo/twining-mcp/twining-decide.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,276 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.00032 $0.01276
Opus 5 $0.00016 $0.00638
Sonnet 5 $0.00006 $0.00255
Haiku 4.5 $0.00003 $0.00128

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

Security

Grade A, and why

twining-decide 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 5d 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.

plugin/skills/twining-decide/SKILL.md · 81 lines

How it starts

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

Twining Decide — Decision Recording

You've made (or are about to make) a significant technical choice. Record it so future sessions and agents can understand what was decided, why, and what alternatives were rejected.

Which tool to call. twining_record is on the default tool surface and routes decisions to the same decision store as twining_decide. twining_decide and the decision-lifecycle verbs (twining_link_commit, twining_override, twining_reconsider, twining_promote) exist only when the project sets tools.full_surface: true in .twining/config.yml. Use twining_record unless you have confirmed the full surface is available — it works everywhere.

When to Invoke

  • After choosing between architectural alternatives (e.g., REST vs gRPC, PostgreSQL vs MongoDB)
  • After making implementation choices with tradeoffs (e.g., caching strategy, error handling approach)
  • When the user says "let's go with", "I've decided", or makes an architectural choice
  • After resolving a design question with alternatives considered
  • NOT for trivial choices (variable names, formatting, simple config values)

Workflow

1. Identify the Decision Scope

Use the narrowest path that covers the affected area:

  • "src/auth/" for auth-related decisions
  • "src/database/schema.ts" for a specific file
  • Never "project" unless it truly affects everything

2. Record the Decision

Call twining_record with a summary of what you did and a decisions array. Each entry is either a natural sentence — "Chose JWT over server-side sessions — stateless auth survives horizontal scaling" — or a structured object when the content is too long or too structured to split cleanly:

  • summary: One-line statement of the choice (e.g., "Use JWT for stateless authentication")
  • rationale: Why this option was chosen. Give the actual reasoning. If your rationale merely restates the summary, the record captures the WHAT and loses the WHY — which is the entire reason this system exists.
  • alternatives: At least one rejected option with option and reason_rejected, optionally pros/cons
  • context: What situation prompted this decision
  • confidence: high (well-researched, proven), medium (reasonable, some uncertainty), low (best guess, needs validation)
  • domain: e.g. architecture, implementation, testing, deployment, security, performance, api-design, data-model — inferred from content when omitted
  • constraints / assumptions: What limited the options, and what you're treating as true

Read the full file on GitHub · 81 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. 5d ago First seen · 81 lines · 32 tokens per session scan A 65bc1bf2f032

Subscribe to this mod's changes

twining-decide is a skill published in the GitHub repository daveangulo/twining-mcp (7 stars, last pushed 9d ago), licensed MIT. It adds 32 tokens to every session and 1,276 once invoked, about $0.0002 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

potpie-infra-architecture

Use for project infra and architecture context: environments, adapters, runtime configuration, deployments, service dependencies, datastores, API contracts, ownership, incidents, and dependency blast radius.

potpie-ai/potpie · 43 tokens

alfworld-search-pattern-executor

Systematically searches a sequence of likely locations for a target object based on common sense. Use when you need to find a specific object and know which receptacles to check but not which one contains it. Takes a list of candidate receptacles, orchestrates navigation and inspection, and outputs when the target is…

zjunlp/SkillNet · 74 tokens

task-planning-arch

计算任务 gap 并产出下一步可执行子任务 List[TaskSpec];gap 已闭返回空数组。对齐 arch 场景(架构师名册/技术栈概览/双视角分析)确定式分解——按根目标交付物集合 + donechildren 查表(参照 task-planning storage 特例,非自由 LLM 分解)。.

inclusionAI/Avernet · 89 tokens

task-search

在框架预查的候选 bot 集里决出执行者(who)与协作方式(how),返回 4 态 SearchResult(HITSINGLE/HITGROUP/HITMULTIBOTS/MISS)。对齐案例剧本确定式映射。.

inclusionAI/Avernet · 59 tokens

scienceworld-growth-focuser

Use when you have planted a seed or need to track a plant's growth stage (sprouting, flowering, reproduction). Applies the 'focus on' action to a specific plant or biological entity to signal intent and monitor its development. Trigger after planting or when you need to observe life cycle progression in the…

zjunlp/SkillNet · 71 tokens

scienceworld-tool-user

Uses a tool from inventory on a target object or location to perform a specific environmental interaction, such as digging, cutting, or measuring. Use this skill when a task requires modifying the environment or manipulating materials with a tool (e.g., using a shovel to dig soil, a thermometer to measure temperature…

zjunlp/SkillNet · 87 tokens