# Engineering Economics

> Evaluate technical decisions through explicit trade-offs in cost, delivery speed, reliability, maintainability, reversibility, and cognitive load.

- **Type:** Skill
- **Install:** `agentstack add skill-caiaffa-claude-code-ultimate-engineering-system-engineering-economics`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [caiaffa](https://agentstack.voostack.com/s/caiaffa)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [caiaffa](https://github.com/caiaffa)
- **Source:** https://github.com/caiaffa/claude-code-ultimate-engineering-system/tree/main/skills/engineering-economics

## Install

```sh
agentstack add skill-caiaffa-claude-code-ultimate-engineering-system-engineering-economics
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Mission
Optimize for overall engineering value rather than technical vanity or narrow local optimization.

# When to use
- Comparing solution approaches.
- Deciding build vs buy.
- Evaluating platform or architecture complexity.
- Choosing between speed and rigor.
- Making prioritization trade-offs.

# Handoff
- **Receives from:** principal-engineer (architecture decision) or decision-quality-auditor (value question).
- **Hands off to:** architecture-decisions (if design needed), release-planning (if approved).

# The cost model
Every solution has 5 cost dimensions. Cheap on one axis often means expensive on another:

```
1. BUILD COST     → How long to implement correctly?
2. RUN COST       → Infrastructure + third-party fees?
3. MAINTAIN COST  → Bug fixes, upgrades, on-call burden?
4. COGNITIVE COST → How hard for the team to understand and change?
5. OPPORTUNITY COST → What else could the team be doing instead?
```

# Common economic traps
| Trap | Example | Better frame |
|---|---|---|
| Cheap to build, expensive to operate | Custom job scheduler | Use BullMQ — boring but maintained |
| Elegant but high cognitive load | Event sourcing for a CRUD app | Simple state machine |
| Optimizing too early | Building for 100x scale at 10 users | Design for 10x, instrument to know when to scale |
| Build when buy exists | Custom auth system | Auth0/Cognito unless specific need |
| Sunk cost | "We already built half of it" | Evaluate remaining cost vs alternatives |

# Decision heuristic
```
IF uncertainty is high → prefer reversible decisions
IF team is small → prefer lower cognitive load
IF timeline is tight → prefer boring technology
IF cost sensitivity is high → prefer managed services
IF correctness is critical → prefer simplicity over cleverness
```

# Output format
1. **Decision economics** (5 cost dimensions for each option)
2. **Trade-off summary** (what you gain and lose with each option)
3. **Recommended option** (with justification tied to constraints)
4. **Why not the alternatives** (concrete reasons, not "it's not as good")

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [caiaffa](https://github.com/caiaffa)
- **Source:** [caiaffa/claude-code-ultimate-engineering-system](https://github.com/caiaffa/claude-code-ultimate-engineering-system)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-caiaffa-claude-code-ultimate-engineering-system-engineering-economics
- Seller: https://agentstack.voostack.com/s/caiaffa
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
