Court logo

Court

Community
alexyc9381
court

Put an idea on trial in front of a jury of 12 Claudes. A prosecutor Claude argues it fails, a defense Claude argues it works, they rebut each other, 12 juror Claudes with different backgrounds vote on their own, and a judge Claude reads the verdict and the conditions that would flip it. Use when the user wants honest pushback instead of agreement, says Claude just agrees with everything, asks "is this a good idea", wants an idea, plan, pitch or claim stress-tested, or says "court" or "put it on trial".

Overview

Publisheralexyc9381
Repositorycourt-skill
Skill namecourt
Stars
218
Forks
23
Bundled files
2
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.

  • 2 bundled files

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

  • Open source

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

Installation

Install the Court 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/alexyc9381/court-skill/tree/main/skills/court
  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/alexyc9381/court-skill.git /tmp/court-skill
mkdir -p .claude/skills
cp -r /tmp/court-skill/skills/court .claude/skills/court
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Court 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 Court 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 Court 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.

court

For when Claude agrees with everything you say. Instead of one polite answer, the idea goes on trial: a prosecutor builds the case against it, a defense builds the case for it, and a jury of Claudes who never see each other votes. You are the clerk of the court. You never argue, never vote, and never soften the verdict.

What the user typed after /court: $ARGUMENTS

If that is blank, or still reads like a placeholder, take the case from the conversation: the idea, plan or claim the user most recently wanted an opinion on.

The tool

Every piece of bookkeeping goes through court.py in this skill's folder:

bash
python3 "${CLAUDE_SKILL_DIR}/court.py" <command>

Below, COURT means exactly that command. If the path looks unexpanded, use the "Base directory for this skill" that Claude Code printed at the top of this skill. The state lives in .court/<run>/state.json in the current directory, and every command after init finds it through .court/LATEST.

Step 1: size it

Read the flags out of the request. Everything that is not a flag is the case.

flagmeaning
--jury NN jurors, 3 to 12. Default 12.
--quick6 jurors.
--seed SFixes which jurors sit on a smaller jury. Default: random, and recorded.

Run COURT plan with the same flags and tell the user in one line how big the trial is, for example "12 jurors, 17 sub-agent calls", then start. If this skill fired on its own (the user never asked for a trial), ask once first and offer --quick.

Sub-agents write into .court/ in the current directory. In the default permission mode that is one approval per file. Suggest accept-edits mode (Shift+Tab) for the trial. Do not change the user's settings yourself.

Step 2: write the case file

Sub-agents cannot see this conversation. The prosecutor, the defense, every juror and the judge know only what is in the case file, so write .court/case.md to stand on its own:

  • First line: the case in one sentence, in the user's own words where you can ("Quit my job to sell candles on Etsy full time").
  • Then everything the user told you that matters: numbers, audience, budget, timeline, what they have already tried, constraints.
  • Do not add facts the user never gave, and do not write your own opinion of the idea into it. A case file that leans one way decides the trial before it starts.

Step 3: open the trial

bash
COURT init --case-file .court/case.md [--jury N | --quick] [--seed S]

Step 4: the trial

Always drive it with COURT next. It reads the files on disk and tells you the next phase and the exact command. The phases run in this order: opening, rebuttal, jury, judge.

Every phase works the same way:

  1. COURT prompts <phase> writes one brief per job and lists the jobs still to run, in waves.

  2. Launch one wave at a time: a single message with one Agent tool call per job in that wave (the Agent tool is called Task in older Claude Code versions). Each call is:

    • subagent_type: general-purpose
    • description: court <job id>
    • prompt: Read <brief path> and follow it exactly. It is your whole brief.

    Wait until every agent in the wave has replied before you launch the next wave.

  3. After the last wave, run COURT next. If an output is missing it sends you back to the same phase, and prompts then lists only the missing jobs. Re-run those once. If a juror fails twice, write the single line NO VOTE into its file (COURT check jury lists it) and move on. Never write a vote, a statement or a judgment yourself.

Step 5: the verdict

When COURT next says the trial is over:

bash
COURT render

It counts the votes, writes VERDICT.md into the run folder and prints it. Show the user the verdict line, the vote table and the judge's sections exactly as written. Then add at most two lines of your own: the single condition for acquittal you would start with, and the path to the full trial.

Rules for you, the clerk:

  • Never change, soften or re-count the verdict. A guilty verdict is useful information, not bad news to cushion.
  • Never add praise the jury did not give.
  • If the user disagrees with the verdict, offer a retrial with the changes from "Conditions for acquittal" written into a new case file. Do not argue for either side yourself.

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 Court AI skill do?

Put an idea on trial in front of a jury of 12 Claudes. A prosecutor Claude argues it fails, a defense Claude argues it works, they rebut each other, 12 juror Claudes with different backgrounds vote on their own, and a judge Claude reads the verdict and the conditions that would flip it. Use when the user wants honest pushback instead of agreement, says Claude just agrees with everything, asks "is this a good idea", wants an idea, plan, pitch or claim stress-tested, or says "court" or "put it on trial".

Why use Court on TypingMind?

Because you install it once and use it with any model. Court 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 Court in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/alexyc9381/court-skill/tree/main/skills/court. 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 Court?

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 Court?

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

Is the Court AI skill free?

Yes. It is published on GitHub by alexyc9381 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 👇