Skip to content

Route work through /poteto-mode

/poteto-mode is the front door. You give it a goal, it matches one of twenty-three playbooks, copies that playbook's steps into the todo list, and calls the other skills as the steps need them. In this page you learn what a good prompt looks like, and how little of one you actually need.

A dispatcher pulls a switch lever to route robots on rail handcars toward lit gates, under a /poteto-mode departure board listing BUG FIX, FEATURE, and INVESTIGATION.

What happens to your prompt

flowchart TD
    A[Your prompt] --> B[poteto-mode]
    B --> C[Read the Principles section]
    C --> D{Match the task}
    D -->|Read-only question| E[Investigation]
    D -->|Defect| F[Bug fix]
    D -->|New behavior| G[Feature]
    D -->|Structure only| H[Refactoring]
    D -->|Measured slowness| I[Perf issue]
    D -->|Large work or no match| J[figure-it-out]
    E --> K[Verify and report]
    F --> K
    G --> K
    H --> K
    I --> K
    J --> K

The diagram shows the common routes. There are also playbooks for hillclimbing a metric, diagnosing runtime symptoms and captured traces, prototypes, visual parity, authoring and evaluating skills, autonomous runs, babysitting a PR or stack to merge-ready, shipping a verified stack, running a PR queue on autopilot, orchestrating project-scale programs, session pickup, pausing safely, multi-phase plans, and worktree cleanup. The playbook directory has the full set.

Say the goal, not the ceremony

You don't write a spec. You say what's wrong or what you want, plus anything you already know that saves the agent time:

/poteto-mode users get two notifications after a retry. repro first, then fix and verify.

That's a Bug fix prompt. "repro first" is a real constraint, not politeness, and the playbook honors it. Watch the todo list fill with the Bug fix steps. A skipped step stays visible with skip: <reason>.

What goes in a prompt

A useful prompt carries up to five things, and each one fits in a sentence:

  • The goal. Say what's wrong, or what you want.
  • The done check. It must be able to pass or fail. "Make it better" and "work on it for an hour" aren't checks.
  • The proof you want to see. Ask for the real command output, a video of the flow, the stored value, or a before-and-after number.
  • What you already know. A symptom, a repro step, a log line, or a link saves the agent a search.
  • The real constraints. "repro first", "don't change any code yet", "zero behavior change", and "let me review before proceeding" each change what the agent does.

Here's one prompt with all five:

/poteto-mode the csv export drops its last row since yesterday's deploy. failing job id is 4812. repro first, then fix. done means the 60k-row fixture exports every row. show me the row counts before and after.

Two things are worth leaving out:

  • The how. Say what to achieve, and leave the agent room to find a better path than the one you'd pick. The same goes for a list of skills, covered in the pitfall below.
  • Your theory of the cause, at first. A stated guess narrows the search to wherever you pointed. Let the agent restate the problem before you share your hunch.

For a noisy report, such as a long thread or a vague bug, make the restatement the first step:

/poteto-mode read this thread. restate the underlying issue in your own words, in plain english. don't change any code yet.

A misreading shows up in the restatement, before any code exists. Correct it there, and it costs you one message instead of one wrong fix.

Follow up short

When the conversation already carries the context, the prompt shrinks to almost nothing. All of these are enough:

/poteto-mode do it
continue
keep going until done

Short works because the playbook holds the structure, and a Custom Mode keeps /poteto-mode in context on every turn. Set up pstack shows how to start one. Your words carry the intent, and the skill carries the rigor.

Switch tasks with "new task"

A long chat accumulates context from the last task. When you change subjects, say so:

/poteto-mode new task. figure out why the cache entry survives logout. don't change any code yet.

"new task" tells /poteto-mode to re-match rather than continue the prior playbook. "don't change any code yet" pins this one to Investigation. Without those two phrases, a mode mid-Feature tends to treat your question as the next feature step.

Give parallel work its own machine

If you run several agents against one repository on one computer, they will fight over the working tree, the ports, and the build output. The cleanest isolation is a cloud subagent. Each one gets its own VM and branch, so it can install dependencies, run your app, and record video of the result without touching your machine. Type /in-cloud before the task, or ask the parent chat to hand work to cloud subagents.

When the work has to stay local, ask for a worktree up front:

/poteto-mode new task. branch off <base> in a fresh worktree, then port the parser change there.

Each task in its own branch and worktree means no agent stomps another's files. Worktrees cost disk and machine resources, so a laptop runs only a handful at once. The Opening a PR playbook already works from a worktree for code changes, so mostly you only say this when a specific base or location matters.

Worktrees accumulate. When disk gets tight, ask:

/poteto-mode what's eating my disk? prune the worktrees that are safe to prune.

The Worktree cleanup playbook classifies every worktree by merge state, uncommitted work, and which chats still touch it. It deletes only what that evidence clears and pauses for your call on anything holding uncommitted work.

Leave it running

When you step away, say what done means and go:

/poteto-mode im stepping away. keep going until the migration check reports zero old callers. log your decisions.

Work you'll review later routes through /figure-it-out, which designs the run's phases and keeps a /show-me-your-work decision log. Run work while you sleep covers the full overnight contract.

Pitfall: don't enumerate skills in your prompt ("use /how, then /architect, then /arena..."). The playbook already sequences them, and a hand-written sequence usually reorders or drops steps the playbook would have kept. Name a skill only when you want to override a specific choice.

Read poteto-mode itself for the full routing rules.

Next: Understand the code.