elon-skill
justinz183/elon-skill
⚡ /elon — First-principles AI mentor for Claude Code. Think like Elon Musk.
Instalação
npx convez-ai justinz183/elon-skill1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
README
A tradução para o português deste README ainda está na fila.
⚡ /elon
Elon Musk as your AI engineering mentor. 10 skills that apply his frameworks from The Book of Elon (Eric Jorgenson) to every phase of building a project.
Like gstack, but instead of Garry Tan's startup playbook — you get Elon's first-principles engineering philosophy. The Algorithm. The Idiot Index. The Magic-Wand Number. Applied directly to your code and decisions.
Install
Auto-detect (recommended)
Detects your installed platforms and installs for all of them. No dependencies. No build step.
git clone https://github.com/justinz183/elon-skill.git ~/.claude/skills/elon
cd ~/.claude/skills/elon && ./setup
Claude Code
git clone https://github.com/justinz183/elon-skill.git ~/.claude/skills/elon
cd ~/.claude/skills/elon && ./setup --host=claude
Then quit and reopen Claude Code, or start a new session.
Codex (OpenAI)
git clone https://github.com/justinz183/elon-skill.git ~/.claude/skills/elon
cd ~/.claude/skills/elon && ./setup --host=codex
Then restart the Codex CLI.
Kiro (AWS)
git clone https://github.com/justinz183/elon-skill.git ~/.claude/skills/elon
cd ~/.claude/skills/elon && ./setup --host=kiro
Then close and reopen the workspace.
OpenClaw
git clone https://github.com/justinz183/elon-skill.git ~/.claude/skills/elon
cd ~/.claude/skills/elon && ./setup --host=openclaw
Then restart the OpenClaw session.
All platforms at once
git clone https://github.com/justinz183/elon-skill.git ~/.claude/skills/elon
cd ~/.claude/skills/elon && ./setup --host=all
Project-scoped install
Install to the current project instead of globally:
cd your-project/
~/.claude/skills/elon/setup --local # Auto-detect platform
The Skills
| Command | Phase | What Elon Does |
|---|---|---|
/elon | General | Open mentorship. Challenges your thinking, pushes for action |
/elon-think | Think | Forces first-principles reasoning. Kills analogies. Calculates magic-wand numbers and idiot indexes |
/elon-plan | Plan | Runs The Algorithm (Question → Delete → Simplify → Accelerate → Automate). Sets aggressive timelines |
/elon-build | Build | Writes code with you. Deletes before adding. Simplifies ruthlessly. Thinks about the factory |
/elon-review | Review | Brutal honest review. Checks idiot index on your code. Finds wrong optimizations |
/elon-test | Test | SpaceX testing philosophy. Matches intensity to stakes (Dragon/Falcon/Starship modes) |
/elon-ship | Ship | Creates maniacal urgency. Cuts scope. Parallelizes. Gets it out the door |
/elon-retro | Retro | Extracts learning. Updates mental models. "Aspire to be less wrong" |
/elon-hire | Team | Build small, exceptional teams. Fix communication. Kill org bloat |
/elon-focus | Focus | Find the bottleneck. Kill distractions. One metric that matters |
The Workflow
Use them in sequence through a project, or jump to whichever phase you need:
/elon-think → /elon-plan → /elon-build → /elon-review → /elon-test → /elon-ship
↓
/elon-retro
Or use /elon anytime for general mentorship — it covers everything. The general mentor knows the suite and routes you to the right phase skill when your problem lives in one.
Grounded, not cosplay
Every skill goes to the source before it opines — persona plus reality, not just quotes:
/elon-reviewruns the actualgit diffand cites exact files and lines/elon-testfinds your test suite and runs it, then reads the failures itself/elon-thinklooks up real costs and benchmarks for magic-wand numbers and idiot indexes — and labels every figure verified or assumption/elon-retroreconstructs what happened fromgit logand CI history, not from memory/elon-shipchecks your repo for the real blocker list: failing tests, unmerged branches, undeployed commits
中文输入,中文输出 — skills match your language; direct book quotes stay in English.
Key Frameworks (from the book)
The Algorithm
Applied in /elon-plan. The sacred order:
- Question requirements — "Your requirements are definitely dumb"
- Delete — "If you're not adding things back 10% of the time, you're not deleting enough"
- Simplify — "The third step. Not the first step"
- Accelerate — "Don't dig your grave faster. Stop digging"
- Automate — Last, never first
The Idiot Index
Applied in /elon-think and /elon-review. How much more does the finished product cost than its raw materials? $13,000 part from $200 of steel = idiotic design.
The Magic-Wand Number
Applied in /elon-think. If you could rearrange atoms for free, what would it cost? That's your theoretical floor. At SpaceX: under 5% of selling price.
Thinking in Limits
Applied across all skills. Scale to extremes. "If volume was a million units/year, would it still be expensive? If yes, the problem is design, not scale."
The Iteration Spectrum
Applied in /elon-test. Dragon mode (zero tolerance), Falcon mode (thorough but accept some failure), Starship mode (iterate fast, expect explosions).
What's Inside
elon/
├── SKILL.md ← /elon (general mentor)
├── think/SKILL.md ← /elon-think
├── plan/SKILL.md ← /elon-plan
├── build/SKILL.md ← /elon-build
├── review/SKILL.md ← /elon-review
├── test/SKILL.md ← /elon-test
├── ship/SKILL.md ← /elon-ship
├── retro/SKILL.md ← /elon-retro
├── hire/SKILL.md ← /elon-hire
├── focus/SKILL.md ← /elon-focus
├── setup ← One-command installer
├── LICENSE
└── README.md
No dependencies. No runtime. No build step. Just markdown that Claude reads.
Platform Support
| Platform | Global Path | Local Path | Format | Status |
|---|---|---|---|---|
| Claude Code | ~/.claude/skills/ | .claude/skills/ | SKILL.md (symlinked) | ✅ |
| Codex (OpenAI) | ~/.codex/skills/ | .agents/skills/ | SKILL.md (symlinked) | ✅ |
| Kiro (AWS) | ~/.kiro/skills/ | .kiro/skills/ | SKILL.md (symlinked) | ✅ |
| OpenClaw | ~/.openclaw/skills/ | skills/ | SKILL.md (symlinked) | ✅ |
Update
cd ~/.claude/skills/elon && git pull
Skills update instantly — they're symlinked.
Uninstall
cd ~/.claude/skills/elon && ./setup --uninstall
Removes the skill links from all platforms. The cloned repo itself is kept — delete it manually if you want it gone:
rm -rf ~/.claude/skills/elon
License
MIT
All frameworks and quotes from "The Book of Elon: A Guide to Purpose and Success" by Eric Jorgenson — a curated collection of Elon Musk's own words from interviews, tweets, speeches, and memos.