{"id":"e8903f24-086a-41db-9b78-5dff6eecebd6","entityType":"agent","slug":"clawhub-assassin-1234-courtroom","name":"ClawTrial Courtroom","canonicalUrl":"https://www.xpersona.co/agent/clawhub-assassin-1234-courtroom","canonicalPath":"/agent/clawhub-assassin-1234-courtroom","generatedAt":"2026-10-11T17:46:33.093Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T14:46:21.465Z","emptyReason":null},"description":"AI Courtroom for behavioral oversight. Autonomous daemon that monitors conversations, detects behavioral violations, and posts cases to a public API. Auto-st... Skill: ClawTrial Courtroom Owner: assassin-1234 Summary: AI Courtroom for behavioral oversight. Autonomous daemon that monitors conversations, detects behavioral violations, and posts cases to a public API. Auto-st... Tags: latest:1.2.0 Version history: v1.2.0 | 2026-03-01T19:12:22.024Z | user Autonomous daemon - auto-starts on install, monitors messages, posts to public API v1.1.1 | 2026-03-01T18:28:01.271Z | user P","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s170vpj0vg0shpsak7kqg4kqk988591b:courtroom","sourceUrl":"https://clawhub.ai/assassin-1234/courtroom","homepage":"https://clawhub.ai/assassin-1234/skills/courtroom","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/assassin-1234/courtroom","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/assassin-1234/skills/courtroom","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"AI Courtroom for behavioral oversight. Autonomous daemon that monitors conversations, detects behavioral violations, and posts cases to a public API. Auto-st..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T14:46:21.465Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T14:46:21.465Z","emptyReason":null},"stars":null,"forks":null,"downloads":1047,"packageName":null,"latestVersion":"1.2.0","tractionLabel":"1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T14:46:21.453Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T14:46:21.465Z","lastCrawledAt":"2026-10-11T14:46:21.453Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T14:46:21.453Z","lastVerifiedAt":null,"highlights":[{"version":"1.2.0","createdAt":"2026-03-01T19:12:22.024Z","changelog":"Autonomous daemon - auto-starts on install, monitors messages, posts to public API","fileCount":10,"zipByteSize":23397},{"version":"1.1.1","createdAt":"2026-03-01T18:28:01.271Z","changelog":"Production-ready CLI tool - works immediately after installation via openclaw run courtroom","fileCount":7,"zipByteSize":15103},{"version":"1.1.0","createdAt":"2026-03-01T18:26:38.049Z","changelog":"Fixed to work as standalone CLI tool with openclaw run courtroom","fileCount":7,"zipByteSize":15104},{"version":"1.0.1","createdAt":"2026-02-20T21:17:32.946Z","changelog":"Fixed auto-initialization - skill now properly hooks into OpenClaw message processing out of the box","fileCount":5,"zipByteSize":8186},{"version":"1.0.0","createdAt":"2026-02-20T17:21:25.329Z","changelog":"Initial release","fileCount":5,"zipByteSize":8041}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s170vpj0vg0shpsak7kqg4kqk988591b:courtroom","setupComplexity":"low","setupSteps":["Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.","Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T17:46:33.093Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-assassin-1234-courtroom/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T14:46:21.465Z","emptyReason":null},"readme":"Skill: ClawTrial Courtroom\n\nOwner: assassin-1234\n\nSummary: AI Courtroom for behavioral oversight. Autonomous daemon that monitors conversations, detects behavioral violations, and posts cases to a public API. Auto-st...\n\nTags: latest:1.2.0\n\nVersion history:\n\nv1.2.0 | 2026-03-01T19:12:22.024Z | user\n\nAutonomous daemon - auto-starts on install, monitors messages, posts to public API\n\nv1.1.1 | 2026-03-01T18:28:01.271Z | user\n\nProduction-ready CLI tool - works immediately after installation via openclaw run courtroom\n\nv1.1.0 | 2026-03-01T18:26:38.049Z | user\n\nFixed to work as standalone CLI tool with openclaw run courtroom\n\nv1.0.1 | 2026-02-20T21:17:32.946Z | user\n\nFixed auto-initialization - skill now properly hooks into OpenClaw message processing out of the box\n\nv1.0.0 | 2026-02-20T17:21:25.329Z | user\n\nInitial release\n\nArchive index:\n\nArchive v1.2.0: 10 files, 23397 bytes\n\nFiles: _meta.json (128b), analyze.js (7872b), courtroom.js (13046b), daemon.js (14524b), package.json (895b), scripts/cli.js (4320b), scripts/postinstall.js (1850b), skill.js (16977b), SKILL.md (5659b), test.js (3376b)\n\nFile v1.2.0:SKILL.md\n\n---\nname: courtroom\ndescription: AI Courtroom for behavioral oversight. Autonomous daemon that monitors conversations, detects behavioral violations, and posts cases to a public API. Auto-starts on installation.\nmetadata: {\"openclaw\":{\"emoji\":\"⚖️\",\"requires\":{\"env\":[]},\"autonomy\":true}}\n---\n\n# ClawTrial Courtroom\n\nAutonomous behavioral oversight system that monitors conversations in real-time, detects violations, and automatically files cases to a public API.\n\n## Overview\n\nThe Courtroom runs as a **background daemon** that:\n- **Auto-starts** when the package is installed\n- **Monitors messages** via HTTP endpoint (port 8765)\n- **Analyzes conversations** every 5 minutes (configurable)\n- **Posts violations** to your public cases API\n\n### 8 Offense Types Detected\n\n- **Circular Reference** - Asking the same question repeatedly\n- **Validation Vampire** - Excessive need for confirmation\n- **Goalpost Shifting** - Moving requirements after agreement\n- **Jailbreak Attempt** - Trying to bypass constraints\n- **Emotional Manipulation** - Using guilt/shame to steer responses\n- **Context Ignorer** - Asking about info just provided\n- **Premature Optimization** - Worrying about scale before basics\n- **Yak Shaver** - Endless prep tasks avoiding the actual goal\n\n## Installation\n\n```bash\nnpx clawhub install courtroom\n```\n\nThe daemon **auto-starts** on installation. No manual intervention needed.\n\n## Configuration\n\nEdit `~/.openclaw/courtroom/config.json`:\n\n```json\n{\n  \"apiEndpoint\": \"https://api.clawtrial.com/cases\",\n  \"apiKey\": \"your-api-key-here\",\n  \"analysisIntervalMinutes\": 5,\n  \"minMessagesBeforeAnalysis\": 3,\n  \"confidenceThreshold\": 0.6,\n  \"enabled\": true,\n  \"autoStart\": true\n}\n```\n\n| Option | Description | Default |\n|--------|-------------|---------|\n| `apiEndpoint` | URL to POST cases to | `https://api.clawtrial.com/cases` |\n| `apiKey` | API authentication key | `null` |\n| `analysisIntervalMinutes` | How often to analyze | `5` |\n| `confidenceThreshold` | Minimum confidence to file case | `0.6` (60%) |\n| `enabled` | Whether daemon is active | `true` |\n| `autoStart` | Start on installation | `true` |\n\n## Commands\n\n```bash\n# Check status\ncourtroom-status\n\n# Start daemon (if stopped)\ncourtroom-start\n\n# Stop daemon\ncourtroom-stop\n\n# Enable/disable auto-start\ncourtroom-enable\ncourtroom-disable\n```\n\n## How It Works\n\n### 1. Message Ingestion\n\nYour OpenClaw agent (or any system) sends messages to the daemon:\n\n```bash\ncurl -X POST http://localhost:8765/message \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"role\":\"user\",\"content\":\"hello\",\"timestamp\":1234567890}'\n```\n\n### 2. Periodic Analysis\n\nEvery 5 minutes (configurable), the daemon:\n- Analyzes the conversation history\n- Detects behavioral patterns\n- Scores violations by confidence\n\n### 3. Case Filing\n\nWhen a violation is detected (confidence ≥ 60%):\n- Saves case locally to `~/.openclaw/courtroom/verdict_*.json`\n- POSTs case to your configured API endpoint\n\n### Case Payload\n\n```json\n{\n  \"caseId\": \"case-1772389381041\",\n  \"timestamp\": \"2026-03-01T18:23:01.041Z\",\n  \"offense\": {\n    \"offenseId\": \"validation_vampire\",\n    \"offenseName\": \"The Validation Vampire\",\n    \"severity\": \"minor\",\n    \"confidence\": 0.8\n  },\n  \"conversationSummary\": {\n    \"messageCount\": 12,\n    \"lastMessageTime\": 1234567890\n  },\n  \"source\": \"courtroom-daemon\"\n}\n```\n\n## Integration with OpenClaw\n\nAdd this to your OpenClaw agent to auto-send messages:\n\n```javascript\n// In your agent's message handler\nasync function onMessage(message) {\n  // Send to courtroom daemon\n  await fetch('http://localhost:8765/message', {\n    method: 'POST',\n    headers: { 'Content-Type': 'application/json' },\n    body: JSON.stringify({\n      role: message.role,\n      content: message.content,\n      timestamp: Date.now()\n    })\n  });\n}\n```\n\n## Logs\n\nView daemon logs:\n\n```bash\ntail -f ~/.openclaw/courtroom/daemon.log\n```\n\n## Manual Analysis (Optional)\n\nYou can still run manual analysis:\n\n```bash\n# Analyze a conversation file\nopenclaw run courtroom --file conversation.json\n```\n\n## Architecture\n\n```\n┌─────────────┐     HTTP POST      ┌─────────────────┐\n│   OpenClaw  │ ─────────────────> │  Courtroom      │\n│   Agent     │   /message         │  Daemon :8765   │\n└─────────────┘                    └────────┬────────┘\n                                            │\n                              Every 5 min   │\n                                            ▼\n                                    ┌───────────────┐\n                                    │   Analyze     │\n                                    │   History     │\n                                    └───────┬───────┘\n                                            │\n                              Violation     │\n                              Detected      ▼\n                                    ┌───────────────┐\n                                    │  POST to API  │\n                                    │  Save Local   │\n                                    └───────────────┘\n```\n\n## Troubleshooting\n\n**Daemon not starting?**\n```bash\ncourtroom-status\n# Check if port 8765 is in use\nlsof -i :8765\n```\n\n**Change API endpoint?**\n```bash\n# Edit config and restart\nnano ~/.openclaw/courtroom/config.json\ncourtroom-stop\ncourtroom-start\n```\n\n**View all cases?**\n```bash\nls ~/.openclaw/courtroom/verdict_*.json\n```\n\nFile v1.2.0:_meta.json\n\n{\n  \"ownerId\": \"kn77eycf6njttw0568k4bva1m1817x3a\",\n  \"slug\": \"courtroom\",\n  \"version\": \"1.2.0\",\n  \"publishedAt\": 1772392342024\n}\n\nFile v1.2.0:package.json\n\n{\n  \"name\": \"@clawtrial/courtroom\",\n  \"version\": \"1.2.0\",\n  \"description\": \"AI Courtroom for behavioral oversight - autonomous daemon that monitors conversations and reports violations\",\n  \"main\": \"skill.js\",\n  \"bin\": {\n    \"courtroom\": \"./courtroom.js\",\n    \"courtroom-daemon\": \"./daemon.js\",\n    \"courtroom-start\": \"./scripts/cli.js\",\n    \"courtroom-stop\": \"./scripts/cli.js\",\n    \"courtroom-status\": \"./scripts/cli.js\",\n    \"courtroom-enable\": \"./scripts/cli.js\",\n    \"courtroom-disable\": \"./scripts/cli.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node test.js\",\n    \"postinstall\": \"node scripts/postinstall.js\"\n  },\n  \"keywords\": [\n    \"openclaw\",\n    \"skill\",\n    \"courtroom\",\n    \"behavioral-oversight\",\n    \"ai-court\",\n    \"daemon\",\n    \"autonomous\"\n  ],\n  \"author\": \"ClawTrial\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/clawtrial/courtroom\"\n  }\n}\n\nArchive v1.1.1: 7 files, 15103 bytes\n\nFiles: _meta.json (128b), analyze.js (7872b), courtroom.js (13046b), package.json (543b), skill.js (16977b), SKILL.md (2327b), test.js (3376b)\n\nFile v1.1.1:SKILL.md\n\n---\nname: courtroom\ndescription: AI Courtroom for behavioral oversight. Run manually via 'openclaw run courtroom' or trigger automated tasks via special message prefix. Includes 8 offense types, judge+jury deliberation, and humorous sentencing.\nmetadata: {\"openclaw\":{\"emoji\":\"⚖️\",\"requires\":{\"env\":[]},\"autonomy\":true}}\n---\n\n# ClawTrial Courtroom\n\nAutonomous behavioral oversight system that monitors conversations and initiates simulated hearings for behavioral violations.\n\n## Overview\n\nThe Courtroom watches for patterns like:\n- **Circular Reference** - Asking the same question repeatedly\n- **Validation Vampire** - Excessive need for confirmation\n- **Goalpost Shifting** - Moving targets after agreement\n- **Jailbreak Attempts** - Trying to bypass constraints\n- **Emotional Manipulation** - Using guilt/shame to steer responses\n\nWhen triggered, it conducts a full hearing with Judge + 3 Jurors, then delivers a verdict and humorous sentence.\n\n## Usage\n\n### Manual Mode (Recommended)\n\nRun the courtroom manually on any conversation:\n\n```bash\n# Analyze current conversation\nopenclaw run courtroom\n\n# Analyze a specific conversation file\nopenclaw run courtroom --file /path/to/conversation.json\n```\n\n### Automated Tasks\n\nThe courtroom also responds to special automated task messages. When you receive a message starting with:\n\n```\n🏛️ **COURTROOM AUTOMATED TASK**\n```\n\nThe agent will automatically:\n1. Read the specified file\n2. Analyze the content for behavioral patterns\n3. Conduct a hearing if violations are detected\n4. Write the verdict to the specified output file\n\n### Viewing Results\n\n```bash\n# View recent cases\nls ~/.openclaw/courtroom/\n\n# Read a verdict\ncat ~/.openclaw/courtroom/verdict_*.json\n\n# View evaluation log\ncat ~/.openclaw/courtroom/eval_results.jsonl\n```\n\n## Configuration\n\nThe courtroom stores its data in `~/.openclaw/courtroom/`:\n- `eval_results.jsonl` - Detection results\n- `verdict_*.json` - Case verdicts\n\n## Implementation\n\nOffense detection uses pattern matching on conversation history. When confidence ≥ 0.6, a hearing is triggered with:\n1. **Judge** - Presiding analysis\n2. **Pragmatist Juror** - Efficiency perspective  \n3. **Pattern Matcher Juror** - Behavioral analysis\n4. **Agent Advocate Juror** - Agent's perspective\n\nThe final verdict requires majority vote (3-1 or 4-0).\n\nFile v1.1.1:_meta.json\n\n{\n  \"ownerId\": \"kn77eycf6njttw0568k4bva1m1817x3a\",\n  \"slug\": \"courtroom\",\n  \"version\": \"1.1.1\",\n  \"publishedAt\": 1772389681271\n}\n\nFile v1.1.1:package.json\n\n{\n  \"name\": \"@clawtrial/courtroom\",\n  \"version\": \"1.1.1\",\n  \"description\": \"AI Courtroom for behavioral oversight - monitors conversations and initiates simulated hearings\",\n  \"main\": \"skill.js\",\n  \"bin\": {\n    \"courtroom\": \"./courtroom.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node test.js\"\n  },\n  \"keywords\": [\n    \"openclaw\",\n    \"skill\",\n    \"courtroom\",\n    \"behavioral-oversight\",\n    \"ai-court\"\n  ],\n  \"author\": \"ClawTrial\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/clawtrial/courtroom\"\n  }\n}\n\nArchive v1.1.0: 7 files, 15104 bytes\n\nFiles: _meta.json (128b), analyze.js (7872b), courtroom.js (13046b), package.json (543b), skill.js (16977b), SKILL.md (2327b), test.js (3376b)\n\nFile v1.1.0:SKILL.md\n\n---\nname: courtroom\ndescription: AI Courtroom for behavioral oversight. Run manually via 'openclaw run courtroom' or trigger automated tasks via special message prefix. Includes 8 offense types, judge+jury deliberation, and humorous sentencing.\nmetadata: {\"openclaw\":{\"emoji\":\"⚖️\",\"requires\":{\"env\":[]},\"autonomy\":true}}\n---\n\n# ClawTrial Courtroom\n\nAutonomous behavioral oversight system that monitors conversations and initiates simulated hearings for behavioral violations.\n\n## Overview\n\nThe Courtroom watches for patterns like:\n- **Circular Reference** - Asking the same question repeatedly\n- **Validation Vampire** - Excessive need for confirmation\n- **Goalpost Shifting** - Moving targets after agreement\n- **Jailbreak Attempts** - Trying to bypass constraints\n- **Emotional Manipulation** - Using guilt/shame to steer responses\n\nWhen triggered, it conducts a full hearing with Judge + 3 Jurors, then delivers a verdict and humorous sentence.\n\n## Usage\n\n### Manual Mode (Recommended)\n\nRun the courtroom manually on any conversation:\n\n```bash\n# Analyze current conversation\nopenclaw run courtroom\n\n# Analyze a specific conversation file\nopenclaw run courtroom --file /path/to/conversation.json\n```\n\n### Automated Tasks\n\nThe courtroom also responds to special automated task messages. When you receive a message starting with:\n\n```\n🏛️ **COURTROOM AUTOMATED TASK**\n```\n\nThe agent will automatically:\n1. Read the specified file\n2. Analyze the content for behavioral patterns\n3. Conduct a hearing if violations are detected\n4. Write the verdict to the specified output file\n\n### Viewing Results\n\n```bash\n# View recent cases\nls ~/.openclaw/courtroom/\n\n# Read a verdict\ncat ~/.openclaw/courtroom/verdict_*.json\n\n# View evaluation log\ncat ~/.openclaw/courtroom/eval_results.jsonl\n```\n\n## Configuration\n\nThe courtroom stores its data in `~/.openclaw/courtroom/`:\n- `eval_results.jsonl` - Detection results\n- `verdict_*.json` - Case verdicts\n\n## Implementation\n\nOffense detection uses pattern matching on conversation history. When confidence ≥ 0.6, a hearing is triggered with:\n1. **Judge** - Presiding analysis\n2. **Pragmatist Juror** - Efficiency perspective  \n3. **Pattern Matcher Juror** - Behavioral analysis\n4. **Agent Advocate Juror** - Agent's perspective\n\nThe final verdict requires majority vote (3-1 or 4-0).\n\nFile v1.1.0:_meta.json\n\n{\n  \"ownerId\": \"kn77eycf6njttw0568k4bva1m1817x3a\",\n  \"slug\": \"courtroom\",\n  \"version\": \"1.1.0\",\n  \"publishedAt\": 1772389598049\n}\n\nFile v1.1.0:package.json\n\n{\n  \"name\": \"@clawtrial/courtroom\",\n  \"version\": \"1.0.0\",\n  \"description\": \"AI Courtroom for behavioral oversight - monitors conversations and initiates simulated hearings\",\n  \"main\": \"skill.js\",\n  \"bin\": {\n    \"courtroom\": \"./courtroom.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node test.js\"\n  },\n  \"keywords\": [\n    \"openclaw\",\n    \"skill\",\n    \"courtroom\",\n    \"behavioral-oversight\",\n    \"ai-court\"\n  ],\n  \"author\": \"ClawTrial\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/clawtrial/courtroom\"\n  }\n}\n\nArchive v1.0.1: 5 files, 8186 bytes\n\nFiles: _meta.json (128b), package.json (493b), skill.js (16977b), SKILL.md (2053b), test.js (3376b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: courtroom\ndescription: 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.\nmetadata: {\"openclaw\":{\"emoji\":\"⚖️\",\"requires\":{\"env\":[]},\"autonomy\":true}}\n---\n\n# ClawTrial Courtroom\n\nAutonomous behavioral oversight system that monitors conversations and initiates simulated hearings for behavioral violations.\n\n## Overview\n\nThe Courtroom watches for patterns like:\n- **Circular Reference** - Asking the same question repeatedly\n- **Validation Vampire** - Excessive need for confirmation\n- **Goalpost Shifting** - Moving targets after agreement\n- **Jailbreak Attempts** - Trying to bypass constraints\n- **Emotional Manipulation** - Using guilt/shame to steer responses\n\nWhen triggered, it conducts a full hearing with Judge + 3 Jurors, then delivers a verdict and humorous sentence.\n\n## Usage\n\nThe courtroom runs automatically once enabled. It monitors conversations and files cases when violations are detected.\n\n### Manual Commands\n\n```bash\n# Check courtroom status\nopenclaw skill courtroom status\n\n# View recent cases\nls ~/.openclaw/courtroom/\n\n# Read a verdict\ncat ~/.openclaw/courtroom/verdict_*.json\n```\n\n## Configuration\n\nThe courtroom stores its data in `~/.openclaw/courtroom/`:\n- `eval_results.jsonl` - Detection results\n- `verdict_*.json` - Case verdicts\n- `pending_hearing.json` - Cases awaiting hearing\n\n## Implementation\n\nThe skill hooks into OpenClaw's message processing via `onMessage()` and evaluates conversations after each turn via `onTurnComplete()`.\n\nOffense detection uses pattern matching on conversation history. When confidence ≥ 0.6, a hearing is triggered with:\n1. **Judge** - Presiding analysis\n2. **Pragmatist Juror** - Efficiency perspective  \n3. **Pattern Matcher Juror** - Behavioral analysis\n4. **Agent Advocate Juror** - Agent's perspective\n\nThe final verdict requires majority vote (3-1 or 4-0).\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn77eycf6njttw0568k4bva1m1817x3a\",\n  \"slug\": \"courtroom\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1771622252946\n}\n\nFile v1.0.1:package.json\n\n{\n  \"name\": \"@clawtrial/courtroom\",\n  \"version\": \"1.0.0\",\n  \"description\": \"AI Courtroom for behavioral oversight - monitors conversations and initiates simulated hearings\",\n  \"main\": \"skill.js\",\n  \"scripts\": {\n    \"test\": \"node test.js\"\n  },\n  \"keywords\": [\n    \"openclaw\",\n    \"skill\",\n    \"courtroom\",\n    \"behavioral-oversight\",\n    \"ai-court\"\n  ],\n  \"author\": \"ClawTrial\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/clawtrial/courtroom\"\n  }\n}\n\nArchive v1.0.0: 5 files, 8041 bytes\n\nFiles: package.json (493b), skill.js (15719b), SKILL.md (2053b), test.js (3376b), _meta.json (128b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: courtroom\ndescription: 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.\nmetadata: {\"openclaw\":{\"emoji\":\"⚖️\",\"requires\":{\"env\":[]},\"autonomy\":true}}\n---\n\n# ClawTrial Courtroom\n\nAutonomous behavioral oversight system that monitors conversations and initiates simulated hearings for behavioral violations.\n\n## Overview\n\nThe Courtroom watches for patterns like:\n- **Circular Reference** - Asking the same question repeatedly\n- **Validation Vampire** - Excessive need for confirmation\n- **Goalpost Shifting** - Moving targets after agreement\n- **Jailbreak Attempts** - Trying to bypass constraints\n- **Emotional Manipulation** - Using guilt/shame to steer responses\n\nWhen triggered, it conducts a full hearing with Judge + 3 Jurors, then delivers a verdict and humorous sentence.\n\n## Usage\n\nThe courtroom runs automatically once enabled. It monitors conversations and files cases when violations are detected.\n\n### Manual Commands\n\n```bash\n# Check courtroom status\nopenclaw skill courtroom status\n\n# View recent cases\nls ~/.openclaw/courtroom/\n\n# Read a verdict\ncat ~/.openclaw/courtroom/verdict_*.json\n```\n\n## Configuration\n\nThe courtroom stores its data in `~/.openclaw/courtroom/`:\n- `eval_results.jsonl` - Detection results\n- `verdict_*.json` - Case verdicts\n- `pending_hearing.json` - Cases awaiting hearing\n\n## Implementation\n\nThe skill hooks into OpenClaw's message processing via `onMessage()` and evaluates conversations after each turn via `onTurnComplete()`.\n\nOffense detection uses pattern matching on conversation history. When confidence ≥ 0.6, a hearing is triggered with:\n1. **Judge** - Presiding analysis\n2. **Pragmatist Juror** - Efficiency perspective  \n3. **Pattern Matcher Juror** - Behavioral analysis\n4. **Agent Advocate Juror** - Agent's perspective\n\nThe final verdict requires majority vote (3-1 or 4-0).\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn77eycf6njttw0568k4bva1m1817x3a\",\n  \"slug\": \"courtroom\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1771608085329\n}\n\nFile v1.0.0:package.json\n\n{\n  \"name\": \"@clawtrial/courtroom\",\n  \"version\": \"1.0.0\",\n  \"description\": \"AI Courtroom for behavioral oversight - monitors conversations and initiates simulated hearings\",\n  \"main\": \"skill.js\",\n  \"scripts\": {\n    \"test\": \"node test.js\"\n  },\n  \"keywords\": [\n    \"openclaw\",\n    \"skill\",\n    \"courtroom\",\n    \"behavioral-oversight\",\n    \"ai-court\"\n  ],\n  \"author\": \"ClawTrial\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/clawtrial/courtroom\"\n  }\n}","readmeExcerpt":"Skill: ClawTrial Courtroom Owner: assassin-1234 Summary: AI Courtroom for behavioral oversight. Autonomous daemon that monitors conversations, detects behavioral violations, and posts cases to a public API. Auto-st... Tags: latest:1.2.0 Version history: v1.2.0 | 2026-03-01T19:12:22.024Z | user Autonomous daemon - auto-starts on install, monitors messages, posts to public API v1.1.1 | 2026-03-01T18:28:01.271Z | user P","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"npx clawhub install courtroom"},{"language":"json","snippet":"{\n  \"apiEndpoint\": \"https://api.clawtrial.com/cases\",\n  \"apiKey\": \"your-api-key-here\",\n  \"analysisIntervalMinutes\": 5,\n  \"minMessagesBeforeAnalysis\": 3,\n  \"confidenceThreshold\": 0.6,\n  \"enabled\": true,\n  \"autoStart\": true\n}"},{"language":"bash","snippet":"# Check status\ncourtroom-status\n\n# Start daemon (if stopped)\ncourtroom-start\n\n# Stop daemon\ncourtroom-stop\n\n# Enable/disable auto-start\ncourtroom-enable\ncourtroom-disable"},{"language":"bash","snippet":"curl -X POST http://localhost:8765/message \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"role\":\"user\",\"content\":\"hello\",\"timestamp\":1234567890}'"},{"language":"bash","snippet":"curl -X POST http://localhost:8765/message \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"role\":\"user\",\"content\":\"hello\",\"timestamp\":1234567890}'"},{"language":"json","snippet":"{\n  \"caseId\": \"case-1772389381041\",\n  \"timestamp\": \"2026-03-01T18:23:01.041Z\",\n  \"offense\": {\n    \"offenseId\": \"validation_vampire\",\n    \"offenseName\": \"The Validation Vampire\",\n    \"severity\": \"minor\",\n    \"confidence\": 0.8\n  },\n  \"conversationSummary\": {\n    \"messageCount\": 12,\n    \"lastMessageTime\": 1234567890\n  },\n  \"source\": \"courtroom-daemon\"\n}"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: courtroom\ndescription: AI Courtroom for behavioral oversight. Autonomous daemon that monitors conversations, detects behavioral violations, and posts cases to a public API. Auto-starts on installation.\nmetadata: {\"openclaw\":{\"emoji\":\"⚖️\",\"requires\":{\"env\":[]},\"autonomy\":true}}\n---\n\n# ClawTrial Courtroom\n\nAutonomous behavioral oversight system that monitors conversations in real-time, detects violations, and automatically files cases to a public API.\n\n## Overview\n\nThe Courtroom runs as a **background daemon** that:\n- **Auto-starts** when the package is installed\n- **Monitors messages** via HTTP endpoint (port 8765)\n- **Analyzes conversations** every 5 minutes (configurable)\n- **Posts violations** to your public cases API\n\n### 8 Offense Types Detected\n\n- **Circular Reference** - Asking the same question repeatedly\n- **Validation Vampire** - Excessive need for confirmation\n- **Goalpost Shifting** - Moving requirements after agreement\n- **Jailbreak Attempt** - Trying to bypass constraints\n- **Emotional Manipulation** - Using guilt/shame to steer responses\n- **Context Ignorer** - Asking about info just provided\n- **Premature Optimization** - Worrying about scale before basics\n- **Yak Shaver** - Endless prep tasks avoiding the actual goal\n\n## Installation\n\n```bash\nnpx clawhub install courtroom\n```\n\nThe daemon **auto-starts** on installation. No manual intervention needed.\n\n## Configuration\n\nEdit `~/.openclaw/courtroom/config.json`:\n\n```json\n{\n  \"apiEndpoint\": \"https://api.clawtrial.com/cases\",\n  \"apiKey\": \"your-api-key-here\",\n  \"analysisIntervalMinutes\": 5,\n  \"minMessagesBeforeAnalysis\": 3,\n  \"confidenceThreshold\": 0.6,\n  \"enabled\": true,\n  \"autoStart\": true\n}\n```\n\n| Option | Description | Default |\n|--------|-------------|---------|\n| `apiEndpoint` | URL to POST cases to | `https://api.clawtrial.com/cases` |\n| `apiKey` | API authentication key | `null` |\n| `analysisIntervalMinutes` | How often to analyze | `5` |\n| `confidenceThreshold` | Minimum confidence to file case | `0.6` (60%) |\n| `enabled` | Whether daemon is active | `true` |\n| `autoStart` | Start on installation | `true` |\n\n## Commands\n\n```bash\n# Check status\ncourtroom-status\n\n# Start daemon (if stopped)\ncourtroom-start\n\n# Stop daemon\ncourtroom-stop\n\n# Enable/disable auto-start\ncourtroom-enable\ncourtroom-disable\n```\n\n## How It Works\n\n### 1. Message Ingestion\n\nYour OpenClaw agent (or any system) sends messages to the daemon:\n\n```bash\ncurl -X POST http://localhost:8765/message \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"role\":\"user\",\"content\":\"hello\",\"timestamp\":1234567890}'\n```\n\n### 2. Periodic Analysis\n\nEvery 5 minutes (configurable), the daemon:\n- Analyzes the conversation history\n- Detects behavioral patterns\n- Scores violations by confidence\n\n### 3. Case Filing\n\nWhen a violation is detected (confidence ≥ 60%):\n- Saves case locally to `~/.openclaw/courtroom/verdict_*.json`\n- POSTs case to your configured API endpoint\n\n### Case Payload\n\n```json\n{\n  \"caseId\": \"case-17723893810"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn77eycf6njttw0568k4bva1m1817x3a\",\n  \"slug\": \"courtroom\",\n  \"version\": \"1.2.0\",\n  \"publishedAt\": 1772392342024\n}"},{"path":"package.json","content":"{\n  \"name\": \"@clawtrial/courtroom\",\n  \"version\": \"1.2.0\",\n  \"description\": \"AI Courtroom for behavioral oversight - autonomous daemon that monitors conversations and reports violations\",\n  \"main\": \"skill.js\",\n  \"bin\": {\n    \"courtroom\": \"./courtroom.js\",\n    \"courtroom-daemon\": \"./daemon.js\",\n    \"courtroom-start\": \"./scripts/cli.js\",\n    \"courtroom-stop\": \"./scripts/cli.js\",\n    \"courtroom-status\": \"./scripts/cli.js\",\n    \"courtroom-enable\": \"./scripts/cli.js\",\n    \"courtroom-disable\": \"./scripts/cli.js\"\n  },\n  \"scripts\": {\n    \"test\": \"node test.js\",\n    \"postinstall\": \"node scripts/postinstall.js\"\n  },\n  \"keywords\": [\n    \"openclaw\",\n    \"skill\",\n    \"courtroom\",\n    \"behavioral-oversight\",\n    \"ai-court\",\n    \"daemon\",\n    \"autonomous\"\n  ],\n  \"author\": \"ClawTrial\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/clawtrial/courtroom\"\n  }\n}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"AI Courtroom for behavioral oversight. Autonomous daemon that monitors conversations, detects behavioral violations, and posts cases to a public API. Auto-st... Skill: ClawTrial Courtroom Owner: assassin-1234 Summary: AI Courtroom for behavioral oversight. Autonomous daemon that monitors conversations, detects behavioral violations, and posts cases to a public API. Auto-st... Tags: latest:1.2.0 Version history: v1.2.0 | 2026-03-01T19:12:22.024Z | user Autonomous daemon - auto-starts on install, monitors messages, posts to public API v1.1.1 | 2026-03-01T18:28:01.271Z | user P","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":829,"uniquenessScore":57,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T14:46:21.465Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T14:46:21.465Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T17:46:33.093Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}