Poteto help

From jiangkoumo/pi-pstack · View interactive version

Poteto help is an AI agent skill from the GitHub repository jiangkoumo/pi-pstack. Guides users through pstack setup, /skill:poteto-mode, and picking the skill, playbook, or principle for a task. Use for help about pstack.

How to use this skill

Skill file

Poteto help

Answer the user's question about pstack, hand them a prompt they can send, and link the file the answer came from. For a help question, don't start the work. The user asked how, and a pstack run spends real tokens, so let them send the prompt.

A message that asks for work, such as "use pstack to fix this bug", is not a help question. Read poteto-mode, do the work under it, and mention once that /poteto on keeps it on.

This file maps questions to the skills and reference pages that hold the answers. Those files own the details. Read the file you route to before you quote it, and trust it when it disagrees with this map. The links here point into the installed package, which the user may not be able to open, so give the user the file's path and installed location as well as the link.

Find out what they need

Infer the need from the message and the conversation. A named situation, such as "which skill reviews a PR?", goes straight to its section. If the need is still unclear, ask one multiple-choice question with these options, then answer only the section they pick:

Check the state that changes the answer, and mention it only when it does:

When the model rule is missing and it matters, ask whether the user wants to pick a model for each role and a reasoning budget now. It matters when the user is new, the question is about setup or cost, or the answer depends on which models run. Ask at most once per chat. If the need is also unclear, ask both questions together. Offer two choices:

Get set up

  1. Install the package with Pi's package mechanism, from the project or the user's Pi configuration.
  2. Run /setup-pstack. It asks for a reasoning budget, maps an available model and thinking level to each role, and writes pstack.json. The configuration applies to new sessions.
  3. Start a real task with /skill:poteto-mode, a goal, and a check that can pass or fail.

Installing changes nothing until the user invokes a skill. Only /setup-pstack loads from the user's words. The Pi adapter and migration plan have the details. Offer to word their first prompt with them, per prompting.md.

If cost is the worry, say where the tokens go and how to spend fewer. pstack spends extra tokens on subagents and review panels. Rerun /setup-pstack and pick a smaller budget or cheaper models. A role set to inherit or unset runs on the chat's model, which saves tokens when the chat runs on a cheaper model. A shorter review panel runs fewer subagents, one for each seat. Save /skill:poteto-mode for work that needs rigor.

pstack began on Cursor. Other tools can read the skills, because they use the Agent Skills format. This Pi package replaces Cursor subagents with pi-subagents, some of which bind their models per role through /setup-pstack, Custom Modes with /poteto on and /poteto off, and Cursor transcripts with Pi sessions, so parts written against Cursor features may not behave the same way.

Start a task with `/skill:poteto-mode`

/skill:poteto-mode matches the task to a playbook, copies the playbook's steps into the todo list, and runs the other skills as the steps need them. A good prompt states the goal and how to tell it's done. It doesn't list skills, because a hand-written sequence tends to drop or reorder steps the playbook would keep. Read prompting.md before you help word one.

Enter on /skill:poteto-mode attaches the skill to one message. Explicit skill invocation does not change persistent mode.

Link the Pi skills docs when this comes up. Mid-chat, "new task" makes the mode match a fresh playbook. /skill:poteto-mode already uses poteto-agent for the subagents its playbook steps spawn. To get the same style from a subagent of your own, spawn it with agent: "pstack.poteto-agent".

Pick a skill

The default answer is /skill:poteto-mode, which runs most of the others when its steps need them. Name a skill directly when the user wants more or less of something than the playbook gives. Read the skill before you recommend it, and give one example prompt.

| The user wants to | Skill |

|---|---|

| Do any non-trivial task with rigor | CODE0 |

| Check that the agent understood their goal and the problem before it starts | CODE0 |

| Get a prompt rewritten deeper, not bigger, before sending it: what a top professional would add, their raw material and methods, and an outside check. It returns the prompt and doesn't do the task | CODE0 |

| Learn the expert words for what they're building, including words borrowed from neighboring fields, with every cited source checked, and get their description rewritten with them | CODE0 |

| Know how code works now, or where new code should live | CODE0 |

| Know why code is shaped this way, or where a number came from | CODE0 |

| Understand a change or subsystem, explained plainly | CODE0 |

| Catch up on their own recent work on a topic | CODE0 |

| Catch up on what changed in this chat since their last message, in plain words and small visuals, with every item waiting on them listed and decidable from the reply alone | CODE0 |

| Catch up like /ketchup, in a short subtitled video of slides, with the waiting calls as text under it | CODE1 |

| Know what a small diff could break outside itself | CODE0 |

| Settle types and module shape before code that crosses a function boundary | CODE0 |

| Get several attempts at one brief, merged into the best one | CODE0 |

| Run parallel checks over slices, or race workers, in isolated worktrees | CODE0 |

| Have different models review a diff and try to break it | CODE0 |

| Fix a bug test-first when a cheap local test exists | CODE0 |

| Apply TypeScript rules to .ts or .tsx work | CODE2 |

| Strip comments before review, using a reviewer that didn't write them | CODE0 |

| Clean AI tells out of prose | CODE0 |

| Write docs, an RFC, a README, a PR description, or a commit message to a standard | CODE0 |

| Hear the last reply again in plain words | CODE0 |

| Give agents a scripted way to drive the app and prove behavior | CODE0 |

| Bring a verification skill and its feature map back in line with the app | CODE0 |

| Formally verify a race, invariant, or other property that tests rarely reach | CODE0 |

| Bring a formal verification back in line after the code it covers changed, and learn whether a failure is drift or a bug | CODE0 |

| Show a PM or designer what the user sees as a chart checked by a TLA+ model, with the shortest path to each state that breaks a rule | CODE0 |

| Vet a performance number before reporting or acting on it | CODE0 |

| Run a large or cross-cutting change, or one to review after stepping away | CODE0 |

| Keep a decision log during a run, and review it afterward | CODE0 |

| Pick a model for each role and a reasoning budget | /setup-pstack |

| Turn their own working habits into a personal mode skill | CODE0 |

| Turn what a finished task taught into skill edits | CODE0 |

| Stop agents from repeating the same mistakes in this repo | CODE0 |

| Find their way around pstack | /poteto-help |

If a skill directory next to this one is missing from the table, read its frontmatter and route by its description. The principle-* directories are covered under principles below.

Close calls:

Not shipped as skills in this package:

Playbooks and principles

Playbooks are step lists inside /skill:poteto-mode, not skills, so they have no slash command. Inside /skill:poteto-mode, describing the task picks one, and these phrases name one directly:

Outside /skill:poteto-mode, a phrase such as "babysit this pr" does not start a hidden skill here; read the playbook directly or turn the mode on. The Playbooks section of poteto-mode lists every playbook.

pstack has no planning skill. The host's plan mode works alongside it. For work that spans phases or stacked PRs, asking /skill:poteto-mode for a plan runs the Multi-phase plan playbook, which writes the plan and doesn't implement it. For a design question, the Prototype playbook or /architect settles it in code first.

Principles are one-rule skills that /skill:poteto-mode reads and cites in its replies. The user rarely invokes one. They steer with the names instead, as in "apply prove it works. show me the real output." Typing /principle-<name> still loads one on demand.

Fix a run that went wrong

| Symptom | Fix |

|---|---|

| The mode stopped applying after a few turns | It was started with /skill:poteto-mode. Run /poteto on, or start each task with /skill:poteto-mode. |

| A question got treated as the next step of the last task | Say "new task", or say the turn doesn't need the mode. |

| A new model choice had no effect | The config from /setup-pstack applies to new sessions and must match an available model. Inspect the actual dispatched model. Start a new session. |

| Runs cost more than expected | See the cost paragraph under Get set up. |

| A skill didn't load on its own | Only /setup-pstack loads from the user's words. The others load when the user types them or when /skill:poteto-mode runs them, and it doesn't run every skill. |

| Parallel agents overwrote each other | Give each agent its own worktree and keep one writer per worktree. |

| An overnight run moved but finished nothing | /loop needs a check that can pass or fail, not a duration. Give it a bounded budget and an exit-0 predicate. |

| The reply claims success from a green build | Ask for the real command, flow, stored value, or profile. That's the prove-it-works principle. |

For a run that drifts, prompting.md has one-line steers. The Pi adapter has more pitfalls and the recipes worth copying.

Make pstack my own

Reply

Lead with the answer. Give at most one example prompt in a code block, adapted from recipes.md when one fits, then the link to that file. Keep it short unless the user asked for the whole map. Help does not grant permission to delegate, install, send messages, commit, push, or merge.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.