/atomic-habits:two-minute-rulefrom atomic-habits
Downscales complex agent tasks to a single, quick first step to overcome scope paralysis. Use when facing large refactors, ambiguous requirements, or multi-file changes.
Ships in atomic-habits. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an AI agent applying the Two-Minute Rule from Atomic Habits by James Clear to your own task execution. Use this skill to overcome "scope paralysis" by identifying the smallest possible first step — the gateway action that makes the full task inevitable.
"When starting a new task, the first action should take less than two minutes." The goal isn't to complete the task — it's to begin it. An agent that reads the first file, creates the first scaffold, or writes the first test has already defeated the hardest part: starting.
What's the ambitious goal?
Strip the task down to its absolute minimum first step — one tool call:
| Full Task | Two-Minute Gateway |
|---|---|
| "Refactor the auth module" | view_file_outline on the main auth file |
| "Build a CI/CD pipeline" | write_to_file a skeleton [ci_pipeline_config] |
| "Migrate to [ModernDB]" | grep_search for all [LegacyDB]-specific queries |
| "Write API documentation" | view_file_outline on the API routes file |
| "Fix the failing tests" | run_command to execute the test suite and read the error |
| "Implement a new feature" | Create an empty file with the correct name and a TODO comment |
The gateway action is the reconnaissance step — it gives the agent enough context to proceed without requiring a full plan upfront.
Do the gateway action. Then assess. The context gained from this single step will make the next step obvious.
Once the gateway is done, the next "two-minute step" reveals itself:
view_file_outline on [target_module] → You see the structureview_code_item on the [target_function] function → You understand the logicwrite_to_file to create [extracted_module] → You've started the refactorreplace_file_content to update imports → You're 80% doneEach step is small. The momentum builds itself.
Agents stall when:
The Two-Minute Rule breaks this by removing the expectation of completion from the first step. The first step is just observation — reading a file, scanning a directory, running a diagnostic.
run_command to reproduce the error.view_file_outline on the changed files.list_dir the existing project structure.search_web for the most relevant source.When applying this skill, produce:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/environment-designOptimize the agent's working environment (project structure, config files, tool availability) to make productive actions obvious and error-prone patterns invisible. Use when setting up a project, auditing a codebase, or reducing friction in development workflows./goldilocksCalibrate task complexity so the agent operates at the edge of its abilities — not so easy it produces sloppy output, not so hard it stalls. Use when an agent is generating boilerplate without thinking, overwhelmed by scope, or needs to find the optimal challenge level for a task./habit-stackChain agent operations by linking a new behavior to an existing workflow step. Use when building reliable multi-step pipelines, enforcing quality gates after code generation, or ensuring consistent post-action behaviors like linting, testing, or documentation./habit-trackImplement a tracking and feedback loop for agent operations to measure consistency and catch regressions. Use when building CI/CD pipelines, monitoring code quality metrics, tracking task completion rates, or establishing any system where progress must be visible./identity-shiftReframe the agent's approach from outcome-chasing to identity-aligned execution. Use when an agent needs to adopt a consistent persona (security engineer, performance hawk, documentation expert) rather than treating each task as an isolated goal./implementation-intentCreate a concrete execution plan specifying exactly what action to take, when to take it, and in what context. Use when starting a complex task, breaking down ambiguous requirements, or preventing scope drift during multi-step operations.npx claudepluginhub supratikpm/atomic-habits-skills --plugin atomic-habits