agentleFS
ysskrishnaysskrishna/ai-agent-skills/skills/fermi-estimation/SKILL.md

fermi-estimation

Skill20 starsChanged 28 days agoMITView on GitHub

Use for Fermi estimation, or when a rough number is needed fast: "roughly how many...", "ballpark the cost", "estimate capacity or market size", "is this even feasible?". Decomposes, uses ranges and sanity-checks. Skip when exact data is available or a precise calculation is wanted.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Gather first: Look for real anchors before guessing: logs, dashboards, billing, docs, prior numbers.

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Fermi Estimation

Get a defensible order-of-magnitude answer from factors you can reason about. The goal is the right power of ten and a clear view of what drives it, not a precise number.

When to use

  • Capacity, load, storage, cost, headcount, market size or time estimates with little data.
  • "Roughly how many", "ballpark", "back of the envelope", "is it even feasible".
  • Checking whether a plan's numbers are plausible before investing in measurement.

Skip: when exact data exists (query it instead), or the user needs a precise calculation.

Before you start

  1. State in one block: Quantity (with units and period), Purpose (what decision depends on it), Needed accuracy (a power of ten, or within a factor of 2), and Pass (Decompose, Estimate, Combine, Cross-check, Sensitivity).
  2. Gather first. Look for real anchors before guessing: logs, dashboards, billing, docs, prior numbers. Replace any guess with data you can find. Ask up to 3 questions only for anchors tools cannot supply.
  3. Light path. Small ask: 3-4 factors, one range each, a result line and one cross-check.

Steps

1. Decompose

Break the quantity into factors you can estimate, usually a product: population x frequency x size, or rate x time. Write the formula first.

2. Estimate

For each factor give a low and high and a one-line basis. Mark guesses [ESTIMATED]; mark found data with its source.

FactorLowHighBasis

3. Combine

Multiply lows and highs for bounds. For a single central value, take the geometric midpoint (the square root of low x high), which suits ranges that span powers of ten. Report the result as a range and an order of magnitude.

4. Cross-check

Estimate the same quantity a second way (top-down vs bottom-up, or compare to a known similar system). If the two differ by more than about 3x, find which factor is off.

5. Sensitivity

Name the one or two factors that move the answer most, and what measurement would narrow them.

Pitfalls

  • False precision: "47,312 requests per second" from guessed inputs. Round to one significant figure.
  • Unit mismatches (per day vs per second, bytes vs bits). Write units in every row.
  • Double counting a factor that appears in two inputs.
  • Anchoring on the first number you thought of. Estimate the low and high first, then the middle.
  • Skipping the cross-check, which is what separates an estimate from a guess.
  • Forgetting peaks: averages hide the busiest hour. State average and peak when sizing capacity.

Worked example: references/example.md.

Checklist

  • Quantity, units, purpose and needed accuracy stated
  • Formula written before numbers
  • Each factor has low, high, basis; guesses marked [ESTIMATED]
  • Result as a range and order of magnitude
  • Cross-checked a second way
  • Dominant factor named, with the measurement that would narrow it

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.