Prompt Kit

The Judge Layer Is The Product Prompt Kit

Markdown

Prompt Kit: The Judge Layer Is The Product

This kit turns the architectural framework from "The Judge Layer Is The Product" into working tools for builders shipping production agents. Each prompt addresses a distinct stage of designing and implementing the judgment layer that sits between what an agent wants to do and what it's allowed to do — from mapping your action surface to writing judge prompts to building evaluation suites.

How to use this kit

These prompts work independently but chain naturally in sequence. Start with Prompt 1 if you're early — it maps your agent's action surface and tells you where judges are needed first. Start with Prompt 3 if you already know what action boundary you're building a judge for and need the actual prompt. Use a thinking-capable model like ChatGPT, Claude, or Gemini for best results — these prompts ask the AI to do real architectural reasoning, not template-filling. Each prompt will ask you questions before producing output, so have your agent's capabilities and workflows in mind when you start.


Prompt 1: Action Surface Audit

Job: Maps every action your agent can take, classifies each by risk tier, and produces a prioritized build plan for where to place judge layers.

When to use: Before building any judge infrastructure. Also useful when expanding an existing agent's capabilities or connecting new tools.

What you'll get: A four-tier action classification table, judge placement recommendations for each action boundary, and a sequenced priority list for what to build first.

What the AI will ask you: What your agent does, what tools and systems it connects to, what side effects it can produce, who is affected by its actions, and what judgment or approval processes exist today.


Prompt 2: Judge Criteria & Action Proposal Designer

Job: For a specific action boundary, designs the judge criteria (what the judge evaluates) and the structured action proposal format (what the actor must produce before executing).

When to use: After you've identified an action boundary that needs a judge (from Prompt 1 or your own analysis). This produces the specification the judge prompt will be built from.

What you'll get: A complete judge specification with authorization, evidence, exposure/risk, and policy criteria, plus the structured proposal format the actor agent must fill out before any action executes.

What the AI will ask you: The specific action boundary, your domain, existing policies or rules, who's affected, what authorization looks like in your system, and what failure has looked like (or could look like) at this boundary.


Prompt 3: Judge Prompt Writer

Job: Produces a production-ready judge system prompt with four-outcome decision logic (allow, block, revise, escalate) that can be used as the validator LLM in your agent system.

When to use: After you've defined judge criteria and an action proposal format (from Prompt 2 or your own design work). This turns the spec into an actual prompt you can deploy.

What you'll get: A complete judge system prompt ready to use in your validator agent, with structured input expectations, four-outcome decision format, and reasoning requirements.

What the AI will ask you: Your judge criteria, the action proposal format, the action type, any domain-specific policies, and your preferences for strictness vs. autonomy.


Prompt 4: Judge Evaluation Suite Generator

Job: Creates a structured set of test cases for your judge — covering allow, block, revise, and escalate scenarios — focused on the mundane boundary failures that cause real production incidents.

When to use: After you've built a judge prompt (from Prompt 3 or your own work). Without an eval suite, you have another model call, not a control layer.

What you'll get: 20+ structured test cases with action proposals, expected judge outcomes, and reasoning — biased toward the ordinary failures that actually cause incidents, not just dramatic red-team scenarios.

What the AI will ask you: Your action type, judge criteria, proposal format, the domain, and any known failure modes or past incidents.


Prompt 5: Judge Architecture Reviewer

Job: Audits your existing or planned agent system for judge-layer gaps, failure mode risks, and architectural weaknesses — then produces a concrete remediation plan.

When to use: When you have an agent system running (or designed) and want to evaluate whether your judgment architecture is sound. Especially useful before scaling to more actions, more agents, or higher-stakes domains.

What you'll get: A structured architecture review covering judge placement, failure modes (correlated judgment, specification gaming, escalation drift, policy drift, latency/cost), specialist judge recommendations, memory/provenance gaps, and a prioritized remediation roadmap.

What the AI will ask you: Your current agent architecture, what actions it takes, what judgment exists today, how human review works, how memory is handled, and what incidents or near-misses you've seen.

The Judge Layer Is The Product Prompt Kit — Prompt Kit