/consensus-loop:tools <tool_name> [context or parameters]from consensus-loop
Runs 9 deterministic analysis tools via CLI — code_map, dependency_graph, audit_scan, coverage_map, RTM operations, and FVM matrix generation/validation. Replaces MCP server calls with equivalent Bash commands.
Ships in consensus-loop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
CLI interface for the 9 deterministic analysis tools that power the consensus-loop workflow. These tools run via tool-runner.mjs — same logic as the MCP server, but invoked through Bash instead of JSON-RPC.
${CLAUDE_PLUGIN_ROOT}/scripts/tool-runner.mjs
Invocation pattern:
node ${CLAUDE_PLUGIN_ROOT}/scripts/tool-runner.mjs <tool_name> --param value ...
Add --json to any command for structured JSON output instead of formatted text.
| Need | Tool | Reference |
|---|---|---|
| Find functions/classes/types with line ranges | code_map | code-map.md |
| Map import/export dependencies, detect cycles | dependency_graph | dependency-graph.md |
Scan for as any, hardcoded values, console.log | audit_scan | audit-scan.md |
| Get per-file test coverage percentages | coverage_map | coverage-map.md |
| Read RTM rows, filter by req_id or status | rtm_parse | rtm-parse.md |
| Merge worktree RTM files into base | rtm_merge | rtm-merge.md |
| Query audit verdict history, detect patterns | audit_history | audit-history.md |
| Generate FE×API×BE×Auth verification matrix | fvm_generate | fvm-generate.md |
| Execute FVM rows against live server | fvm_validate | fvm-validate.md |
node ${CLAUDE_PLUGIN_ROOT}/scripts/tool-runner.mjs# Symbol index for a directory
node ${CLAUDE_PLUGIN_ROOT}/scripts/tool-runner.mjs code_map --path src/
# Dependency graph with cycle detection
node ${CLAUDE_PLUGIN_ROOT}/scripts/tool-runner.mjs dependency_graph --path src/ --depth 3
# Pattern scan for type-safety issues
node ${CLAUDE_PLUGIN_ROOT}/scripts/tool-runner.mjs audit_scan --pattern type-safety
# Parse RTM, filter by requirement ID
node ${CLAUDE_PLUGIN_ROOT}/scripts/tool-runner.mjs rtm_parse --path docs/rtm.md --req_id EV-1
# Audit history summary with risk patterns
node ${CLAUDE_PLUGIN_ROOT}/scripts/tool-runner.mjs audit_history --summary
# FVM generation
node ${CLAUDE_PLUGIN_ROOT}/scripts/tool-runner.mjs fvm_generate --path /project/root
--json flag outputs structured JSON for programmatic useEvery MCP tool call maps 1:1 to a CLI command:
| MCP Call | CLI Equivalent |
|---|---|
mcp__consensus-loop__code_map({path: "src/"}) | node tool-runner.mjs code_map --path src/ |
mcp__consensus-loop__dependency_graph({path: "src/"}) | node tool-runner.mjs dependency_graph --path src/ |
mcp__consensus-loop__audit_scan({pattern: "all"}) | node tool-runner.mjs audit_scan --pattern all |
mcp__consensus-loop__rtm_parse({path: "x.md"}) | node tool-runner.mjs rtm_parse --path x.md |
The output format is identical — same text, same summary.
references/audit-history.md (opens in a new tab)references/audit-scan.md (opens in a new tab)references/code-map.md (opens in a new tab)references/coverage-map.md (opens in a new tab)references/dependency-graph.md (opens in a new tab)references/fvm-generate.md (opens in a new tab)references/fvm-validate.md (opens in a new tab)references/rtm-merge.md (opens in a new tab)references/rtm-parse.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
consensus-loop@berrzebb-plugins is listed by berrzebb/claude-plugins — review the source before installing
npx claudepluginhub berrzebb/claude-plugins --plugin consensus-loop9 skills in this plugin
/auditconsensus-loop:auditRun a consensus-loop audit manually — Codex reviews pending trigger_tag items in the watch file. Use when you want to trigger an audit without editing the watch file, re-run a failed audit, or test the audit prompt./guideconsensus-loop:guideGuide for writing evidence packages for the consensus-loop watch file. Use when preparing code review submissions, structuring feedback evidence, or addressing audit rejections./mergeconsensus-loop:merge