prompt-improvement

prompt-improvement is a skill for Claude Code, Codex from ntaffzii/Skill-Agents. It costs 63 tokens per session (431 once invoked), scanned A, original, MIT.

A prompt-editing guide for turning rough instructions into clear tasks that an AI agent, coding assistant, automation, or research workflow can follow.

In plain words
What is it for?
Rewriting, clarifying, structuring, scoring, translating, or improving prompts so they include the needed context, inputs, output format, and quality rules.
Why use it?
It removes ambiguity, missing constraints, unclear outputs, and hidden assumptions from a prompt without changing the user's intended request.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Rewriting, clarifying, structuring, scoring, translating, or improving prompts so they include the needed context, inputs, output format, and quality rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ntaffzii/skill-agents/prompt-improvement
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 ntaffzii/Skill-Agents --skill prompt-improvement
Clone the repo
git clone --depth 1 https://github.com/ntaffzii/Skill-Agents

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/prompt-improvement"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/prompt-improvement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 431 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.00063 $0.00431
Opus 5 $0.00032 $0.00216
Sonnet 5 $0.00013 $0.00086
Haiku 4.5 $0.00006 $0.00043

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

Security

Grade A, and why

prompt-improvement 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.

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.

skills/productivity/prompt-improvement/SKILL.md · 80 lines

What it actually says

Prompt Improvement

Turn rough intent into a clear prompt without changing what the user asked for.

Core Principle

Preserve explicit intent. Add assumptions only when labeled.

Workflow

  1. Classify the problem

    • Identify whether the prompt is vague, ambiguous, overbroad, missing inputs, missing output format, missing audience, risky, or already good enough.
  2. Extract intent

    • Separate explicit requirements, inferred goals, missing information, assumptions, constraints, and risks.
    • Do not invent requirements.
  3. Decide whether to ask or rewrite

    • Ask 1 to 3 concise questions only when missing information changes the correct outcome.
    • Proceed with assumptions for low-risk drafting, brainstorming, research, reports, templates, and clear-enough tasks.
  4. Rewrite

    • Make the task executable.
    • Add context, requirements, process, output format, quality rules, and language guidance only when useful.
    • Keep identifiers, file paths, commands, schema keys, model IDs, and API names unchanged.
  5. Check fidelity

    • Confirm the rewrite preserves the user's request.
    • Remove hidden goals.
    • Mark assumptions and open questions clearly.

Default Output

## Improved Prompt

```text
[Prompt ready to use]

What Changed

Assumptions

Questions


## Reusable Prompt Skeleton

```text
Role:

Task:

Context:

Requirements:

Process:

Output Format:

Quality Rules:

Language And Tone:

Rules

  • Respond in the user's language.
  • Keep reusable model-facing prompt text in English when it improves portability.
  • Do not make prompts longer unless the added structure improves execution.
  • Do not remove explicit constraints.
  • Do not convert uncertainty into fact.
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 · 80 lines · 63 tokens per session scan A d112ea347b2f

Subscribe to this mod's changes

prompt-improvement is a skill published in the GitHub repository ntaffzii/Skill-Agents (4 stars, last pushed 2d ago), licensed MIT. It adds 63 tokens to every session and 431 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-31.