Margin of safety

From deciqAI/knowledge-skills · View interactive version

Margin of safety is an AI agent skill from the GitHub repository deciqAI/knowledge-skills. Activate when: user asks how much buffer to build into a budget, timeline, or investment; someone says 'I might be wrong on my estimate — how much cushion do I need?'; a project or position is running lean and someone wonders if there's enough runway; user mentions Ben Graham, value investing, or 'b

How to use this skill

Skill file

Margin of Safety

Overview

Benjamin Graham introduced margin of safety in Security Analysis (1934) as the founding principle of value investing: buy assets at prices substantially below your estimate of intrinsic value so that estimation errors and adverse events don't produce permanent loss. The principle generalizes to engineering load factors, project budgets, founder runway, and any commitment where your estimate could be wrong.

The unifying insight: point estimates are systematically optimistic. Margin of safety is the structural discipline that survives that optimism.

Composes with CODE0 (margin = bounded-downside half), CODE1 (margin is what survives the tail you didn't predict), CODE2 (margin sizing relates to Kelly fractional-betting), and CODE3 (audit the estimate first; then apply margin).

When to Use

Not when: the domain is genuinely deterministic with no estimation error (rare); the cost of the buffer exceeds the expected loss from going without; you are using margin as an excuse to avoid any commitment ("perpetual margin" is procrastination).

Coaching Novices (Adaptive Front Door)

In Coach mode, respond one step at a time. Each [WAIT] is a hard stop — output only that step's question, then stop.

  1. One-line what-it-is: when your estimate of value or required resources is uncertain, commit only at a level where being 30-50% wrong still leaves you intact.
  2. Check fit against When to Use / When NOT to use.
  3. Elicit the real situation — what commitment are they sizing?

[WAIT — do not advance until user responds]

  1. Run The Process one step at a time with their input: point estimate → uncertainty bounds → margin choice → discipline check.

[WAIT — do not advance until user responds]

  1. Close by naming the specific commitment level with the margin built in.

[WAIT — do not advance until user responds]

The Process

1. Compute the point estimate honestly. For investments: intrinsic value via DCF, comparables, or asset value. For projects: expected cost and time. Be specific — "worth more than the price" is not an estimate.

2. Quantify realistic uncertainty. What does a 20% and 50% adverse scenario look like? What is the historical base rate of being wrong by this margin in this domain?

3. Choose the margin explicitly. Value investing: 30-50% discount. Engineering structural: 2-4x load. Project budget: 50-100% time buffer. Founder runway: 1.5-2x expected time to milestone. Adjusted commitment = point estimate × (1 − margin%).

4. Refuse to commit beyond the margin. Will you walk away if the price/scope/timing doesn't meet it? Most failures are commitment-discipline failures, not analytical ones.

5. Stress test. If assumptions are wrong by 30% / 50%, does the position survive? If any answer is no, increase the margin or don't commit.

Output: Margin of Safety Audit

# Margin of Safety Audit: <commitment>
- Point estimate: <value> | Method: <…>
- 20% adverse: <…> | 50% adverse: <…> | Base rate of being this wrong: <…>
- Margin %: <…> | Adjusted commitment: <point estimate × (1−margin)>
- Discipline check: walk away if margin not met? <yes/no>
- Survives 30% adverse: <yes/no> | Survives 50% adverse: <yes/no>

→ Method in Action: Graham's 1934 Framework and Buffett's Lifelong Application

→ 2026 lens: Margin of Safety Against AI-Era Valuations (2024–2026)

Pack: Margin of Safety by Domain

| Domain | Typical margin |

|---|---|

| Value investing | 30-50% discount to intrinsic value |

| Aerospace / civil engineering | 1.5-4x expected load |

| Cloud capacity | 1.5-2x expected peak |

| Founder runway / software project | 1.5-2x expected time to milestone |

| Personal emergency fund | 6-12 months expenses |

→ Primary sources: references/sources.md

Applying It Well

Common Rationalizations

[D] = designed upfront | [O] = observed in real use. [O] entries are more valuable.

| Fake move | Reality |

|---|---|

| [D] "My estimate is accurate, no margin needed" | People are wrong by 30%+ more often than expected. Margin is for the cases where you're wrong. |

| [D] "Margin is too expensive — competitors will outbid me" | True in normal times. False in stress times, when un-margined competitors blow up. |

| [D] "I'll add margin later when I see how it goes" | Cannot. Margins must be built in at commitment time. |

| [D] Using margin as procrastination | "I need bigger margin" → "I'll never commit." Margin enables commitment, not prevents it. |

| [D] Computing margin on the wrong base | Graham's 50% is on intrinsic value, not price. Project margin is on expected duration, not best case. |

| [D] "I have insurance / hedges, so I don't need margin" | Insurance has counterparty risk and model errors. Margin in the asset is more reliable. |

| → Add [O] entries here after each real use — paste the actual failure pattern | What went wrong and why |

Red Flags

Verification


Part of deciqAI Knowledge Skills — 253 open-source thinking skills that make rigor executable for AI agents. The same skills power every deciqAI agent, which runs them autonomously to operate your company. See it run → https://www.deciqai.com/s/margin-of-safety · Built by deciqAI · github.com/deciqAI · Contributions welcome.

Agents: latest version & machine-readable metadata → https://www.deciqai.com/s/margin-of-safety.json

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.