Logo Judge

Judge

Cộng đồng
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.

Tổng quan

Nhà phát hànhJeffallan
Kho mãwriting-with-agents
Tên kỹ năngjudge
Sao
38
Bản fork
4
Tệp đi kèm
6
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Jeffallan công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Judge trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Jeffallan/writing-with-agents/tree/main/plugin/skills/judge
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Judge trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Judge ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Judge với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Judge làm được gì?

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.

Vì sao nên dùng Judge trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Judge là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Judge trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Jeffallan/writing-with-agents/tree/main/plugin/skills/judge. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Judge?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Judge với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Judge với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Judge có miễn phí không?

Có. Kỹ năng này được Jeffallan phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇