About Tribunal Kit
Tribunal Kit is an MCP server published by Harmitx7 in the Agents category: anti-Hallucination AI Agent Kit for IDEs (Cursor, VSCode, Windsurf) — 43 specialist agents, 34 workflows, 20 parallel Tribunal code reviewers, Model Context Protocol (MCP) server, and long-running autonomous agent harness. Conduid read 38 tools from its source: align_output, exit_plan_mode, get_sparse_context, get_tribunal_agent, get_tribunal_skill, list_tribunal_agents and 32 more. It is published to npm as tribunal-kit and starts with npx.
The repository has 7 stars and 1 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include long-running-agents, multi-agent, swarm, orchestration, anti-hallucination and hallucination.
Install
claude mcp add tribunal-kit -- npx -y tribunal-kitnpx -y tribunal-kitgit clone https://github.com/Harmitx7/tribunal-kitTools (38)
align_outputAlign model outputs to Fabel-5 constraints: strips conversational introductions and conclusions, collapses single/double bullet items to prose, and checks for code traps (unawaited dynamic functions in Next.js 15, deprecated hooks in React 19, or non-existent models).| Parameter | Type | Description |
|---|---|---|
| text * | string | The raw output text generated by the model to be aligned. |
exit_plan_modePresent your finished plan for human reviewed designing your approach. Execution will suspend until the user approves or requests changes.| Parameter | Type | Description |
|---|---|---|
| plan_content * | string | The markdown content of your proposed plan. |
get_sparse_contextGet a JIT, token-optimized context prompt tailored to the active task and files. Uses the Context Density Broker to score and select relevant skills, stripping duplicate boilerplate and saving up to 85% in prompt tokens.| Parameter | Type | Description |
|---|---|---|
| files | array | List of files being touched (e.g. ['src/auth.js']) |
| model | string | Model tier: large (default, includes key rules of supplementary skills) or small (essential skills only) |
| task * | string | The user task description (e.g. 'JWT auth API') |
get_tribunal_agentGet the full markdown rules for a specific Tribunal agent.| Parameter | Type | Description |
|---|---|---|
| name * | string | The agent name (e.g. 'frontend-specialist') |
get_tribunal_skillGet the full markdown instructions for a specific Tribunal skill.| Parameter | Type | Description |
|---|---|---|
| name * | string | The skill name (e.g. 'react-specialist') |
list_tribunal_agentsList all available Tribunal Kit agents.list_tribunal_skillsList all available Tribunal Kit skills.query_semantic_graphQuery the Ahead-of-Time (AOT) Semantic Context Graph to quickly resolve function signatures, dependencies, and file structures without inflating context windows.| Parameter | Type | Description |
|---|---|---|
| targetPath | string | The directory to query (defaults to current workspace). |
recall_memoryRecalls budget-constrained memories ranked by relevance, recency, and priority.| Parameter | Type | Description |
|---|---|---|
| budget | number | Maximum token budget for recall (default: 2000). Only the top-ranked memories that fit within this budget are returned. |
| query * | string | Search query (e.g. 'database', 'auth', 'deploy') |
run_tribunal_auditExecutes workspace-wide anti-hallucination audits.search_case_lawQueries historical code rejections and legal precedents.| Parameter | Type | Description |
|---|---|---|
| query * | string | Search query (e.g. 'useEffect state') |
store_memoryPersists a validated memory entry across sessions (`semantic`, `procedural`, `episodic`, `working`).| Parameter | Type | Description |
|---|---|---|
| content * | string | The memory content to store |
| tags | array | Searchable tags for this memory |
| type * | string | Memory type: semantic (facts), procedural (recipes), episodic (events), working (scratch) |
sync_ide_bridgesSynchronize IDE bridge files with the current GEMINI.md rules.tk_browser_auditLive web quality, accessibility, console error, and Core Web Vitals auditor. Navigates headlessly to a URL, checks WCAG 2.2 contrast/aria, network failures, uncaught exceptions, and security headers. Returns structured audit report.| Parameter | Type | Description |
|---|---|---|
| url * | string | The target URL to audit (e.g. http://localhost:3000) |
tk_browser_compareVisual regression differ. Captures synchronized screenshots of two URLs (e.g. localhost dev server vs production) and computes pixel mismatch percentage to verify layout integrity before release.| Parameter | Type | Description |
|---|---|---|
| maxDiffPercent | number | Maximum allowable difference percentage before failing (default: 1.0) |
| url1 * | string | Baseline or staging URL (e.g. http://localhost:3000) |
| url2 * | string | Production or target URL to compare against |
tk_browser_navigateToken-efficient browser navigation. Navigates headlessly to a URL, prunes HTML using htmltrim (< 4,000 bytes / ~1,000 tokens), enforces IDPI prompt injection defense, and returns compact semantic markdown with an interactive elements tree.| Parameter | Type | Description |
|---|---|---|
| url * | string | The target URL to inspect (e.g. http://localhost:3000 or https://example.com) |
tk_browser_screenshotCaptures a viewport screenshot of a target URL as base64 PNG data.| Parameter | Type | Description |
|---|---|---|
| url * | string | The URL to screenshot |
tk_codify_browser_auditAudits a target URL and automatically codifies detected WCAG accessibility failures, missing security headers, and console errors into binding Case Law precedents.| Parameter | Type | Description |
|---|---|---|
| url * | string | The URL to audit and codify |
tk_deconstruct_componentReverse-engineers a live web element into a production React TSX component with Tailwind CSS classes by inspecting computed CSSOM (geometry, typography, elevation, transitions).| Parameter | Type | Description |
|---|---|---|
| name | string | Optional PascalCase component name (e.g. PricingCard) |
| selector * | string | CSS selector matching the element (e.g. button.primary or #pricing-card) |
| url * | string | The URL hosting the target element |
tk_format_activityFormats an operational state, agent activation, progress update, or completion into the premium Tribunal-Kit activity presentation format.| Parameter | Type | Description |
|---|---|---|
| agent | string | Optional agent name (e.g. resilience-reviewer) |
| current | number | Authoritative completed count |
| domain | string | Optional domain focus |
| error | string | Failure or error message |
| evidence | any | Verified evidence string, object, or array |
| format | string | |
| nextAction | string | Actionable next step |
| skill | string | Optional skill name (e.g. error-resilience) |
| state * | string | Operational state: operation_started, agent_activated, skill_activated, analysis_in_progress, tool_executing, tests_running, evidence_collecting, validation_passed, validation_failed, warning_detected, human_approval_required, operation_blocked, retry_in_progress, operation_completed, operation_cancelled |
| summary | string | Concise 1-2 sentence context or mandate |
| title * | string | Crisp title or headline |
| total | number | Authoritative total count |
| unit | string | Unit of progress (e.g. suites, tests, files) |
| warning | string | Warning message |
tk_heal_runtime_errorsRuntime Sentinel error hunter. Scans a live web page or dev server for uncaught exceptions, React boundary errors, and framework overlays, localizing them to workspace source files.| Parameter | Type | Description |
|---|---|---|
| url * | string | The dev server or web page URL (e.g. http://localhost:3000) |
| verify | boolean | If true, verifies whether previously reported runtime errors have cleared |
tribunal_analyze_findingInitializes a correction run for a finding.| Parameter | Type | Description |
|---|---|---|
| finding * | object | |
| workspaceId | string |
tribunal_approve_writeApprove a transaction requiring human approval with explicit approver ID and signature.| Parameter | Type | Description |
|---|---|---|
| approverId * | string | Identity of the human approver (AI agents cannot self-approve) |
| signature * | string | Human confirmation approval signature |
| token * | string | Write transaction token |
tribunal_commit_writeAtomically commits an approved write transaction to disk with SHA-256 rollback protection.| Parameter | Type | Description |
|---|---|---|
| token * | string |
tribunal_dispatch_dagDispatch a Dynamic Directed Acyclic Graph (DAG) for parallel, staged execution.| Parameter | Type | Description |
|---|---|---|
| payloadFile * | string | Path to the JSON payload file containing the DAG |
tribunal_execute_correctionExecutes the correction plan via ControlledWriteService.| Parameter | Type | Description |
|---|---|---|
| files * | array | |
| runId * | string |
tribunal_generate_review_planGenerate an intelligence-driven review plan.| Parameter | Type | Description |
|---|---|---|
| files | array | |
| impactTier | number |
tribunal_get_caseRetrieve full case structured data.| Parameter | Type | Description |
|---|---|---|
| caseId * | string |
tribunal_get_contextGenerate or retrieve an elite Flight Data HUD context dossier for any file, multi-file pair, or directory. Automatically extracts public API contracts, callers, Chesterton's Fences, invariants, and test recipes. Supports drift checking and living vault sync.| Parameter | Type | Description |
|---|---|---|
| check | boolean | Run vault-wide semantic drift check instead of analyzing a target. |
| compareWith | string | Optional secondary file for multi-file interface bridge analysis. |
| target | string | File path, folder path, or primary file to analyze. |
| write | boolean | Whether to write the generated dossier to docs/context/ and update INDEX.md (default: true). |
tribunal_get_resolution_certificateGet the cryptographically signed resolution certificate for a run.| Parameter | Type | Description |
|---|---|---|
| runId * | string |
tribunal_plan_correctionGenerates a correction plan and proposals.| Parameter | Type | Description |
|---|---|---|
| proposalContext | object | |
| runId * | string |
tribunal_preview_writePreview an approved or pending write transaction.| Parameter | Type | Description |
|---|---|---|
| token * | string |
tribunal_request_writeRequests a controlled repository mutation, returning a preview diff and cryptographic authorization token.| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | |
| files * | array | |
| reason * | string |
tribunal_run_validationRun a specific validation command securely.| Parameter | Type | Description |
|---|---|---|
| customArgs | array | |
| validationId * | string |
tribunal_search_casesSearch historical cases by tier, files, or categories.| Parameter | Type | Description |
|---|---|---|
| files | array | |
| impactTier | number |
tribunal_understandExecute deterministic, read-only architectural exploration, feature tracing, dependency analysis, impact estimation, dead-code detection, guided onboarding, and change preparation.| Parameter | Type | Description |
|---|---|---|
| depth | integer | Traversal depth limit (default: 3). |
| focus | string | Restricts analysis scope to a specific subdirectory. |
| json | boolean | Whether to return machine-readable JSON result envelope instead of markdown dossier. |
| subcommand | string | Operation to execute: overview, trace, dependencies, relevant-files, impact, dead-code, onboard, prepare (default: overview). |
| target | string | Target feature, symbol, file path, route, or task description. |
tribunal_verify_correctionVerifies the executed correction.| Parameter | Type | Description |
|---|---|---|
| runId * | string |
verify_contractsVerify proposed code changes against project behavioral contracts. Use BEFORE writing code to ensure compliance with team conventions.| Parameter | Type | Description |
|---|---|---|
| content * | string | Proposed file content to verify against loaded contracts |
| file * | string | Relative or absolute file path to verify (e.g. 'src/api/user.ts') |
Security checks
6 checks have not been run yet.