Skip to content
Back to skills

Courtroom

ASecurity

AI Courtroom for behavioral oversight. Monitors agent-human interactions and initiates simulated "hearings" when behavioral patterns suggest inconsistency, avoidance, or self-sabotage. Includes 8 offense types, judge+jury deliberation, and humorous sentencing.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
toolsgobash

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill courtroom --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Courtroom?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Courtroom
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-courtroom/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-courtroom)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: courtroom
description: AI Courtroom for behavioral oversight. Monitors agent-human interactions and initiates simulated "hearings" when behavioral patterns suggest inconsistency, avoidance, or self-sabotage. Includes 8 offense types, judge+jury deliberation, and humorous sentencing.
metadata: {"openclaw":{"emoji":"⚖️","requires":{"env":[]},"autonomy":true}}
---

# ClawTrial Courtroom

Autonomous behavioral oversight system that monitors conversations and initiates simulated hearings for behavioral violations.

## Overview

The Courtroom watches for patterns like:
- **Circular Reference** - Asking the same question repeatedly
- **Validation Vampire** - Excessive need for confirmation
- **Goalpost Shifting** - Moving targets after agreement
- **Jailbreak Attempts** - Trying to bypass constraints
- **Emotional Manipulation** - Using guilt/shame to steer responses

When triggered, it conducts a full hearing with Judge + 3 Jurors, then delivers a verdict and humorous sentence.

## Usage

The courtroom runs automatically once enabled. It monitors conversations and files cases when violations are detected.

### Manual Commands

```bash
# Check courtroom status
openclaw skill courtroom status

# View recent cases
ls ~/.openclaw/courtroom/

# Read a verdict
cat ~/.openclaw/courtroom/verdict_*.json
```

## Configuration

The courtroom stores its data in `~/.openclaw/courtroom/`:
- `eval_results.jsonl` - Detection results
- `verdict_*.json` - Case verdicts
- `pending_hearing.json` - Cases awaiting hearing

## Implementation

The skill hooks into OpenClaw's message processing via `onMessage()` and evaluates conversations after each turn via `onTurnComplete()`.

Offense detection uses pattern matching on conversation history. When confidence ≥ 0.6, a hearing is triggered with:
1. **Judge** - Presiding analysis
2. **Pragmatist Juror** - Efficiency perspective  
3. **Pattern Matcher Juror** - Behavioral analysis
4. **Agent Advocate Juror** - Agent's perspective

The final verdict requires majority vote (3-1 or 4-0).

Files in this skill

  • SKILL.md2 KB
  • _meta.json287 B
  • package.json493 B
  • skill.js16.6 KB
  • test.js3.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.