next-steps — Claude Code plugin: prompts and installation
next-steps is a Claude Code plugin that offers up to three follow-up prompts after each response. Pick one to add it to the input as an editable draft.
MIT ★ 4,931 updated 2026-10-24
/plugin marketplace add anthropics/claude-plugins-community
/plugin install next-steps@claude-communityWhat next-steps does
next-steps displays suggested follow-up prompts above the input. Press 1, 2, or 3 to place a choice in the box, then edit and submit it yourself. Press 0 to dismiss the suggestions; Tab inserts the first one.
The plugin uses function hooks. After a turn ends, it asks for likely next prompts and includes the session’s available skills and slash commands; suggestions for unavailable commands are discarded. minAnswerChars defaults to 80, and suggestSkills defaults to true. Suggestions appear in the terminal, not on other surfaces.
What it helps with
- choose a follow-up prompt after an agent response
- place a suggested prompt in the input as an editable draft
- dismiss suggestions with
0
Example prompts for the agent
- Run the tests you just wrote.
- Do the same for the settings page.
- Review the code with high priority.
How to install next-steps
Plugin marketplace
/plugin marketplace add anthropics/claude-plugins-community/plugin install next-steps@claude-communityStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about next-steps
How do I install next-steps in Claude Code?
Run these commands in order: /plugin marketplace add anthropics/claude-plugins-community, then /plugin install next-steps@claude-community.
What does next-steps do?
It offers up to three follow-up prompts after each response. A selection becomes a draft in the input; the plugin does not submit it.
Where does next-steps show its suggestions?
Suggestions appear in the terminal. Other surfaces do not display them.
Source text
next-steps · MIT
# next-steps After each turn, suggests up to three next prompts above the input box. ``` next: 1: run the tests you just wrote 2: do the same for the settings page 3: /code-review high 0: dismiss ``` Press `1`, `2` or `3` from an empty prompt box (or click one) and that prompt is written into the box as a draft. Edit it, then press Enter yourself. `0` dismisses. The top suggestion also shows as the box's dim ghost text, so Tab takes it. The plugin never submits a prompt on its own. ## How it works It is a function-hooks plugin (`hooks/register.tsx`): - `turn.complete`: forks the session with `$.model.fork` to ask for likely next prompts. The fork shares the session's prompt cache, so it costs about one short reply. - `$.command.list`: the session's skills and slash commands (plugin, user and MCP ones with their descriptions) go into the fork's question, so a suggestion can be `/skill arguments`. A suggestion that names a command the session does not have is dropped. - `ui.render` on `AbovePrompt`: draws the suggestions as buttons. - A press calls `$.prompt.fill`; the top suggestion goes to `$.prompt.suggest`. - `turn.start`: hides the suggestions. Suggestions draw in the terminal. Other surfaces show nothing. ## Options | Option | Default | What it does | | --- | --- | --- | | `minAnswerChars` | `80` | Skip suggestions after answers shorter than this | | `suggestSkills` | `true` | Tell the suggester which skills and slash commands the session has |
© Thariq Shihipar · MIT · anthropics/claude-plugins-community