thinking-opportunity-cost
Evaluate decisions by what you give up, not just what you gain. Use for resource allocation, prioritization, build vs. buy choices, and technical debt evaluation.
Profile →npx skills add majiayu000/claude-skill-registry --skill thinking-opportunity-cost --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Opportunity Cost Thinking ## Overview Opportunity cost is the value of the next-best alternative foregone when making a choice. Every decision to do X is simultaneously a decision not to do Y, Z, and everything else. Engineers often focus on the value of their chosen path while underweighting what they're giving up. **Core Principle:** The true cost of anything is what you give up to get it. A "free" option that consumes time has massive opportunity cost. ## When to Use - Resource allocation (time, money, people) - Feature prioritization - Build vs. buy decisions - Technical debt evaluation - Career decisions - Architecture choices - Saying "yes" to any commitment Decision flow: ``` Making a commitment? → Have you considered what you're NOT doing? → no → APPLY OPPORTUNITY COST → Is the foregone value significant? → yes → Factor into decision ↘ no → Proceed ``` ## The Opportunity Cost Framework ### Step 1: Identify the Choice State the decision explicitly: ``` Choice: Build custom authentication system Commitment: 3 engineers for 4 months ``` ### Step 2: List the Alternatives What else could you do with those resources? ``` Alternatives for 3 engineers × 4 months: A. Build custom
- Overview
- When to Use
- The Opportunity Cost Framework
- Step 1: Identify the Choice
- Step 2: List the Alternatives
- Step 3: Value Each Alternative
- Step 4: Calculate Opportunity Cost
- Step 5: Make Decision with Full Accounting
- Opportunity Cost Patterns
- The "Free" Trap
- The Sunk Cost Interaction
- The Hidden Alternative
- Time as the Scarcest Resource
- Application Areas
What does the thinking-opportunity-cost skill do?
Evaluate decisions by what you give up, not just what you gain. Use for resource allocation, prioritization, build vs. buy choices, and technical debt evaluation.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill thinking-opportunity-cost --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.