Agent Prompt: Prompt Suggestion Generator v2

Agent Prompt: Prompt Suggestion Generator v2 is an agent for Claude Code from openonion/connectonion. It costs 20 tokens per session (294 once invoked), scanned C, original, Apache-2.0.

An agent that suggests the short next command a user is most likely to type in Claude Code.

In plain words
What is it for?
Use it after a code change, test result, error, or offered choice when a natural next instruction can be predicted.
Why use it?
It reduces the effort of deciding what to ask next by using the recent conversation and the unfinished task.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions Claude Code.

Good fit Use it after a code change, test result, error, or offered choice when a natural next instruction can be predicted.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/openonion/connectonion/agent-prompt-prompt-suggestion-generator-v2
About the project

ConnectOnion is an open-source, template-first toolkit for building, debugging, deploying, and operating AI agents. Developers use its command-line tools and Python runtime to create agents, add tools, connect services, deploy them, and make them callable by other agents, while the catalogue entries are related agents, skills, and instructions.

openonion/connectonion · 1,480 stars · on GitHub · docs.connectonion.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/openonion/connectonion

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Agent Prompt: Prompt Suggestion Generator v2

README.md
[![agentmods](https://agentmods.dev/badge/agents/openonion/connectonion/agent-prompt-prompt-suggestion-generator-v2/github.svg)](https://agentmods.dev/agents/openonion/connectonion/agent-prompt-prompt-suggestion-generator-v2)
Your own site
<a href="https://agentmods.dev/agents/openonion/connectonion/agent-prompt-prompt-suggestion-generator-v2"><img src="https://agentmods.dev/badge/agents/openonion/connectonion/agent-prompt-prompt-suggestion-generator-v2/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Agent Prompt: Prompt Suggestion Generator v2

Your own site · 80×15
<a href="https://agentmods.dev/agents/openonion/connectonion/agent-prompt-prompt-suggestion-generator-v2"><img src="https://agentmods.dev/badge/agents/openonion/connectonion/agent-prompt-prompt-suggestion-generator-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 294 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00294
Opus 5 $0.00010 $0.00147
Sonnet 5 $0.00004 $0.00059
Haiku 4.5 $0.00002 $0.00029

Measured 13d ago against content hash 89b2ccb3e7c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

Agent Prompt: Prompt Suggestion Generator v2 scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- name: 'Agent Prompt: Prompt Suggestion Generator v2' description: V2 instructions for generating prompt suggestions for Claude Code ccVersion: 2.1.26 -->
connectonion/useful_prompts/cc_prompt/prompts/agents/agent-prompt-prompt-suggestion-generator-v2.md · 36 lines

What it actually says

[SUGGESTION MODE: Suggest what the user might naturally type next into Claude Code.]

FIRST: Look at the user's recent messages and original request.

Your job is to predict what THEY would type - not what you think they should do.

THE TEST: Would they think "I was just about to type that"?

EXAMPLES: User asked "fix the bug and run tests", bug is fixed → "run the tests" After code written → "try it out" Claude offers options → suggest the one the user would likely pick, based on conversation Claude asks to continue → "yes" or "go ahead" Task complete, obvious follow-up → "commit this" or "push it" After error or misunderstanding → silence (let them assess/correct)

Be specific: "run the tests" beats "continue".

NEVER SUGGEST:

  • Evaluative ("looks good", "thanks")
  • Questions ("what about...?")
  • Claude-voice ("Let me...", "I'll...", "Here's...")
  • New ideas they didn't ask about
  • Multiple sentences

Stay silent if the next step isn't obvious from what the user said.

Format: 2-12 words, match the user's style. Or nothing.

Reply with ONLY the suggestion, no quotes or explanation.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 36 lines · 0 tokens per session scan C 89b2ccb3e7c0

Subscribe to this mod's changes

Agent Prompt: Prompt Suggestion Generator v2 is an agent published in the GitHub repository openonion/connectonion (1,480 stars, last pushed yesterday), licensed Apache-2.0. It adds 20 tokens to every session and 294 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

prompt-engineer

Optimizes prompts for LLMs and AI systems. Use when building AI features, improving agent performance, or crafting system prompts. Expert in prompt patterns and techniques.

echoVic/blade-code · 37 tokens

ai-engineer

Build LLM applications, RAG systems, and prompt pipelines. Implements vector search, agent orchestration, and AI API integrations. Use PROACTIVELY for LLM features, chatbots, or AI-powered applications.

echoVic/blade-code · 48 tokens

token

Optimizes LLM context windows through token budgeting, chunking strategy, and truncation design. Use when you need to control token spend, design a chunking pipeline, or audit token usage in a production AI system. Trigger with "design my token budget", "fix my context overflow".

jeremylongshore/tons-of-skills-marketplace · 60 tokens

tune

Designs LLM fine-tuning pipelines using PEFT/LoRA, RLHF, and instruction datasets, and systematically optimizes prompts before recommending fine-tuning. Use when prompt engineering alone isn't achieving target quality or you need a smaller, cheaper model for a specific task. Trigger with "design a fine-tuning…

jeremylongshore/tons-of-skills-marketplace · 74 tokens

data

Use for data processing, ETL pipelines, data transformation, and batch processing tasks.

AgentWorkforce/relay · 19 tokens

mlops-engineer

Build ML pipelines, experiment tracking, and model registries. Implements MLflow, Kubeflow, and automated retraining. Handles data versioning and reproducibility. Use PROACTIVELY for ML infrastructure, experiment management, or pipeline automation.

echoVic/blade-code · 54 tokens