🦀 ClawHub
Context Verifier
by @leegitw
Know the file you're editing is the file you think it is — verify integrity before you act
💡 Examples
Verify file before editing
/cv hash src/main.go
Save hash: a1b2c3d4e5f6...
... later, before editing ...
/cv verify src/main.go a1b2c3d4e5f6
✓ MATCH - safe to edit
Create context packet for refactoring
/cv packet src/*.go,internal/**/*.go --name "pre-refactor"
Creates packet with all Go files
... after refactoring ...
Can compare against packet to see what changed
Tag sensitive files
/cv tag .env
Severity: critical
/cv tag src/handler.go
Severity: important
Verify database migration before deployment
/cv packet db/migrations/*.sql --name "pre-deploy-migrations"
Creates packet with all migration files
After staging deployment...
/cv verify db/migrations/001_users.sql abc123...
✓ MATCH - migration file unchanged, safe to deploy to production
Create API schema verification packet
/cv packet api/schemas/*.json,api/openapi.yaml --name "api-schema-v2"
Creates packet with all API schema files for version control
⚙️ Configuration
Configuration is loaded from (in order of precedence):
1. .openclaw/context-verifier.yaml (OpenClaw standard)
2. .claude/context-verifier.yaml (Claude Code compatibility)
3. Defaults (built-in patterns)
TERMINAL
clawhub install context-verifier