prompt-enhancer

prompt-enhancer is a skill for Claude Code, Codex from codebygarv/Ai-skills. It costs 24 tokens per session (299 once invoked), scanned A, original, MIT.

A prompt-writing skill that turns vague requests into clear instructions with context, constraints, reasoning steps, and an exact output format.

In plain words
What is it for?
Improving coding or architecture prompts, creating reusable AI-agent instructions, and defining structured outputs.
Why use it?
It reduces generic or made-up answers caused by incomplete requests by making the desired task and boundaries explicit.

Skill for Claude CodeCodex

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

Good fit Improving coding or architecture prompts, creating reusable AI-agent instructions, and defining structured…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codebygarv/ai-skills/prompt-enhancer
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 codebygarv/Ai-skills --skill prompt-enhancer
Clone the repo
git clone --depth 1 https://github.com/codebygarv/Ai-skills

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-enhancer

README.md
[![agentmods](https://agentmods.dev/badge/skills/codebygarv/ai-skills/prompt-enhancer.svg)](https://agentmods.dev/skills/codebygarv/ai-skills/prompt-enhancer)
Your own site
<a href="https://agentmods.dev/skills/codebygarv/ai-skills/prompt-enhancer"><img src="https://agentmods.dev/badge/skills/codebygarv/ai-skills/prompt-enhancer.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 299 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.00024 $0.00299
Opus 5 $0.00012 $0.00150
Sonnet 5 $0.00005 $0.00060
Haiku 4.5 $0.00002 $0.00030

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

Security

Grade A, and why

prompt-enhancer 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 7d 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-enhancer/SKILL.md · 34 lines

What it actually says

Purpose

Transform loose, ambiguous, or incomplete user requests into high-precision, constraint-driven prompts with explicit roles, context requirements, step-by-step reasoning directives, output schemas, and boundary rules.

When to Use

  • When an initial prompt produces hallucinated, generic, or off-target AI responses.
  • Writing reusable prompt templates or system instructions for AI agent workflows.
  • Refining complex coding or architectural prompts before executing them.

What to Analyze

  1. Role & Persona: Establish precise expertise level (e.g. "Senior Rust Systems Engineer").
  2. Context & Inputs: Identify missing variables, code snippets, or environment specs.
  3. Explicit Constraints: Negative rules (what NOT to do) and boundary constraints.
  4. Step-by-Step Directives: Breaking multi-faceted tasks into ordered execution steps.
  5. Output Format & Schema: Defining the exact structure (JSON schema, markdown headings, code-only).

Output Format

  • Enhanced Prompt: Ready-to-use structured prompt using standard tagging or markdown.
  • Key Improvements Explained: Why each constraint was added.
  • Recommended Variables: Placeholders for dynamic inputs.

Avoid

  • Overloading prompts with conversational filler phrases.
  • Omitting negative constraints (which lead to unwanted verbosity or disclaimers).
Files

What ships with it

2 files 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. 7d ago First seen · 34 lines · 24 tokens per session scan A a5af742c73ff

Subscribe to this mod's changes

prompt-enhancer is a skill published in the GitHub repository codebygarv/Ai-skills (25 stars, last pushed 18d ago), licensed MIT. It adds 24 tokens to every session and 299 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

ai-prompt-writing

Write effective prompts for AI coding tools — structure task context, specify constraints, provide examples, and iterate based on output quality. Targets developers using Claude Code, Copilot, Cursor, and similar tools.

The-AI-Directory-Company/agents-and-skills · 45 tokens

prompt-engineering-guide

Design, test, and optimize LLM prompts systematically — with evaluation frameworks, chain-of-thought patterns, output formatting, and iteration methodology for reliable AI outputs.

The-AI-Directory-Company/agents-and-skills · 37 tokens

nowait-reasoning-optimizer

Implements the NOWAIT technique for efficient reasoning in R1-style LLMs. Use when optimizing inference of reasoning models (QwQ, DeepSeek-R1, Phi4-Reasoning, Qwen3, Kimi-VL, QvQ), reducing chain-of-thought token usage by 27-51% while preserving accuracy. Triggers on "optimize reasoning", "reduce thinking tokens"…

foryourhealth111-pixel/Vibe-Skills · 110 tokens

cost-aware-llm-pipeline

A planning guide for choosing language models and managing the amount of conversation context used by an AI coding workflow. It groups tasks by complexity and gives rules for avoiding context overflow during long sessions.

hashgraph-online/awesome-codex-plugins · 42 tokens

prompt-lookup

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.

foryourhealth111-pixel/Vibe-Skills · 39 tokens

llm-patterns

AI-first application patterns, LLM testing, prompt management.

alinaqi/maggy · 16 tokens