prompt-validation

prompt-validation is a skill for Claude Code, Codex from jonathanung/finesse. It costs 12 tokens per session (1,631 once invoked), scanned A, original, MIT.

A planning-session check that sends each draft plan through several separate reviews before showing it to the user. It is used by Finesse, a tool for creating and managing coding plans.

In plain words
What is it for?
Reviewing Finesse plans for clarity, testable completion criteria, safe boundaries, useful phases, failure handling, and whether the plan can reach its goal.
Why use it?
It helps catch unclear requirements, vague completion rules, unsafe scope, weak phase order, and missing recovery steps before work begins.

Skill for Claude CodeCodex

Part of the finesse plugin — 6 skills, 13 commands, 14 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add skills/jonathanung/finesse/prompt-validation
Any agent
npx skills add jonathanung/finesse --skill prompt-validation
Clone the repo
git clone --depth 1 https://github.com/jonathanung/finesse

Made for: Claude Code, Codex.

Or install finesse, the plugin that ships this one along with the rest of its 6 skills, 13 commands, 14 agents, 2 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jonathanung/finesse/prompt-validation.svg)](https://agentmods.dev/skills/jonathanung/finesse/prompt-validation)
Your own site
<a href="https://agentmods.dev/skills/jonathanung/finesse/prompt-validation"><img src="https://agentmods.dev/badge/skills/jonathanung/finesse/prompt-validation.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,631 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00012 $0.01631
Opus 5 $0.00006 $0.00816
Sonnet 5 $0.00002 $0.00326
Haiku 4.5 $0.00001 $0.00163

Measured 4d ago against content hash 78727e9c081c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

prompt-validation 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 4d 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.

plugins/finesse/skills/prompt-validation/SKILL.md · 104 lines

How it starts

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

Prompt Validation Orchestration

During a Finesse planning session, you MUST validate every drafted plan before presenting it to the user. This is a non-negotiable gate. This document describes the full 6-validator workflow used by /finesse, /finesse-resume, /finesse-edit, and /finesse-retro. /finesse-mini uses a reduced 3-validator workflow with its own verdict handling rules defined in finesse-mini.md.

Validation Workflow

Step 1: Launch All Validators in Parallel

Use the Task tool to launch ALL SIX agents simultaneously in a single message. Pass the full drafted plan text to each agent in their prompt:

  1. clarity-checker — Are requirements specific enough for an autonomous agent with no ability to ask questions?
  2. completion-validator — Are completion criteria binary, explicit, and unambiguous?
  3. scope-safety-reviewer — Are scope constraints, guardrails, and safety measures in place?
  4. phase-structure-analyzer — Are phases ordered with verification commands and a cold start paragraph?
  5. failure-mode-auditor — Are stuck-state recovery, anti-thrashing rules, and failure handling present?
  6. goal-achievement-auditor — Does the prompt actually achieve the stated goal? Are all observable truths covered by phases and verified by completion criteria?

Each agent returns a verdict: PASS, FAIL, or NEEDS_REWORK.

Severity Tiers

Each verdict is classified into a severity tier based on the agent and verdict type:

Tier Condition Behavior
CRITICAL scope-safety-reviewer returns FAIL Blocks presentation unconditionally. Must fix before presenting.
HIGH clarity-checker, phase-structure-analyzer, or completion-validator returns FAIL Blocks presentation. Must fix before presenting.
MEDIUM goal-achievement-auditor or failure-mode-auditor returns FAIL Should fix within refinement budget. Can present with explicit warnings if budget exhausted.
LOW Any agent returns NEEDS_REWORK Fix if budget allows after higher tiers resolved.

Read the full file on GitHub · 104 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. 4d ago First seen · 104 lines · 12 tokens per session scan A 78727e9c081c

Subscribe to this mod's changes

prompt-validation is a skill published in the GitHub repository jonathanung/finesse (4 stars, last pushed 6mo ago), licensed MIT. It adds 12 tokens to every session and 1,631 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-31.

Related

Other skills, from other repositories

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

enhance-prompt

Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

google-labs-code/stitch-skills · 41 tokens

prompt-optimization

Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…

langwatch/langwatch · 105 tokens

prompt-engineer

Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot…

Jeffallan/claude-skills · 93 tokens

ideogram4

Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors, or controlled spatial layout. Triggers…

digitalsamba/claude-code-video-toolkit · 99 tokens

omh-model-optimization

This is a Hermes-native model-optimization workflow skill.

rlaope/oh-my-hermes · 82 tokens