← Plugins

Next Prompts

jawn-ha29installs

Automatic follow-up prompt suggestions after every agent turn, with a default offline local engine and optional tool-free Direct LLM API.

$ paseo plugin add jawn-ha/next-prompts
Next Prompts screenshot 1

Next Prompts suggests clickable follow-up prompts after an agent completes a turn and provides one-click prompt rewriting, without modifying AGENTS.md or replacing Paseo's native Markdown rendering.

How it works

When an agent finishes a turn and becomes idle with a reply, the plugin inspects recent conversation turns, selected tool details, and workspace git status. It publishes follow-up suggestions to the composer popover (Next), the chat timeline, or both. Clicking a suggestion fills or sends it; the popover and /enhance command can also rewrite a draft prompt in place.

Generation modes and setup

  • Local context (default): Generates rule-based suggestions locally on the daemon host with zero API keys, zero background agents, and no external network requests.
  • Paseo Provider (opt-in · isolated helper): Reuses your existing Paseo provider subscription with no separate API key. Off by default; runs only when explicitly selected in Next Prompts settings. By default it strictly uses the current chat's source provider (or a provider/model you explicitly pick) and never falls back to another enabled provider. It lowers the model's thinking level where supported, runs a pooled warm helper per provider/model inside a neutral empty directory (~/.paseo/plugin-data/paseo-next-prompts/helper-workdir, never your project repository), automatically rotates or evicts helpers after a turn limit or idle timeout, and archives the temporary workspace and removes the helper record via the local paseo delete CLI on rotation, error, or plugin shutdown.
  • Direct LLM API: Sends a tool-free HTTP /chat/completions POST request strictly to the OpenAI-compatible endpoint and model you explicitly configure (OpenAI, DeepSeek, OpenRouter, custom endpoints, or local Ollama). Remote endpoints must use https://; plain http:// is accepted only for loopback hosts (localhost, 127.0.0.1, [::1]). HTTP redirects are rejected on both suggestion and prompt-rewrite requests. Each stored API key is tied to its normalized endpoint URL. OPENAI_API_KEY from the daemon environment is used only with https://api.openai.com; PASEO_NEXT_PROMPTS_API_KEY is used only when PASEO_NEXT_PROMPTS_API_BASE_URL matches the configured endpoint. Local loopback endpoints work without an API key.
  • Auto: Uses Direct LLM API when a key is configured for the active endpoint (or the endpoint is local loopback), and falls back to Local context otherwise.

Requires Paseo >=0.16.0. Settings are stored locally at ~/.paseo/next-prompts-config.json (or $PASEO_HOME/next-prompts-config.json).

Data, permissions, and privacy

  • Local context (default): Runs entirely on the daemon host and sends no chat text, tool details, or filenames to external providers.
  • Paseo Provider (opt-in): Sends only bounded conversation text (latest user message, latest assistant reply, and short excerpts of up to two prior turns — or your composer draft plus latest reply excerpt for prompt rewriting) to the source provider or your explicitly chosen provider. Raw tool outputs, shell errors, and git status are excluded. The helper runs in an empty plugin data directory, but it inherits the selected provider's configured permissions; the instruction not to use tools is prompt-based, not a hard sandbox.
  • Direct LLM API / Auto (when a model is called): Sends recent chat text, selected tool details (tool names, pending todo items, unresolved failed shell command strings, and error/output excerpts), and workspace filenames (edited/written paths and git status modified/untracked filenames) in a tool-free POST request to your configured API endpoint only. Prompt rewriting sends your draft text, a short excerpt of the latest assistant reply, and git status filenames to that same endpoint.

Controls

  • Per-session auto-suggest toggle inside the Next composer popover and Command Center (Next Prompts: Toggle Auto-Suggest for Current Session). Background subagents are skipped by default.
  • Slash commands /next (generate or refresh suggestions) and /enhance <draft> (rewrite a rough prompt).
  • Next Prompts settings screen to switch modes, pick display position, choose a Paseo provider or Direct LLM API endpoint preset, switch language (Auto, English, or Simplified Chinese), and test the endpoint connection.

Related plugins

Browse all plugins →