ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by Optinuss

next-prompts

A Claude Code mod that keeps you moving: after every turn it suggests the 3 best prompts to send next, shows a live timer against Claude's own time estimate, and tracks your goal's task progress, all in a panel above the prompt.

Optinuss@Optinuss

1/

This is my favorite Claude Code mod that I built. It gives three suggested new prompts to further the project development based on recent Terminal history. This has helped me think of new action items. #Mods #ClaudeCode #Claude

Original post image1

2/

Open sourced. Added a progress bar with estimate time to complete the current prompt. https://github.com/BEXAI/Mod-3-Next-Prompts

Original post image1
Translated

About this mod

next-prompts

A Claude Code mod that keeps you moving: after every turn it suggests the 3 best prompts to send next, shows a live timer against Claude's own time estimate, and tracks your goal's task progress, all in a panel above the prompt.

Features

Next-prompt suggestions

  • After each turn, Haiku reads the last 3 exchanges plus the project state (goal, open tasks, git status) and proposes 3 concrete next prompts, ordered by impact.
  • If tasks are unfinished, suggestion #1 continues the next one.
  • Click a suggestion, or type 1, 2 or 3 and press Enter to send it.

Estimate-gated timer

  • Registers an estimate MCP tool (mcp__next-prompts__estimate) and tells Claude to call it with a time estimate and a short plan before making any change.
  • Edit, Write, NotebookEdit and Bash calls are refused until that estimate is in (subagents are exempt).
  • A full-width progress bar shows elapsed time against the estimate, the projected finish time and the plan, and turns yellow when the request runs over.

Goal and task panel

  • Picks up TodoWrite / TaskCreate / TaskUpdate calls and shows the goal, a progress bar, elapsed time, and each task with how long it took or how long it has been running.
  • Shows 5 tasks by default, with a button to expand the rest. The list resets after every task is done and you send a new prompt.

Done alert

  • Requests that run 2 minutes or longer end with a toast, a sound (Glass.aiff) and a macOS notification.

Install

Clone into your Claude Code mods directory:

git clone https://github.com/BEXAI/Mod-3-Next-Prompts.git ~/.claude/mods/next-prompts

Then enable it as a plugin in Claude Code and restart the session. Claude Code generates the type definitions under .claude-plugin/types/ itself.

Layout

.claude-plugin/plugin.json   plugin manifest
hooks/hooks.json             hook module list
hooks/register.tsx           all hooks: suggestions, estimate tool, timer, tasks, UI
hooks/register.test.ts       unit tests for the pure helpers
types/index.d.ts             plugin state types

Configuration

Settings are constants at the top of hooks/register.tsx:

| Constant | Default | Meaning | |---|---|---| | LOOKBACK | 3 | Number of past prompts sent to Haiku | | MAX_CHARS | 1500 | Character cap per message in that context | | SUGGEST_TIMEOUT_MS | 15000 | Time limit for generating suggestions | | LONG_TURN_MS | 120000 | How long a request runs before the done alert fires | | SHOWN_TASKS | 5 | Tasks shown before the expand button | | DONE_SOUND | Glass.aiff | Sound for the done alert |

Notes

  • The sound and notification use afplay and osascript, so they work only on macOS. Everything else works on any platform.
  • Suggestions run on Haiku with low effort and are cancelled once you send a new prompt.

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add BEXAI/Mod-3-Next-Prompts
claude plugin install next-prompts
Original text / README

next-prompts

A Claude Code mod that keeps you moving: after every turn it suggests the 3 best prompts to send next, shows a live timer against Claude's own time estimate, and tracks your goal's task progress, all in a panel above the prompt.

Features

Next-prompt suggestions

  • After each turn, Haiku reads the last 3 exchanges plus the project state (goal, open tasks, git status) and proposes 3 concrete next prompts, ordered by impact.
  • If tasks are unfinished, suggestion #1 continues the next one.
  • Click a suggestion, or type 1, 2 or 3 and press Enter to send it.

Estimate-gated timer

  • Registers an estimate MCP tool (mcp__next-prompts__estimate) and tells Claude to call it with a time estimate and a short plan before making any change.
  • Edit, Write, NotebookEdit and Bash calls are refused until that estimate is in (subagents are exempt).
  • A full-width progress bar shows elapsed time against the estimate, the projected finish time and the plan, and turns yellow when the request runs over.

Goal and task panel

  • Picks up TodoWrite / TaskCreate / TaskUpdate calls and shows the goal, a progress bar, elapsed time, and each task with how long it took or how long it has been running.
  • Shows 5 tasks by default, with a button to expand the rest. The list resets after every task is done and you send a new prompt.

Done alert

  • Requests that run 2 minutes or longer end with a toast, a sound (Glass.aiff) and a macOS notification.

Install

Clone into your Claude Code mods directory:

git clone https://github.com/BEXAI/Mod-3-Next-Prompts.git ~/.claude/mods/next-prompts

Then enable it as a plugin in Claude Code and restart the session. Claude Code generates the type definitions under .claude-plugin/types/ itself.

Layout

.claude-plugin/plugin.json   plugin manifest
hooks/hooks.json             hook module list
hooks/register.tsx           all hooks: suggestions, estimate tool, timer, tasks, UI
hooks/register.test.ts       unit tests for the pure helpers
types/index.d.ts             plugin state types

Configuration

Settings are constants at the top of hooks/register.tsx:

| Constant | Default | Meaning | |---|---|---| | LOOKBACK | 3 | Number of past prompts sent to Haiku | | MAX_CHARS | 1500 | Character cap per message in that context | | SUGGEST_TIMEOUT_MS | 15000 | Time limit for generating suggestions | | LONG_TURN_MS | 120000 | How long a request runs before the done alert fires | | SHOWN_TASKS | 5 | Tasks shown before the expand button | | DONE_SOUND | Glass.aiff | Sound for the done alert |

Notes

  • The sound and notification use afplay and osascript, so they work only on macOS. Everything else works on any platform.
  • Suggestions run on Haiku with low effort and are cancelled once you send a new prompt.

Showcase: This is my favorite Claude Code mod that I built.

It gives three suggested new prompts to further the project development based on recent Terminal history.

This has helped me think of new action items. #Mods #ClaudeCode #Claude

Open sourced. Added a progress bar with estimate time to complete the current prompt. https://github.com/BEXAI/Mod-3-Next-Prompts 依終端歷史建議三個下一步 prompt

Similar projects