court
它能做什么
把一个想法放上“法庭”审判。检察官和辩护律师各自陈述观点,12 名陪审员投票,法官给出裁决,并说明什么情况下结论会改变。
适用场景
- ✓当你想听到不同意见,而不只是得到附和时。
- ✓当你想问某个想法、计划或说法是否靠谱时。
- ✓当你说“court”或“放上法庭审判”时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/court/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“/court 我想在家开一家蛋糕店,这个想法好不好?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会创建一个文件,记录你的想法和细节。然后模拟一场审判,由检察官、辩护律师和陪审员对你的想法发表看法。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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.
When to Use This Skill
- Use when the user wants pushback instead of agreement, or says Claude agrees with everything.
- Use when the user asks "is this a good idea?" about a plan, a purchase, a post, a code plan or a claim.
- Use when the user says "court", "put it on trial" or "/court".
The tool
Every piece of bookkeeping goes through scripts/court.py in this skill's folder:
python3 "${CLAUDE_SKILL_DIR}/scripts/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.
| flag | meaning |
|---|---|
--jury N |
N jurors, 3 to 12. Default 12. |
--quick |
6 jurors. |
--seed S |
Fixes 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
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:
COURT prompts <phase>writes one brief per job and lists the jobs still to run, in waves.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-purposedescription: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.
After the last wave, run
COURT next. If an output is missing it sends you back to the same phase, andpromptsthen lists only the missing jobs. Re-run those once. If a juror fails twice, write the single lineNO VOTEinto its file (COURT check jurylists 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:
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.
…
常见问题
如果 AI 不同意我的想法怎么办?
AI 并不是站在赞成或反对的立场上。它模拟庭审,把你这个想法的优点和不足都摆出来,就像在法庭上一样。
裁决结果是专业建议吗?
不是。裁决只是基于你写下的内容给出的第二种看法,不能替代法律、财务或其他专业建议。
我可以改变陪审员的人数吗?
可以。使用 `--quick` 选项会有 6 名陪审员;使用 `--jury N` 可以指定 3 到 12 之间的任意人数。
详情
作者的原始描述
Put an idea on trial: a prosecutor and a defense Claude argue, 12 juror sub-agents vote independently, and a judge reads the verdict and the changes that would flip it.
热度
- GitHub 星标
- 48k
- 排名
- #4275
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。