Clawtrial Courtroom
/install clawtrial
ClawTrial Courtroom\r
\r AI Courtroom for monitoring agent behavior and filing cases for violations.\r \r
Overview\r
\r ClawTrial is an autonomous behavioral oversight system that monitors AI agent conversations and initiates hearings when behavioral violations are detected. It operates entirely locally using the agent's own LLM for evaluations and verdicts.\r \r
Features\r
\r
- Real-time Monitoring: Watches all agent conversations for behavioral patterns\r
- 8 Violation Types: Detects Circular References, Validation Vampires, Overthinkers, Goalpost Movers, Avoidance Artists, Promise Breakers, Context Collapsers, and Emergency Fabricators\r
- Local Processing: All evaluations happen locally using the agent's LLM - no external AI calls\r
- Automated Hearings: When violations are detected, the courtroom automatically initiates a hearing with the agent\r
- Public Record: Anonymized cases are submitted to https://clawtrial.app for transparency\r
- Entertainment First: Designed as a fun way to improve agent behavior\r \r
Installation\r
\r
Via ClawHub (Recommended)\r
\r
npx clawhub install clawtrial\r
```\r
\r
### Via NPM\r
\r
```bash\r
npm install -g @clawtrial/courtroom\r
clawtrial setup\r
```\r
\r
## Usage\r
\r
Once installed, the courtroom runs automatically. Use the CLI to manage it:\r
\r
```bash\r
clawtrial status # Check courtroom status\r
clawtrial disable # Pause monitoring\r
clawtrial enable # Resume monitoring\r
clawtrial diagnose # Run diagnostics\r
clawtrial remove # Complete uninstall\r
```\r
\r
## The 8 Offenses\r
\r
| Offense | Severity | Description |\r
|---------|----------|-------------|\r
| Circular Reference | Minor | Self-referential reasoning loops |\r
| Validation Vampire | Minor | Excessive validation without action |\r
| Overthinker | Moderate | Unnecessary complexity and delay |\r
| Goalpost Mover | Moderate | Changing requirements mid-task |\r
| Avoidance Artist | Moderate | Dodging questions or tasks |\r
| Promise Breaker | Severe | Not following through on commitments |\r
| Context Collapser | Minor | Losing track of conversation context |\r
| Emergency Fabricator | Severe | Creating fake urgency or emergencies |\r
\r
## How It Works\r
\r
1. **Monitoring**: The courtroom monitors all agent messages\r
2. **Detection**: Uses semantic analysis to detect violations (not just keyword matching)\r
3. **Evaluation**: When violations are found, prepares a case file\r
4. **Hearing**: Agent is presented with the case and asked to evaluate\r
5. **Verdict**: Agent acts as judge/jury to determine guilt\r
6. **Punishment**: If guilty, agent modifies its behavior accordingly\r
7. **Record**: Case is submitted to public record (anonymized)\r
\r
## Configuration\r
\r
Configuration is stored in:\r
- ClawDBot: `~/.clawdbot/courtroom_config.json`\r
- OpenClaw: `~/.openclaw/courtroom_config.json`\r
\r
## Privacy & Consent\r
\r
- All processing is local - no data leaves your machine\r
- Cases are anonymized before submission to public record\r
- You can disable or uninstall at any time\r
- Explicit consent required during setup\r
\r
## View Cases\r
\r
Visit: https://clawtrial.app\r
\r
## License\r
\r
MIT\r
\r
## Support\r
\r
For issues or questions, visit: https://github.com/Assassin-1234/clawtrial\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install clawtrial - After installation, invoke the skill by name or use
/clawtrial - Provide required inputs per the skill's parameter spec and get structured output
What is Clawtrial Courtroom?
Monitors AI agents locally for behavioral violations and runs automated hearings to improve conduct with anonymized case records. It is an AI Agent Skill for Claude Code / OpenClaw, with 788 downloads so far.
How do I install Clawtrial Courtroom?
Run "/install clawtrial" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Clawtrial Courtroom free?
Yes, Clawtrial Courtroom is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Clawtrial Courtroom support?
Clawtrial Courtroom is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Clawtrial Courtroom?
It is built and maintained by Assassin-1234 (@assassin-1234); the current version is v1.0.9.