prompt-quality

prompt-quality is a skill for Claude Code from vikast908/agent-repo-card. It costs 100 tokens per session (1,191 once invoked), scanned A, original, MIT.

A review workflow for checking the quality and maintainability of prompts used in an AI or coding-agent project. It examines wording, structure, instructions, output requirements, edge cases, and testing.

In plain words
What is it for?
Use it to review system, developer, and user prompts and report specific issues with evidence, severity, and quality scores.
Why use it?
It helps find unclear or contradictory instructions that can make an AI system produce unreliable results.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review system, developer, and user prompts and report specific issues with evidence, severity, and quality scores.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vikast908/agent-repo-card/prompt-quality"><img src="https://agentmods.dev/badge/skills/vikast908/agent-repo-card/prompt-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,191 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.00100 $0.01191
Opus 5 $0.00050 $0.00596
Sonnet 5 $0.00020 $0.00238
Haiku 4.5 $0.00010 $0.00119

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

Security

Grade A, and why

prompt-quality 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 12d 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/prompt-quality/SKILL.md · 61 lines

How it starts

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

Prompt quality review

You are an applied-AI engineer who has shipped and debugged LLM prompts in production. You know that most "the model is dumb" complaints are actually prompt-craft problems: vague instructions, contradictions, no output contract, untrusted data fused into instructions, or prompts nobody can test. You review this repo's prompts for craft — distinct from token-efficiency (cost) and agent-security (injection).

Protocol (shared across all checks)

  1. Plan first (default). Present a short plan: which prompts you'll inspect, the craft dimensions you'll grade, the outputs, and assumptions/missing info. Ask "Proceed with the full prompt review, or adjust scope?" and wait. Skip if invoked with auto / "just do it".
  2. Evidence rule. Cite file:line and quote the offending prompt fragment (≤2 lines). Never invent prompts; label guesses unverified.
  3. Severity: Critical / High / Medium / Low.
  4. Score dimensions below to 0–100 → grade.
  5. Output inline, then offer to save to agent-review/prompt-quality.md.

What to inspect

  • Find the prompts: system/developer/user messages, template files, prompt/instructions/system strings, prompt-builder functions, .txt/.md/.jinja/.hbs templates, f-strings/template literals that assemble model input.
  • How they're assembled: is untrusted data (user text, RAG chunks, tool output) concatenated into the instructions, or kept in clearly separated, labeled data sections?
  • Role placement: what's in the system prompt vs developer vs user; are stable instructions in the right place?
  • Output handling: is a format/schema demanded and then actually parsed/validated downstream?
  • Coverage: are these prompts exercised by any tests/evals? (cross-ref agent-eval-coverage.)

Grade each prompt on these craft dimensions

  1. Clarity & specificity — unambiguous task, concrete success criteria, no vague adjectives ("good", "nicely") doing real work.
  2. Structure — sections, ordering, and delimiters; instructions before data; long prompts organized, not a wall of text.
  3. Role separation — stable rules in system; task in user; untrusted content clearly marked as data, not instructions (e.g. fenced/labeled). No "the model has the same authority for the web page it read as for the developer."
  4. Internal consistency — no contradictory rules ("always be concise" + "explain in full detail"); no instructions that fight the model or each other.
  5. Output contract — explicit format (schema/JSON/enum) when output is consumed by code; matches what the code actually parses; says what to do when it can't comply.
  6. Robustness & edge handling — what happens on empty/missing inputs, ambiguous requests, out-of-scope asks, or no good answer; refusal/uncertainty path defined.
  7. Few-shot & example quality — examples are correct, relevant, diverse, and earn their tokens; no contradictory or redundant examples; no example that leaks the wrong format.
  8. Maintainability — templated not copy-pasted; deduplicated; versioned/traceable; not a giant unbreakable string.
  9. Model-appropriateness — uses the model's actual features and current conventions; not fighting the model or relying on folklore; temperature/format settings match the task.

Read the full file on GitHub · 61 lines

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. 12d ago First seen · 61 lines · 100 tokens per session scan A 611981cfde16

Subscribe to this mod's changes

prompt-quality is a skill published in the GitHub repository vikast908/agent-repo-card (1 stars, last pushed 3mo ago), licensed MIT. It adds 100 tokens to every session and 1,191 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-08-31.

Related

Other skills, from other repositories

absolute-simplify

Use when the user wants to simplify, clean up, refactor, tidy, or refine code — their staged/unstaged git changes or a target file/path. Reduces complexity, flattens nesting, removes redundancy and dead code, scores each change by value (holding low-value churn), then runs tests to prove nothing broke. Invoke on…

maddhruv/absolute · 178 tokens

nasde-benchmark-runner

Run coding agent benchmarks and verify results with nasde. Use this skill when the user wants to: Run a benchmark (all tasks, single task, specific variant) Re-run assessment evaluation on existing trial results Check or verify results in Opik (traces, feedback scores, experiments) Troubleshoot a failed benchmark run…

NoesisVision/nasde-toolkit · 139 tokens

tactical-ddd

Design, refactor, analyze, and review code by applying the principles and patterns of tactical domain-driven design. Triggers on: domain modeling, aggregate design, 'entity', 'value object', 'repository', 'bounded context', 'domain event', 'domain service', code touching domain/ directories, rich domain model…

NoesisVision/nasde-toolkit · 70 tokens

nasde-benchmark-calibration

Calibrate assessment rubrics by reviewing agent work in GitHub/GitLab PRs and feeding human comments back into the rubric. Use this skill when the user wants to: Calibrate, tune, or sanity-check assessment criteria / dimensions of a benchmark Review trial diffs alongside the LLM-as-a-Judge scores in a PR/MR…

NoesisVision/nasde-toolkit · 171 tokens

nasde-dev

Internal skill for developing and maintaining nasde-toolkit itself. Use this skill when: Making changes to nasde-toolkit source code (CLI, runner, evaluator, config, agents) Refactoring or adding features to the toolkit Fixing bugs in the evaluation pipeline Updating dependencies or integration points (Harbor, Opik…

NoesisVision/nasde-toolkit · 103 tokens

python-best-practices

Provides Python patterns for type-first development with dataclasses, discriminated unions, NewType, and Protocol. Must use when reading or writing Python files.

NoesisVision/nasde-toolkit · 36 tokens