Skip to content

foxrun-ai/foxrun / skillwright/skills/decide

decide

Verified

Decide one choice through a door check and one resolver: two-way door, the 4-step, the algorithm, inversion, hell yes or no, and kill criteria. Use when an agent or the person must decide, size the rigor, stop something, or say no.

frameworks/algorithm.md

View on GitHub
# The algorithm

**Source:** Elon Musk. Five steps, in order, as laid out in Walter Isaacson's "Elon Musk" (2023) and Musk's 2021 Starbase tour with Everyday Astronaut.

**Use when:** building, cutting, or automating a process, tool, skill, or system. Also when a tool shelf or a workflow has grown.

## The steps, in order. Never skip ahead.

1. **Make the requirement less dumb.** Every requirement has a named owner, a person, not a department. Ask who. Ask why. Requirements from smart people are the most dangerous, because nobody questions them.
2. **Delete the part or the step.** If you do not end up adding at least 10% back later, you did not delete enough.
3. **Simplify and optimize.** Only after deleting. The common mistake is optimizing something that should not exist.
4. **Accelerate cycle time.** Make the loop faster. Only after simplifying.
5. **Automate.** Last, never first. Automating a bad process makes a fast bad process.

## Output

- Requirement + owner:
- Deleted:
- Simplified:
- Faster loop:
- Automate yes / no, and only what survived:

## Traps

- Starting at step 3 or step 5.
- Deleting nothing because everything "might be needed."
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall