Agent skill · Design & Presentation

thinking-margin-of-safety

Build in buffers for unknown unknowns and don't optimize to the edge. Use for capacity planning, deadline estimation, architecture design, and risk management.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill thinking-margin-of-safety --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/analysis/thinking-margin-of-safety/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Margin of Safety ## Overview Margin of Safety, borrowed from Benjamin Graham's investment philosophy and structural engineering, is the practice of building in buffers to account for unknown unknowns. In a world of uncertainty, systems optimized to the edge are brittle. Robust systems have slack, reserves, and room for error. **Core Principle:** Build in buffers. The world is uncertain. Systems without margin fail when stressed. ## When to Use - Capacity planning - Deadline and timeline estimation - Architecture design - Resource allocation - Risk management - SLA commitments - Infrastructure provisioning - Any commitment under uncertainty Decision flow: ``` Making a commitment or design? → Is there uncertainty? → yes → BUILD IN MARGIN → Are you optimizing tightly? → yes → ADD SLACK → What if your estimates are wrong? → Consider margin ``` ## The Margin of Safety Framework ### Step 1: Identify Your Estimate What's your best guess for the requirement? ``` Estimate: Need 100 requests/second capacity Estimate: Project will take 6 weeks Estimate: Need 500GB storage for year 1 ``` ### Step 2: Quantify Your Uncertainty How confident are you, and what could you be missing? ```markdown #

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. The Margin of Safety Framework
  4. Step 1: Identify Your Estimate
  5. Step 2: Quantify Your Uncertainty
  6. Step 3: Calculate Required Margin
  7. Step 4: Apply Margin
  8. Step 5: Monitor and Adjust
  9. Margin Patterns
  10. Capacity Margin
  11. Time Margin
  12. Financial Margin
  13. Design Margin
  14. When to Use Different Margins
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the thinking-margin-of-safety skill do?

Build in buffers for unknown unknowns and don't optimize to the edge. Use for capacity planning, deadline estimation, architecture design, and risk management.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill thinking-margin-of-safety --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.

Keep going