Skip to content
Development
Command

/check

Run verification checks on code, tasks, or agent outputs.

From plugin
claude-flow
67k194 skills157 agents194 commands1 MCP
Install
> /plugin marketplace add ruvnet/claude-flow

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/check

Context preview

What this command does when you run it.

Run verification checks on code, tasks, or agent outputs.

Command definition

check.md

verify check

Run verification checks on code, tasks, or agent outputs.

Usage

claude-flow verify check [options]

Options

  • `--file <path>` - Verify specific file
  • `--task <id>` - Verify task output
  • `--directory <path>` - Verify entire directory
  • `--threshold <0-1>` - Override default threshold (0.95)
  • `--auto-fix` - Attempt automatic fixes
  • `--json` - Output results as JSON
  • `--verbose` - Show detailed verification steps

Examples

# Basic file verification
claude-flow verify check --file src/app.js

# Verify with higher threshold
claude-flow verify check --file src/critical.js --threshold 0.99

# Verify and auto-fix issues
claude-flow verify check --directory src/ --auto-fix

# Get JSON output for CI/CD
claude-flow verify check --json > verification.json

Truth Scoring

The check command evaluates:

  • Code correctness
  • Best practices adherence
  • Security vulnerabilities
  • Performance implications
  • Documentation completeness

Exit Codes

  • `0` - Verification passed
  • `1` - Verification failed
  • `2` - Error during verification
Ships withclaude-flow

An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.

Get the whole plugin