first-principles
Skill7 starsChanged 4 months agoMITView on GitHub
Executable first-principles engineering method for AI agents. Run this on every task to question requirements, delete components, simplify/optimize, accelerate cycle time, and automate.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- sichenai/sichen-skillstheir own version, first seen Sep 15, 2026
- qiulin/skillstheir own version, first seen Sep 10, 2026
- kirillgreen/skillstheir own version, first seen Sep 9, 2026
- coolTheWorld/evolution-skillstheir own version, first seen Aug 28, 2026
- agentcrew-academy/harness-starter-kittheir own version, first seen Aug 9, 2026
- konglong87/methodology-skillstheir own version, first seen Jul 21, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- agentcrew-academy/harness-starter-kit★ 39same name
- reshadat/first-principles-destructor★ 24same name
- kirillgreen/skills★ 22same name
- worksystems-design/libertee★ 17same name
- jackjin1997/ClawForge★ 13same name
- deciqAI/knowledge-skills★ 11same name
- ccomkhj/skills★ 8same name
- coolTheWorld/evolution-skills★ 5same name
- konglong87/methodology-skills★ 5same name
- frankaging/lite-research-agents★ 3same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- artifactSkill
- chat-cleanerSkill
- clean-systemSkill
- doc-styleSkill
- dumb-downSkill
- experiment-workflowSkill
- gitlabSkill
- harness-engSkill
- pdfSkill
- product-designSkill
- req-engineeringSkill
- training-nnSkill
- visionSkill
- word-farsi-docxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 13 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
13
Distinctive
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
- Distinctive: line 25
If the request has multiple plausible meanings, surface the interpretations instead of silently choosing one.
- Distinctive: line 26
Ask when ambiguity makes the change risky or likely wrong.
- Distinctive: line 28
Stop and name confusion immediately when code, runtime behavior, or requirements disagree.
- Distinctive: line 31
Goal: Delete parts or processes until forced to add back at least 5% later.
- Distinctive: line 36
Run regression tests to verify functionality remains intact.
- Distinctive: line 37
Keep deleting until the boundary of failure is reached, then restore the minimum required to pass.
- Distinctive: line 40
Goal: Keep the remaining codebase lean, boring, and readable.
- Distinctive: line 42
Write the absolute minimum code that solves the verified problem.
- Distinctive: line 43
Do not add speculative features, configurations, abstractions, or shared helpers for single-use logic.
- Distinctive: line 44
Avoid error handling for impossible states unless surrounding code explicitly does it.
- Distinctive: line 55
Run the cheapest relevant regression checks to ensure speed-ups do not introduce flakes.
- Distinctive: line 61
Write automation scripts (Bash) or CI configurations (GitHub Actions, GitLab CI/CD) to run the pipeline.
- Distinctive: line 62
Verify that the automation runs end-to-end cleanly without human intervention.
“Common” is measured: kept by at least 6 in 10 of the 10 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.
Files
First-Principles Engineering Method
Intro - What is it?
This skill translates first-principles engineering into a structured, 5-step agent execution protocol. It forces the agent to verify the correctness of the problem trajectory, aggressively trim code, minimize abstractions, and benchmark speed before writing any automation.
Core Stance
- Correct Trajectory First: The most rigorous phase is requirement checking. Finding the right problem to solve prevents wasting cycles on things that shouldn't exist.
- Strict Ordering: Question -> Delete -> Simplify/Optimize -> Accelerate -> Automate. Never skip a step or optimize a process that should be deleted.
- Sovereign Execution: Human steers, agent executes. State assumptions and halt at critical design junctions.
The 5-Step Protocol
1. Question the Requirements (Finding the Trajectory)
- Goal: Get the requirements as least wrong as possible. Do not solve a problem that shouldn't exist.
- Procedure:
- Assume every requirement in the issue or prompt is wrong or sub-optimal.
- State all assumptions before proposing changes.
- If the request has multiple plausible meanings, surface the interpretations instead of silently choosing one.
- Ask when ambiguity makes the change risky or likely wrong.
- Push back if a simpler or safer approach better serves the core objective.
- Stop and name confusion immediately when code, runtime behavior, or requirements disagree.
2. Delete the Process (Aggressive Trimming)
- Goal: Delete parts or processes until forced to add back at least 5% later.
- Procedure:
- Review the code or features implemented for the task.
- Identify parts, configs, or dependencies that can be removed without breaking core functionality.
- Trim at least 5% of the codebase/features.
- Run regression tests to verify functionality remains intact.
- Keep deleting until the boundary of failure is reached, then restore the minimum required to pass.
3. Simplify and Optimize (Surgical Coding)
- Goal: Keep the remaining codebase lean, boring, and readable.
- Procedure:
- Write the absolute minimum code that solves the verified problem.
- Do not add speculative features, configurations, abstractions, or shared helpers for single-use logic.
- Avoid error handling for impossible states unless surrounding code explicitly does it.
- Touch only the lines needed for the request. Do not perform drive-by formatting or adjacent refactors.
- Match the local repository style exactly.
4. Accelerate Cycle Time (Performance & Speed)
- Goal: Accelerate execution speed and cycle time without sacrificing performance.
- Procedure:
- Instrument and measure execution speed.
- Locate the slowest paths (bottlenecks).
- Restructure loops, cache computations, or parallelize tasks.
- Maintain a short plan with a verification check attached to each acceleration step.
- Run the cheapest relevant regression checks to ensure speed-ups do not introduce flakes.
5. Automate the Process (CI & Scripting)
- Goal: Automate the final, optimized state. Never automate a process that has not been optimized.
- Procedure:
- Take the simplified, optimized, fast process.
- Write automation scripts (Bash) or CI configurations (GitHub Actions, GitLab CI/CD) to run the pipeline.
- Verify that the automation runs end-to-end cleanly without human intervention.
Verification Checklist
- Were the requirements questioned and the trajectory approved before writing code?
- Was at least 5% of the unnecessary process/code deleted?
- Is the code surgical, matching local style, with no speculative abstractions?
- Was execution speed measured and optimized?
- Does the automation (CI/Bash) run cleanly without human intervention?
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
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.

