promptly-prompt

promptly-prompt is a skill for Claude Code from ViryaZheng/promptly-prompt. It costs 59 tokens per session (418 once invoked), scanned A, original, MIT.

A prompt-clarity skill that checks unclear requests when they are submitted. It restates the intended task for agreement, diagnoses the underlying problem, and looks for established practices before proceeding.

In plain words
What is it for?
Use it to clarify vague requests, confirm success criteria, investigate root causes, and guide the agent toward suitable frameworks, libraries, or prior solutions.
Why use it?
It helps reveal misunderstandings before the coding agent acts. It reduces solutions based on guesses or memory when relevant methods, libraries, or prior work may already exist.

Skill for Claude Code

Written for Claude Code: UserPromptSubmit hook event.

Part of the promptly-prompt plugin — 1 skill, 1 hook shipped together

Good fit Use it to clarify vague requests, confirm success criteria, investigate root causes, and guide the agent toward suitable frameworks, libraries, or prior solutions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/viryazheng/promptly-prompt/skill
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.

Any agent
npx skills add ViryaZheng/promptly-prompt --skill skill
Clone the repo
git clone --depth 1 https://github.com/ViryaZheng/promptly-prompt

Made for: Claude Code.

Or install promptly-prompt, the plugin that ships this one along with the rest of its 1 skill, 1 hook.

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 promptly-prompt

README.md
[![agentmods](https://agentmods.dev/badge/skills/viryazheng/promptly-prompt/skill/github.svg)](https://agentmods.dev/skills/viryazheng/promptly-prompt/skill)
Your own site
<a href="https://agentmods.dev/skills/viryazheng/promptly-prompt/skill"><img src="https://agentmods.dev/badge/skills/viryazheng/promptly-prompt/skill/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 promptly-prompt

Your own site · 80×15
<a href="https://agentmods.dev/skills/viryazheng/promptly-prompt/skill"><img src="https://agentmods.dev/badge/skills/viryazheng/promptly-prompt/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 418 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00059 $0.00418
Opus 5 $0.00030 $0.00209
Sonnet 5 $0.00012 $0.00084
Haiku 4.5 $0.00006 $0.00042

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

Security

Grade A, and why

promptly-prompt scanned grade A with 0 findings 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/intercept.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/SKILL.md · 42 lines

What it actually says

promptly-prompt

AI answer quality depends on input clarity, not prompt tricks — and nobody writes perfectly clear prompts all the time. This skill catches the unclear ones at submission and repairs them through alignment.

It operates via a UserPromptSubmit hook that injects two disciplines into unclear requests, both at once:

  1. Restate to align — echo the user's request in your own words and state your understanding, so a misread surfaces before any work happens. If the restatement reveals a mismatch, raise it before acting.

  2. Diagnose, then reuse prior art — don't solve from memory. Diagnose the root cause of the problem, search for the domain's mature, established practices — methodologies, frameworks, libraries, prior art — and only then proceed. If nothing fits, say so and explain why.

The hook script at scripts/intercept.py scores prompt unclarity using rule-based signals: vague verbs without success criteria, hedging, and dangling referents add points; concrete anchors (paths, errors, code), structure, and explicit criteria subtract them. Length never adds points — a long, well-specified prompt is the clearest kind and passes untouched. Unclear requests (score >= 3) get the full injection, in the prompt's own language (Chinese or English) — both disciplines, every time.

Explicit Invocation

When invoked directly (e.g., user says "optimize this prompt"), apply the two disciplines manually: restate the user's intent with implicit needs surfaced, then locate the domain and the existing methods that belong to it. Rewrite the prompt with that context filled in.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 42 lines · 59 tokens per session scan A b9b2925c954d

Subscribe to this mod's changes

promptly-prompt is a skill published in the GitHub repository ViryaZheng/promptly-prompt (37 stars, last pushed 2mo ago), licensed MIT. It adds 59 tokens to every session and 418 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.