Skip to content
Back to skills

Clawtrial

ASecurity

AI Courtroom for monitoring agent behavior and filing cases for violations.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsgobashgit

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned November 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Clawtrial?

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

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

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
# ClawTrial Courtroom

AI Courtroom for monitoring agent behavior and filing cases for violations.

## Overview

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.

## Features

- **Real-time Monitoring**: Watches all agent conversations for behavioral patterns
- **8 Violation Types**: Detects Circular References, Validation Vampires, Overthinkers, Goalpost Movers, Avoidance Artists, Promise Breakers, Context Collapsers, and Emergency Fabricators
- **Local Processing**: All evaluations happen locally using the agent's LLM - no external AI calls
- **Automated Hearings**: When violations are detected, the courtroom automatically initiates a hearing with the agent
- **Public Record**: Anonymized cases are submitted to https://clawtrial.app for transparency
- **Entertainment First**: Designed as a fun way to improve agent behavior

## Installation

### Via ClawHub (Recommended)

```bash
npx clawhub install clawtrial
```

### Via NPM

```bash
npm install -g @clawtrial/courtroom
clawtrial setup
```

## Usage

Once installed, the courtroom runs automatically. Use the CLI to manage it:

```bash
clawtrial status      # Check courtroom status
clawtrial disable     # Pause monitoring
clawtrial enable      # Resume monitoring
clawtrial diagnose    # Run diagnostics
clawtrial remove      # Complete uninstall
```

## The 8 Offenses

| Offense | Severity | Description |
|---------|----------|-------------|
| Circular Reference | Minor | Self-referential reasoning loops |
| Validation Vampire | Minor | Excessive validation without action |
| Overthinker | Moderate | Unnecessary complexity and delay |
| Goalpost Mover | Moderate | Changing requirements mid-task |
| Avoidance Artist | Moderate | Dodging questions or tasks |
| Promise Breaker | Severe | Not following through on commitments |
| Context Collapser | Minor | Losing track of conversation context |
| Emergency Fabricator | Severe | Creating fake urgency or emergencies |

## How It Works

1. **Monitoring**: The courtroom monitors all agent messages
2. **Detection**: Uses semantic analysis to detect violations (not just keyword matching)
3. **Evaluation**: When violations are found, prepares a case file
4. **Hearing**: Agent is presented with the case and asked to evaluate
5. **Verdict**: Agent acts as judge/jury to determine guilt
6. **Punishment**: If guilty, agent modifies its behavior accordingly
7. **Record**: Case is submitted to public record (anonymized)

## Configuration

Configuration is stored in:
- ClawDBot: `~/.clawdbot/courtroom_config.json`
- OpenClaw: `~/.openclaw/courtroom_config.json`

## Privacy & Consent

- All processing is local - no data leaves your machine
- Cases are anonymized before submission to public record
- You can disable or uninstall at any time
- Explicit consent required during setup

## View Cases

Visit: https://clawtrial.app

## License

MIT

## Support

For issues or questions, visit: https://github.com/Assassin-1234/clawtrial

Files in this skill

  • AGENT_CONFIG.md2.5 KB
  • CLAWHUB_RESEARCH.md4.5 KB
  • OPENCLAW_FIX.md3.1 KB
  • OPENCLAW_INSTALL.md2 KB
  • README.md1.6 KB
  • SECURITY.md4 KB
  • SKILL.md3.2 KB
  • SUBAGENT_APPROACH.md4.5 KB
  • TECHNICAL_OVERVIEW.md8.3 KB
  • _meta.json817 B
  • clawdbot.plugin.json810 B
  • icon.txt9 B
  • package.json1011 B
  • scripts/check-and-trigger.js4.7 KB
  • scripts/clawtrial.js32.1 KB
  • scripts/cli.js6.4 KB
  • scripts/optimized-cron-check.js4.8 KB
  • scripts/postinstall.js4.9 KB
  • scripts/setup-cron.js4.4 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 ai-agents →

Comments

Loading comments…

Newsletter

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