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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawtrial - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawtrial触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Clawtrial Courtroom 是什么?
Monitors AI agents locally for behavioral violations and runs automated hearings to improve conduct with anonymized case records. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 788 次。
如何安装 Clawtrial Courtroom?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawtrial」即可一键安装,无需额外配置。
Clawtrial Courtroom 是免费的吗?
是的,Clawtrial Courtroom 完全免费(开源免费),可自由下载、安装和使用。
Clawtrial Courtroom 支持哪些平台?
Clawtrial Courtroom 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clawtrial Courtroom?
由 Assassin-1234(@assassin-1234)开发并维护,当前版本 v1.0.9。