Install
openclaw skills install @koshaji/tribunal-installInstall and initialise Tribunal — the Claude Code quality enforcement plugin. Use when setting up a new project for AI-assisted development, when a project lacks TDD enforcement, secret scanning, or Claude Code quality gates, or when asked to "add quality enforcement", "set up tribunal", or "protect this project". Works with pip, uv, npm, and brew.
openclaw skills install @koshaji/tribunal-installTribunal enforces code quality when Claude Code writes files: TDD enforcement, secret scanning, context monitoring, Agent Teams quality gates, and a live dashboard.
Python / uv (recommended)
pip install tribunal
# or
uv add tribunal
npm
npm install -g tribunal
Homebrew
brew install thebotclub/tap/tribunal
Verify install:
tribunal --version
Run in your project root (where .claude/ lives or will live):
tribunal init
The wizard asks:
For non-interactive / agent use:
tribunal init --non-interactive --project-dir /path/to/project
Outputs .claude/tribunal.json and merges into .claude/settings.json.
tribunal doctor
Checks all hooks, Python deps, worker service, and .claude/settings.json links.
Exits 1 if anything is broken — safe to use in CI.
pip install tribunal && tribunal init --non-interactive && tribunal doctor
tribunal list-packs # see available packs
tribunal install python-strict
tribunal install go-tdd
tribunal install nextjs-quality
Once installed, Tribunal hooks into Claude Code automatically:
file_checker runs (secrets, language quality)tdd_enforcer checks pass/failcontext_monitor warns before window fillsteammate_idle + task_completed gate sub-agent outputtribunal/ui/viewer.html shows live hook feedtribunal ci # check changed files
tribunal ci --json # machine-readable output
tribunal ci --coverage-threshold 80
tribunal doctor # health check with fix suggestions
tribunal status # show current config + audit summary
Full docs: https://tribunal.dev · GitHub: https://github.com/thebotclub/tribunal