agentleFS
opelplepleopelpleple/meta-skills/first-principles/SKILL.md

first-principles

Skill0 starsChanged 5 months agoMITView on GitHub

Breaks a problem down to fundamental, irreducible truths and rebuilds a solution from them, refusing to reason by analogy or by copying how others already do it. Use this skill when the user is stuck in conventional thinking, asks "why do we even do it this way", wants to challenge baked-in assumptions, faces a hard design or strategy problem with no obvious answer, says "think from first principles", "go back to basics", "forget how everyone else does it", or suspects the standard approach is cargo-culted rather than reasoned. Best when the default solution feels expensive, slow, or inherited rather than chosen.

30 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use second-order-thinking, inversion and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • itzcullSkill

    second-order-thinking

    Use second-order thinking to examine consequences beyond immediate effects. Use when evaluating decisions across time horizons, asking what happens next, or avoiding short-sighted optimization.

    Also in 3 projects that use this

  • itzcullSkill

    inversion

    Use inversion to solve problems by reasoning backward from failure, bad outcomes, or the opposite of success. Use when identifying risks, running premortems, or escaping overly idealized thinking.

    Also in 3 projects that use this

  • GoogleSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    State the goal as an outcome, not a method: Write what must be true at the end, with zero reference to current tools, vendors, or steps.

    line 23
  2. Very specific:

    Quantify the bedrock: Put real numbers/limits on each truth.

    line 27

“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “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

First Principles

Strip a problem down to the few things that are actually, physically, definitionally true — then build the answer up from only those, ignoring how it's "normally" done.

When to use

  • The current approach exists because "that's how it's always been done."
  • A solution feels too expensive/slow/complex and you suspect the cost is assumed, not real.
  • You're benchmarking against competitors and copying their structure by default.
  • A hard design problem where analogies keep leading to mediocre answers.
  • The user explicitly wants to challenge a deeply held assumption.

When NOT to use

  • Routine, well-understood tasks where convention is correct and cheap (don't re-derive a login form).
  • Time-critical decisions where "good enough, now" beats "optimal, eventually."
  • Domains where the "convention" is actually hard-won safety regulation or law — question it intellectually, but don't ignore it operationally.

The method

  1. State the goal as an outcome, not a method. Write what must be true at the end, with zero reference to current tools, vendors, or steps. "Customers trust our data" — not "we run more audits."
  2. List everything you believe about the problem. Dump assumptions, constraints, costs, "rules." Be exhaustive and honest.
  3. Interrogate each item: truth or inheritance? For each, ask "Is this a law of physics/math/economics, or just a convention someone handed me?" Tag each as FUNDAMENTAL (can't be reduced) or DERIVED (someone's choice, possibly wrong).
  4. Keep reducing the fundamentals. For each "fundamental," ask "why?" again. Stop only when the next "why" hits a real constraint — a material cost, a physical limit, a definitional requirement, a hard regulation. These are your bedrock truths.
  5. Quantify the bedrock. Put real numbers/limits on each truth. What does the raw material/compute/time actually cost at the floor? This exposes the gap between the floor and the conventional price.
  6. Rebuild upward using only bedrock truths. Construct a solution that satisfies the goal using nothing but the fundamentals. Forbid yourself from importing any DERIVED step unless you can re-justify it from bedrock.
  7. Compare to the conventional solution. Where the two diverge is your insight — and where the conventional approach is paying a tax for an assumption that isn't true.

What good looks like

  • A short list of genuinely irreducible truths, each with a number or hard reason attached.
  • At least one "wait, why do we even need that?" moment where a sacred step turns out to be optional.
  • A rebuilt solution that a smart skeptic can't dismiss as "you just reinvented the wheel."
  • Clear separation between what's a real constraint and what was merely habit.

Anti-patterns

  • Fake first principles: restating the conventional answer in fancier words. If your rebuild matches convention exactly, you didn't reduce far enough.
  • Stopping too early: treating a vendor's pricing or an industry norm as bedrock when it's just a market choice.
  • Reducing past usefulness: "everything is atoms" is true and useless. Stop at the lowest level that still lets you act.
  • Ignoring real constraints: declaring a law of physics or a safety regulation "just a convention."

Example

Goal: "Make our broker audits cheaper." Conventional answer: hire more auditors. First-principles pass: What is an audit, fundamentally? It's acquiring trustworthy evidence about a claim. The fundamental cost is not "an auditor's hour" — it's the cost of obtaining one verified fact. List the facts a broker review needs; ask which require a human and which require only a primary-source signal (a regulator's public registry, a settlement record). The bedrock truth: most facts are publicly verifiable data, not judgment calls. Rebuild: a pipeline that pulls primary-source signals automatically and routes only the genuine judgment calls to humans. The "tax" convention was paying: treating verifiable lookups as if they needed expert labor.

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.