twining-decide

twining-decide is a skill for Claude Code 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 Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it after choosing between technologies, system designs, or implementation approaches with meaningful trade-offs.

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

Made for: Claude Code.

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/github.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/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 twining-decide

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00032 $0.01276
Opus 5.5 $0.00013 $0.00510
Sonnet 5.5 $0.00006 $0.00255
Haiku 4.5 $0.00003 $0.00128

Measured 3mo ago against content hash 65bc1bf2f032, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 1mo ago), licensed MIT. It adds 32 tokens to every session and 1,276 once invoked, about $0.0001 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-08-31.

Related

twining-decide compared with skills from other repositories

twining-decide next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
twining-decidedaveangulo/twining-mcpSkill71mo agoMITA32Claude Code
graphifyGraphify-Labs/graphifySkill155ktodayApache-2.0B76Claude Code
graph-mutation-planpotpie-ai/potpieSkill5.8k5d agoApache-2.0A22Claude Code, Codex
review-offered-taskdesplega-ai/agent-swarmSkill1.1ktodayMITA33Claude Code
tencent-ima-wikizj-unicom-ai/UniEmployeeSkill88710d agoMITA127Claude Code, Codex
session-file-publishinclusionAI/AvernetSkill612todayApache-2.0A69Claude Code, Codex
motion-design-replicationdesplega-ai/agent-swarmSkill1.1ktodayMITA95Claude Code