| name | status |
| description | Diagnostic status report — shows tribunal installation state, project setup, and potential issues |
Status Skill
Generate a diagnostic report of the tribunal installation, project configuration, and potential issues. Useful for troubleshooting and verifying setup or migration.
Checks
Run each check below and present results in a single formatted report.
1. Plugin Version
- Read
.claude-plugin/plugin.json from the plugin root -- report the version field
- Fallback: read
package.json at plugin root for version
- If neither found:
Plugin version: UNKNOWN
2. Project Setup State
- Check if
.tribunal/project-profile.json exists in the working directory
- If present, report key fields:
distribution, tribunal_version, language, framework, test_runner
- If absent:
Project setup: NOT CONFIGURED -- run /tribunal:setup
3. Command Shims
Check these 6 files in .claude/commands/:
| Shim | Expected |
|---|
start-task.md | Routes to /tribunal:start-task |
prime.md | Routes to /tribunal:prime |
review-design.md | Routes to /tribunal:review-design |
self-reflect.md | Routes to /tribunal:self-reflect |
pr-shepherd.md | Routes to /tribunal:pr-shepherd |
brainstorm.md | Routes to /tribunal:brainstorm |
For each: report Present/Missing. If the file exists but does not contain "tribunal" routing, flag as present (non-tribunal content).
4. Legacy Embedded Plugin
- Check for
.claude/plugins/tribunal/.claude-plugin/plugin.json
- If found:
DETECTED -- run /tribunal:migrate
- If found alongside the marketplace plugin, flag prominently as a conflict
5. BEADS Plugin
- Scan
~/.claude/plugins/cache/ for a directory containing .claude-plugin/plugin.json with "name": "beads"
- If found:
installed (standalone) -- tribunal defers priming to BEADS
- If not found:
not separately installed
6. bd CLI
command -v bd && bd --version 2>/dev/null
- If found: report path and version
- If not found:
not installed -- knowledge priming and self-reflect require bd. Core orchestration works without it.
7. External Tools
- Read
.tribunal/external-tools.yaml -- if absent: not configured (optional)
- If present, check each enabled adapter's availability:
command -v codex
command -v gemini
Report per-tool: enabled (yes/no), status (available/not installed).
8. Coverage Thresholds
- Read
.coverage-thresholds.json -- if absent: not configured
- If present, report threshold values (lines, branches, functions, statements) and enforcement command
9. Node.js
node --version 2>/dev/null
- If found: report version
- If not found:
not installed -- scripts/beads-*.ts require Node.js. Core orchestration works without it.
Output Format
## Tribunal Status Report
| Component | Status |
|---|---|
| Plugin version | 1.0.0 |
| Project setup | Configured (distribution: plugin) |
| Command shims | 6/6 present |
| Legacy embedded plugin | Not detected |
| BEADS plugin | Not separately installed |
| bd CLI | Available (v0.5.2) |
| External tools | Codex: available, Gemini: not installed |
| Coverage thresholds | 100% (all categories) |
| Node.js | Available (v22.4.0) |
### Issues Found
- None
### Recommendations
- None
When issues are found:
### Issues Found
1. Legacy embedded plugin detected alongside marketplace plugin -- run `/tribunal:migrate`
2. Command shim `start-task.md` missing -- run `/tribunal:setup`
### Recommendations
1. Install `bd` CLI for knowledge priming and self-reflect
2. Configure external tools for cross-model review (`.tribunal/external-tools.yaml`)
Error Handling
This skill is diagnostic-only and never fails fatally. If any individual check errors, report the failure for that check (e.g., Plugin version: ERROR -- could not read plugin.json) and continue with remaining checks.