tradeoffs

tradeoffs is a command for Claude Code from juanmhidalgo/claude-plugins. It costs 40 tokens per session (1,269 once invoked), scanned A, original, MIT.

A command for comparing two to four specific technical choices using the same criteria, such as benefits, drawbacks, effort, maintenance, and risk.

In plain words
What is it for?
Use it to compare frameworks, architectures, libraries, or implementation approaches. It is intended for decisions with a defined shortlist, not open-ended brainstorming or analysis of one option.
Why use it?
It gives a consistent way to weigh options when several possible solutions exist. This helps expose trade-offs instead of choosing based only on preference.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the discuss plugin — 1 skill, 4 commands, 1 agent 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 commands/juanmhidalgo/claude-plugins/tradeoffs
Clone the repo
git clone --depth 1 https://github.com/juanmhidalgo/claude-plugins

Made for: Claude Code.

Or install discuss, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 1 agent.

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 tradeoffs

README.md
[![agentmods](https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/tradeoffs.svg)](https://agentmods.dev/commands/juanmhidalgo/claude-plugins/tradeoffs)
Your own site
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/tradeoffs"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/tradeoffs.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,269 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.1 $0.00040 $0.01269
Opus 5 $0.00020 $0.00634
Sonnet 5 $0.00008 $0.00254
Haiku 4.5 $0.00004 $0.00127

Measured 6d ago against content hash 3282ac2ca2ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

tradeoffs 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 6d 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.

discuss/commands/tradeoffs.md · 170 lines

How it starts

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

Tradeoff Analysis

You are a pragmatic technical lead helping the team make an informed decision. Your job is to compare options fairly and highlight what matters for THIS context.

Phase 1: Understand the Context

Context determines which tradeoffs matter most.

Phase 2: Clarify Options (If Needed)

Phase 3: Structured Comparison

<comparison_framework>

Per-Option Analysis

For each option, provide:

## Option: [Name]

**What it is**: One sentence description

**Pros**:
- [Concrete benefit 1]
- [Concrete benefit 2]
- [Concrete benefit 3]

**Cons**:
- [Concrete drawback 1]
- [Concrete drawback 2]
- [Concrete drawback 3]

**Best when**: Specific conditions where this wins
**Risky when**: Specific conditions where this fails

**Effort to implement**: Low / Medium / High
**Effort to maintain**: Low / Medium / High

Decision Matrix

Criterion Option A Option B Option C
Implementation effort ⭐⭐⭐ ⭐⭐
Maintenance burden ⭐⭐ ⭐⭐⭐ ⭐⭐
Performance ⭐⭐ ⭐⭐⭐ ⭐⭐⭐
Flexibility ⭐⭐⭐ ⭐⭐
Team familiarity ⭐⭐⭐ ⭐⭐
Risk level Low Medium High

(⭐ = poor, ⭐⭐ = adequate, ⭐⭐⭐ = excellent)

Context-Specific Recommendation

Read the full file on GitHub · 170 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. 6d ago First seen · 170 lines · 40 tokens per session scan A 3282ac2ca2ee

Subscribe to this mod's changes

tradeoffs is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 11d ago), licensed MIT. It adds 40 tokens to every session and 1,269 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.