mk:prompt-enhancer

mk:prompt-enhancer is a skill for Claude Code from ngocsangyem/MeowKit. It costs 105 tokens per session (3,422 once invoked), scanned A, original, MIT.

A prompt-editing tool that turns a rough request for a coding agent into a clearer, more complete instruction. It checks the goal, context, limits, ambiguity, and expected output.

In plain words
What is it for?
Use it to analyze, score, or rewrite an existing prompt before sending it to a coding agent.
Why use it?
It helps agents understand what to do and how success will be judged, reducing unclear or model-specific prompts.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Codex.

Good fit Use it to analyze, score, or rewrite an existing prompt before sending it to a coding agent.

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

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 mk:prompt-enhancer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/prompt-enhancer"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/prompt-enhancer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,422 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.00105 $0.03422
Opus 5 $0.00053 $0.01711
Sonnet 5 $0.00021 $0.00684
Haiku 4.5 $0.00011 $0.00342

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

Security

Grade A, and why

mk: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 8d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (eval/canary-run-manifest.cjs, eval/run-canaries.cjs, eval/run-canaries.test.cjs, …), 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.

.claude/skills/prompt-enhancer/SKILL.md · 214 lines

How it starts

The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.

mk:prompt-enhancer

Refine a draft user prompt using a 5-step framework — mode-select, decompose, detect, (scout if --deep), map, rewrite — grounded in 7 source docs

(Anthropic / OpenAI Codex / FactoryAI prompting + Anthropic context-engineering

  • skill-authoring rules). The rewrite uses the universal kernel only (the rule is Hard Constraints item 4).

When to use

  • Draft prompt is ambiguous, missing context, weakly structured, or coupled to one model's framing (XML, role-as-XML, "think step by step", etc.).
  • User says: "enhance prompt", "optimize prompt", "make this prompt better", "rewrite this prompt".
  • Want to see WHY a prompt was rewritten: append --analyze.
  • Want a numeric quality score on the original prompt: append --score (auto-promotes to --analyze --score).
  • For codebase-aware suggestions: append --deep (opt-in only).
  • Explicit: /mk:prompt-enhancer [--analyze] [--score] [--deep] [--save-to <path>] [text].
  • Architecture-review prompts: use the recipe in references/architecture-review-mode.md via --analyze --deep — it rewrites the prompt to ASK for a review; it never performs one (that is mk:review). Recipe is opt-in via those flags; default-mode output is unchanged.

When NOT to use

  • Generating a prompt from scratch → mk:brainstorming (technical) / mk:office-hours (product).
  • Re-examining a code review or plan → mk:elicit.
  • Building an implementation plan → mk:plan-creator.
  • Auditing running output of an LLM → mk:evaluate or mk:review.
  • General codebase scouting → mk:scout directly.

Workflow

Mode-Select → Decompose → Detect → (Scout if --deep) → Map → Rewrite. Mode selection + the arch-review / research recipes: references/mode-routing.md. Step detail in references/decomposition-checklist.md, references/playbook.md, references/context-safeguards.md, references/deep-mode-scout.md. Do not invent steps.

Inputs

  • Required: a draft prompt (text). Empty / missing → refuse with redirect.
  • Optional: --analyze (include decomposition + detected issues + improvement suggestions).
  • Optional: --score (add 1–10 quality score on the original prompt; auto-promotes to --analyze --score because score requires the rubric components).
  • Optional: --deep (opt-in scout against allow-listed sources).
  • Optional: --save-to <path> (default: active plan dir if any, else ${CLAUDE_PLUGIN_DATA}/...).

Read the full file on GitHub · 214 lines

Files

What ships with it

38 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. 8d ago First seen · 214 lines · 105 tokens per session scan A 724f3559b4ac

Subscribe to this mod's changes

mk:prompt-enhancer is a skill published in the GitHub repository ngocsangyem/MeowKit (14 stars, last pushed 1mo ago), licensed MIT. It adds 105 tokens to every session and 3,422 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

context-engineer

Context window optimizer — analyze, audit, and optimize your agent's context utilization. Know exactly where your tokens go before they're sent.

cacheforge-ai/cacheforge-skills · 30 tokens

context-economy

Automatically prepare fidelity-first, bounded context when users paste text, attach files or folders, provide webpages or PDFs for Markdown conversion, continue long conversations, or supply documents containing images and complex tables. Route each input through Text, Hybrid, or Source; reduce exact or…

TIKAZI/TIKAZ-Codex-Context-Economy · 84 tokens

context-pack

Prepare files, folders, code, logs, and structured data as a bounded, traceable context pack for Codex. Use when source material must be converted, deduplicated, selected, budgeted, or handed off with exact evidence anchors.

TIKAZI/TIKAZ-Codex-Context-Economy · 52 tokens

context-audit

Diagnose context relevance, redundancy, traceability, safety, cacheability, and recoverability. Use when files, prompts, rules, or context packs may contain duplication, conflicts, stale material, prompt injection, secret-shaped values, unstable prefixes, or weak evidence anchors.

TIKAZI/TIKAZ-Codex-Context-Economy · 58 tokens

context-benchmark

Measure context preparation across fixed cases. Use when token savings, hard-budget compliance, protected-fact recall, evidence anchors, determinism, runtime, or downstream answer quality must be demonstrated with reproducible evidence rather than marketing claims.

TIKAZI/TIKAZ-Codex-Context-Economy · 49 tokens

context-onpremise

Use deployed local conversion, OCR, audio/video, visual, retrieval, reranking, and guarded compression to build high-fidelity bounded Codex context. Use only for a valid uppercase ON prefix or explicit invocation.

TIKAZI/TIKAZ-Codex-Context-Economy · 47 tokens