
First Principles
FreeDeconstruct problems to their fundamental truths.
Free Β· Opens the source repo
What First Principles does
The First Principles skill provides a framework for tackling complex problems by breaking them down to their most basic elements. It operates on the principle that many solutions are derived from reasoning by analogy, which often leads to inherited assumptions and constraints. Instead of accepting conventional wisdom, First Principles encourages users to dissect problems into their fundamental truths, classify constraints, and reconstruct solutions based solely on these irreducible facts. This approach is particularly useful for engineers, architects, and anyone involved in problem-solving where conventional methods may fall short.
The skill follows a structured three-step process: Deconstruct, Challenge, and Reconstruct. In the Deconstruct phase, users break a problem into its constituent parts and identify real values. The Challenge phase involves classifying each element as a hard constraint, soft constraint, or assumption, allowing users to differentiate between what is truly immutable and what can be questioned. Finally, the Reconstruct phase enables users to build an optimal solution from the identified fundamentals. The output includes a parts breakdown, a constraint table, and a reconstructed solution, providing a clear path from problem to resolution.
This skill is particularly valuable in scenarios where inherited assumptions may limit the solution space, such as in engineering, architecture, or security assessments. It can be invoked directly or through other skills that require a deeper analysis of constraints. By focusing on first principles, users can escape local maxima and develop innovative solutions that are not bound by traditional thinking.
When to use it
Use First Principles when you need to challenge existing assumptions or when conventional solutions are inadequate.
When not to use it
This skill is not suitable for problems that require structural feedback loops or systems thinking.
What you can build with it
Cost Analysis of Cloud Services
Use First Principles to analyze cloud hosting costs by breaking down the charges into their fundamental components and questioning the necessity of each.
Engineering Design Challenges
Invoke First Principles to deconstruct engineering problems, challenge design assumptions, and rebuild solutions that optimize function over form.
Security Model Assessment
Utilize First Principles to dissect a security model, classify constraints, and reconstruct a more robust security framework.
How to install First Principles
View source1. Install with the skills CLI
npx skills add danielmiessler/lifeos/FirstPrinciples --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by danielmiesslerCustomization
Before executing, check for user customizations at:
~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/FirstPrinciples/
If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.
π¨ MANDATORY: Voice Notification (REQUIRED BEFORE ANY ACTION)
You MUST send this notification BEFORE doing anything else when this skill is invoked.
-
Send voice notification:
curl -s -X POST http://localhost:31337/notify \ -H "Content-Type: application/json" \ -d '{"message": "Running the WORKFLOWNAME workflow in the FirstPrinciples skill to ACTION"}' \ > /dev/null 2>&1 & -
Output text notification:
Running the **WorkflowName** workflow in the **FirstPrinciples** skill to ACTION...
This is not optional. Execute this curl command immediately upon skill invocation.
FirstPrinciples Skill
What It Does
Breaks a problem down to its fundamental truths and rebuilds the solution from there, instead of copying what already exists. Three steps: DECONSTRUCT (break it into constituent parts and real values), CHALLENGE (classify every element as hard constraint, soft constraint, or unvalidated assumption β only physics is truly immutable), and RECONSTRUCT (build the optimal solution from the fundamentals alone). Outputs a parts breakdown, a constraint table, and a reconstructed solution.
The Core Distinction
Most reasoning is reasoning by analogy β "how did we solve something similar," "what do others do" β then copy it with tweaks. That inherits everyone else's assumptions and treats policy and convention as if they were laws of physics, so you optimize the suitcase instead of inventing wheels. First principles forces the split between what's actually immutable and what's merely inherited, then rebuilds from only the parts that can't change.
- Reasoning by analogy (default, often wrong): copies existing solutions with slight variations.
- Reasoning from first principles (this skill): asks "what is this actually made of?" and rebuilds from irreducible facts.
Invoked directly, or by other skills when inherited assumptions may be limiting the solution space β Architects challenging "constraint or convention?", RedTeam and pentesters attacking assumed boundaries, engineers escaping local maxima.
Workflow Routing
Route to the appropriate workflow based on the request.
When executing a workflow, output this notification directly:
Running the **WorkflowName** workflow in the **FirstPrinciples** skill to ACTION...
- Break problem into fundamental parts β
Workflows/Deconstruct.md - Challenge assumptions systematically β
Workflows/Challenge.md - Rebuild solution from fundamentals β
Workflows/Reconstruct.md
Constraint Classification
When analyzing any system, classify constraints:
| Type | Definition | Example | Can Change? |
|---|---|---|---|
| Hard | Physics/reality | "Data can't travel faster than light" | No |
| Soft | Policy/choice | "We always use REST APIs" | Yes |
| Assumption | Unvalidated belief | "Users won't accept that UX" | Maybe false |
Rule: Only hard constraints are truly immutable. Soft constraints and assumptions should be challenged.
Integration Pattern
Other skills invoke FirstPrinciples like this:
## Before Analysis
β Use FirstPrinciples/Challenge on all stated constraints
β Classify each as hard/soft/assumption
## When Stuck
β Use FirstPrinciples/Deconstruct to break down the problem
β Use FirstPrinciples/Reconstruct to rebuild from fundamentals
## For Adversarial Analysis
β RedTeam uses FirstPrinciples/Challenge to attack assumptions
β Pentester uses FirstPrinciples/Deconstruct on security model
Example
Problem: "Cloud hosting costs $10,000/month β that's just what it costs."
- Deconstruct: What are we actually paying for? (compute, storage, bandwidth, managed services)
- Challenge: Is managed Kubernetes a hard requirement? Is this region required? The $10K is a market price, not a fundamental cost.
- Reconstruct: Actual compute need = $2,000. The other $8,000 is convenience we're choosing to pay for.
Output Format
When using FirstPrinciples, output should include:
## First Principles Analysis: [Topic]
### Deconstruction
- **Constituent Parts**: [List fundamental elements]
- **Actual Values**: [Real costs/metrics, not market prices]
### Constraint Classification
| Constraint | Type | Evidence | Challenge |
|------------|------|----------|-----------|
| [X] | Hard/Soft/Assumption | [Why] | [What if removed?] |
### Reconstruction
- **Fundamental Truths**: [Only the hard constraints]
- **Optimal Solution**: [Built from fundamentals]
- **Form vs Function**: [Are we optimizing the right thing?]
### Key Insight
[One sentence: what assumption was limiting us?]
The Load-Bearing Rules
- Market prices and industry best-practices are NOT fundamental truths. "Batteries cost $600/kWh" or "hosting costs $10K/mo" are convention, not physics β deconstruct to material/compute cost before accepting them.
- Optimize function over form β what you're trying to accomplish, not how it's traditionally done (improve the wheel, don't polish the suitcase).
- Rebuild, don't patch β when the assumptions are wrong, start from the hard constraints rather than fixing the inherited form. Cross-domain solutions from unrelated fields often apply.
Attribution: Framework derived from Elon Musk's first principles methodology as documented by James Clear, Mayo Oshin, and public interviews.
Gotchas
- Decompose to AXIOMS β fundamental truths, not just simpler components. The value is in finding the irreducible elements.
- Challenge INHERITED assumptions specifically. What does everyone assume that might be wrong?
- This is analysis/reasoning, not implementation. "Analyze" = FirstPrinciples. "Fix" = do the work directly.
Execution Log
After completing any workflow, append a single JSONL entry:
echo '{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","skill":"FirstPrinciples","workflow":"WORKFLOW_USED","input":"8_WORD_SUMMARY","status":"ok|error","duration_s":SECONDS}' >> ~/.claude/LIFEOS/MEMORY/SKILLS/execution.jsonl
Replace WORKFLOW_USED with the workflow executed, 8_WORD_SUMMARY with a brief input description, and SECONDS with approximate wall-clock time. Log status: "error" if the workflow failed.
Frequently asked questions about First Principles
Similar skills
Spring Boot Testing
Master testing techniques for Spring Boot 4 applications.
GitHub Issues
Manage GitHub issues efficiently with MCP tools.
Geofeed Tuner
Optimize your IP geolocation feeds in CSV format.
Batch Files
Master Windows batch scripting for automation and task management.
Adobe Illustrator Scripting
Automate your Illustrator workflows with ExtendScript.
Plugin Structure
Create and organize Claude Code plugins effectively.
