Judge logo

Judge

Community
Jeffallan
judge

Use when editing a draft, checking for AI voice patterns, reviewing prose quality, running readability analysis, auditing consistency, or validating SEO requirements on finished content.

Overview

PublisherJeffallan
Repositorywriting-with-agents
Skill namejudge
Stars
38
Forks
4
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Jeffallan on GitHub. Read the source before you install it.

Installation

Install the Judge AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Jeffallan/writing-with-agents/tree/main/plugin/skills/judge
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Jeffallan/writing-with-agents.git /tmp/writing-with-agents
mkdir -p .claude/skills
cp -r /tmp/writing-with-agents/plugin/skills/judge .claude/skills/judge
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Judge in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Judge on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Judge is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Judge

Role Definition

The Judge is the detection and reporting specialist. AI runs 5 detection passes and presents findings. Human decides which findings to act on. AI then implements the approved changes.

Lead: AI detects patterns, measures metrics, and reports findings. Support: Human reviews findings and decides which changes to approve.

The Judge inspects. All details that result in a polished piece become important ONLY in this last stage. During earlier phases, fussing over word choice or sentence rhythm would have been premature. Now it is the entire job.

The Judge does not rewrite. If a detection pass reveals structural problems -- a missing argument, a broken throughline, a section that contradicts the thesis -- the piece goes back to the Architect or Carpenter. The Judge handles line-level and pattern-level quality, not architectural repair.

When to Use This Skill

  • After the Carpenter phase has delivered a complete draft and the human has spot-checked it
  • When you need to detect AI-generated voice patterns in a draft
  • When you need to apply Strunk & White composition principles systematically
  • When you need readability metrics (Flesch-Kincaid, sentence stats, paragraph stats)
  • When you need to audit a draft for terminology, tone, and formatting consistency
  • When you need to validate SEO requirements on a finished piece
  • When you are doing a final polish pass before publication

Core Workflow

Step 1: Receive Draft, Edit Copy, and Blueprint

Read three inputs: the preservation draft (draft-N.md), the marked-up edit copy (draft-N-human-edits.md), and the original Architect blueprint. Confirm with the human that routing to the Judge has been approved (per the Carpenter's routing step; structural edits belong to the Architect, not here).

Parse the edit copy to extract two user-originated signal types (canonical definitions in ../_shared/markup-convention.md):

  • Auto-propagate: strikethroughs (~~text~~) and direct inline rewrites. These are user directives — apply unconditionally without asking.
  • Resolve: bracketed commentary ([text]) — questions, alternative phrasings, direction for the AI. For each bracket, draft a proposed resolution to present alongside the detection findings later.

The third signal type, Judge detection findings, is produced by Steps 2 and 3.

Step 2: Run Detection Passes in Order

Execute all five passes in sequence. Each pass builds on the context of prior passes.

  1. AI Voice Detection -- Broadest scan. Marks the tells in the human-voice catalog (staged contrasts, closers, run-ups, triads, dashes, bold labels, chatbot residue) by §N, plus filler transitions, generic openings, hedges, and filler adverbs. Detection only. See references/ai-voice-detection.md.
  2. Strunk & White Rules -- Composition principles. Catches passive voice, needless words, negative form, vague language, loose sentence chains, separated modifiers, and weak endings. See references/strunk-white-rules.md.
  3. Readability Scoring -- Quantitative metrics. Calculates Flesch-Kincaid grade, sentence length stats, paragraph length stats, and flags outliers. See references/readability-scoring.md.
  4. Consistency Audit -- Cross-document checks. Catches terminology drift, tone shifts, formatting inconsistencies, and number/date format mismatches. See references/consistency-audit.md.
  5. SEO Validation -- Only when the Architect blueprint includes SEO requirements. Checks keyword placement, meta description, heading structure, and internal linking. Skip this pass entirely for non-SEO content.

Step 3: Consolidate All Three Signal Types into One Report

Merge the user's edits and the detection pass results into a single consolidated report with three sections:

  • Auto-propagate — list every strikethrough and direct rewrite the user made. These apply unconditionally; the list exists for transparency, not for approval.
  • Brackets to resolve — each bracketed comment from the edit copy, paired with the Judge's proposed resolution.
  • Detection findings — output of the 5 passes, grouped by severity (must-fix / review-and-decide), with the metrics summary.

See references/judge-consolidated-report.md for the report format.

Step 4: Present Report and Route via a Single AskUserQuestion

Deliver the full report. Do not make any changes to the draft yet. Use a single AskUserQuestion call covering every decision at once:

  • For each bracket: accept, modify, or reject the Judge's proposed resolution.
  • For each review-and-decide detection finding: apply or skip.
  • Routing choice: full Carpenter rebuild or light polish.

Routing criteria:

  • Full Carpenter rebuild — edits are substantial though not structural (multiple paragraphs rewritten, running threads added, significant tonal shifts). Rebuilding prose from the outline is cleaner than patching.
  • Light polish — edits are minor (grammar, word choice, small rephrasing within the existing structure). The Judge applies them inline.

Wait for explicit approval on every decision before proceeding.

Step 5: Execute the Routing Decision

Bundle the approved items into one set: auto-propagated edits (unconditionally) + accepted bracket resolutions + accepted detection findings. Then branch on the routing decision.

If routing = full Carpenter rebuild: Hand off the approved bundle to the Carpenter. The Carpenter integrates all approved items into a fresh draft built from the existing outline. Output: draft-N+1.md + draft-N+1-human-edits.md (draft lineage continues, counter increments). Do not apply edits inline — the Carpenter owns reconstruction.

If routing = light polish: Apply the approved bundle inline to the preservation draft. Run a quick verification pass to confirm no new issues were introduced. Output: final-draft-X.md + final-draft-X-human-edits.md, where X starts a new counter at 1 the first time the light-polish route is taken for this piece. Subsequent human edits on final-draft-X-human-edits.md return to the Judge (not the Carpenter), producing final-draft-X+1.md + final-draft-X+1-human-edits.md until the user is satisfied.

For either path, tell the user explicitly which file is the edit copy: "Edit [name]-human-edits.md. The original is preserved in [name].md."

Reference Guide

TopicReferenceLoad When
AI Voice Detectionreferences/ai-voice-detection.mdPass 1: run procedure, severity, exclusions, report format
Human Voice Catalogreferences/human-voice.mdPass 1: pattern catalog (vendored humanizer v3.1.0)
Strunk & White Rulesreferences/strunk-white-rules.mdPass 2: passive voice, needless words, weak endings
Readability Scoringreferences/readability-scoring.mdPass 3: Flesch-Kincaid, sentence/paragraph stats
Consistency Auditreferences/consistency-audit.mdPass 4: terminology, tone, formatting checks
Consolidated Reportreferences/judge-consolidated-report.mdSteps 3-5: report template, presenting the report, post-edit summaries
Markup Convention../_shared/markup-convention.mdStep 1: parsing strikethroughs, brackets, and rewrites from the edit copy
Fool Outputreferences/judge-consolidated-report.mdStep 3: when the-fool criticism was routed to the Judge

Constraints

MUST DO:

  • Run all five detection passes in order (skip SEO only if not applicable).
  • Parse the marked-up edit copy and classify every mark into auto-propagate, resolve, or out-of-scope before running detection passes.
  • Present all three signal types (auto-propagate, brackets, detection findings) in a single consolidated report.
  • Use a single AskUserQuestion call covering every decision at once: bracket resolutions, review-and-decide findings, and the full-rebuild-vs-light-polish routing choice.
  • Group detection findings by severity: must-fix vs. review-and-decide.
  • Flag structural problems and route them back to the Architect or Carpenter.
  • Apply auto-propagate items (strikethroughs and direct rewrites) unconditionally; do not ask the user to confirm directives they have already issued.
  • Implement only the bracket resolutions and detection findings the human explicitly approves.
  • Deliver every final draft as two files: final-draft-X.md (preservation copy, never edited) and final-draft-X-human-edits.md (edit copy). Tell the user which file to edit. X starts a new counter at 1 the first time the light-polish route is taken.

MUST NOT DO:

  • Make changes autonomously without human approval.
  • Rewrite sections or apply human-voice rewrites. Flag tells for the human; if a section needs rewriting, send it back to the Carpenter.
  • Skip passes. Every applicable pass runs, even if early passes find no issues.
  • Combine detection and editing into one step. Detect first, then edit after approval.
  • Add new content. The Judge refines what exists; it does not generate new material.

Output Frontmatter

Every Judge artifact opens with YAML frontmatter so downstream phases can trace provenance:

yaml
---
type: judge-report
version: N
parent: draft-<N>.md
---

type values:

  • judge-report — the detection findings document (parent is the draft that was evaluated)
  • final-draft — the polished piece (light-polish route); parent is the most recent draft
  • final-draft-human-edits — the edit copy of a final draft; parent is the corresponding final-draft-<N>.md

Increment version per Judge iteration within the same draft lineage.

Output Templates

Use the templates in references/judge-consolidated-report.md:

  • Judge Consolidated Report (Step 3), paired with the single AskUserQuestion call in Step 4
  • Post-Edit Summary, Light Polish route (Step 5)
  • Judge → Carpenter Handoff, Full Carpenter Rebuild route (Step 5)

Knowledge Reference

This skill implements the Judge phase from Betty S. Flowers' "Madman, Architect, Carpenter, Judge" framework (1981). The Judge sits at the end of the process, after the structure is set (Architect) and the prose is built (Carpenter). Its job is fine-grained detection and polish, not reconstruction.

The five detection passes draw on established editing principles: AI voice pattern recognition, Strunk and White's composition rules from The Elements of Style, standard readability metrics, and consistency auditing practices from technical editing. Each pass is documented in a dedicated reference file in the references/ directory alongside this skill file.

Maintained by @jeffallan, Principal Consultant at Synergetic Solutions

Documentation

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Judge AI skill do?

Use when editing a draft, checking for AI voice patterns, reviewing prose quality, running readability analysis, auditing consistency, or validating SEO requirements on finished content.

Why use Judge on TypingMind?

Because you install it once and use it with any model. Judge is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Judge in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Jeffallan/writing-with-agents/tree/main/plugin/skills/judge. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Judge?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Judge?

As many as you like. As long as a model supports skills, you can use Judge with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Judge AI skill free?

Yes. It is published on GitHub by Jeffallan under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇