decision-matrix — Claude Code skill: weighted comparison
decision-matrix compares alternatives against weighted criteria, calculates scores, checks sensitivity to weight changes, and delivers a recommendation with trade-off analysis.
no license 165 installs ★ 203 updated 2026-09-01
npx skills add lyndonkl/claude --skill decision-matrix -a claude-codeWhat decision-matrix does
The skill builds a table: alternatives in rows, criteria in columns, each criterion assigned a weight in percent. Scores are multiplied by weights, alternatives ranked by total. Supports direct allocation, pairwise comparison, and stakeholder averaging for weight assignment. After calculation, it checks sensitivity: if shifting one weight flips the winner, the decision is fragile.
Includes five steps — from framing the decision and choosing criteria to validation via rubric_decision_matrix.json. The result is saved to decision-matrix.md. No FFmpeg, Python, or external dependencies: all logic is in the prompt.
Fits vendor selection, tool comparison, or strategy choice when you need transparent trade-offs.
What it helps with
- compare three libraries by cost, performance, and ecosystem maturity
- choose a vendor balancing price and support quality
- check whether the decision changes if one criterion gains weight
- document a tool choice with explicit criterion weights
Example prompts for the agent
- Compare three CRMs: cost 30%, integrations 25%, usability 45%
- Build a decision matrix for PostgreSQL, MySQL, and MongoDB for analytics
- Check sensitivity to the weight of the development speed criterion
How to install decision-matrix
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill decision-matrix -a claude-code2Manually: put the files in place
~/.claude/skills/decision-matrix/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/decision-matrix/
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill decision-matrix -a codex2Manually: put the files in place
.agents/skills/decision-matrix/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill decision-matrix -a cursor2Manually: put the files in place
.cursor/skills/decision-matrix/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install lyndonkl/claude skills/decision-matrix2Manually: put the files in place
.github/skills/decision-matrix/SKILL.md1Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill decision-matrix -a gemini-cli2Platform CLI
gemini skills install https://github.com/lyndonkl/claude --path skills/decision-matrixManually: put the files in place
.devin/skills/decision-matrix/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add lyndonkl/claude --skill decision-matrix -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about decision-matrix
How to install decision-matrix in Claude Code?
Run npx skills add lyndonkl/claude --skill decision-matrix -a claude-code, then open ~/.claude/skills/decision-matrix/SKILL.md.
What does the decision-matrix skill do?
Builds a comparison table with weighted criteria, calculates total scores, checks sensitivity to weight changes, and delivers a recommendation with trade-off analysis.
Which weighting methods does decision-matrix support?
Direct percentage allocation, pairwise criterion comparison, must-have vs weighted split, and stakeholder averaging.