decision-matrix

decision-matrix is a skill for Claude Code, Codex from iflytek/skillhub. It costs 45 tokens per session (2,288 once invoked), scanned A, original, Apache-2.0.

A structured way to compare choices by weighing advantages, disadvantages, priorities, and trade-offs.

In plain words
What is it for?
Ranking alternatives, examining opportunity costs, running pre-mortems, and deciding which option best fits stated preferences.
Why use it?
It makes assumptions visible and helps prevent important costs, risks, or constraints from being overlooked.

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/iflytek/skillhub/decision-matrix
Any agent
npx skills add iflytek/skillhub --skill decision-matrix
Clone the repo
git clone --depth 1 https://github.com/iflytek/skillhub

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 decision-matrix

README.md
[![agentmods](https://agentmods.dev/badge/skills/iflytek/skillhub/decision-matrix.svg)](https://agentmods.dev/skills/iflytek/skillhub/decision-matrix)
Your own site
<a href="https://agentmods.dev/skills/iflytek/skillhub/decision-matrix"><img src="https://agentmods.dev/badge/skills/iflytek/skillhub/decision-matrix.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,288 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.00045 $0.02288
Opus 5 $0.00023 $0.01144
Sonnet 5 $0.00009 $0.00458
Haiku 4.5 $0.00005 $0.00229

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

Security

Grade A, and why

decision-matrix 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 3d 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.

builtin-skills/skills/decision-matrix/SKILL.md · 227 lines

How it starts

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

Decision Matrix

What It Does

Apply a transparent framework to compare options, expose trade-offs, and identify what information could change a choice.

Treat every score as a transparent expression of the user's stated preferences, not as objective truth. Clearly label estimates and assumptions, and never invent missing costs, probabilities, constraints, or preferences.

For medical, legal, financial, safety-critical, or other high-impact decisions, use the frameworks only to organize questions and trade-offs. Do not present the highest score as professional advice or a final decision. Encourage the user to verify material facts and consult an appropriately qualified professional.


Frameworks Available

1. Classic Pros & Cons (Benjamin Franklin Method)

Best for: Quick decisions with low-to-moderate stakes

Step Action
1 Draw two columns: PROS and CONS
2 List every reason for and against — no filtering
3 Weigh each item (not all pros are equal). Assign +1 to +5 for pros, -1 to -5 for cons
4 Sum the scores, then inspect the strongest items, uncertainty, and any non-negotiables

Guardrail: Pros/cons alone miss hidden assumptions. Always follow with: "What am I not considering?"

2. Weighted Decision Matrix (Pugh Matrix)

Best for: Comparing multiple options against multiple criteria

| Criteria               | Weight (1-5) | Option A | Option B | Option C |
|------------------------|-------------|----------|----------|----------|
| Cost                   |      4      |   8/10   |   6/10   |   9/10   |
| Time to Market         |      3      |   7/10   |   9/10   |   5/10   |
| Strategic Fit          |      5      |   9/10   |   4/10   |   7/10   |
| Team Capacity          |      2      |   6/10   |   8/10   |   4/10   |
| **Weighted Total**     |             |   110    |   87     |   94     |

Steps:

  1. List all viable options (columns in the example)
  2. Define criteria that matter (rows in the example)
  3. Assign a weight (1-5) to each criterion based on importance
  4. Score each option per criterion (1-10)
  5. Multiply score × weight, sum across criteria
  6. Use the highest total as a starting point, then inspect assumptions, uncertainty, must-haves, and reversibility

Read the full file on GitHub · 227 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. 3d ago First seen · 227 lines · 45 tokens per session scan A 5d564679a7c1

Subscribe to this mod's changes

decision-matrix is a skill published in the GitHub repository iflytek/skillhub (4,939 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 2,288 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-30.

Related

Other skills, from other repositories

openspec-explore

Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.

tbdavid2019/openclaw-docs-skill · 39 tokens

openclaw-docs

Find authoritative guidance for installing, configuring, operating, securing, and troubleshooting OpenClaw, including channels, model providers, Gateway operations, tools, plugins, automation, nodes, multi-agent routing, and CLI errors. Use for any question or maintenance task involving an OpenClaw installation…

tbdavid2019/openclaw-docs-skill · 80 tokens

openspec-apply-change

Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.

tbdavid2019/openclaw-docs-skill · 31 tokens

openspec-propose

Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.

tbdavid2019/openclaw-docs-skill · 47 tokens

openspec-archive-change

Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.

tbdavid2019/openclaw-docs-skill · 31 tokens

anysearch

Real-time search engine supporting web search, vertical domain search, parallel batch search, and URL content extraction.

anysearch-ai/anysearch-skill · 24 tokens