/agent-toolkit:verification-loopfrom agent-toolkit
Check build/test results or readiness for scoped changes; report failed and unavailable project gates.
Ships in agent-toolkit. 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.
None: SKILL.md is the whole skill.
A comprehensive verification system for Claude Code or Codex sessions.
Invoke this skill:
Discover commands from the project's own configuration; examples below apply
only when those tools are already installed. Do not use package runners that
fetch missing tools implicitly. Capture actual exit status (use pipefail if
piping output), redact credentials, and mark unavailable checks as NOT RUN.
Use the project's coverage target rather than imposing a new global threshold.
Choose relevant phases by profile and project policy: QUICK runs a meaningful
focused check, STANDARD runs appropriate affected checks and project gates, and
DEEP adds relevant layered/negative evidence. All use the same existing lifecycle;
these phases organize checks, not new mandatory stages. Apply STANDARD + SOLO
when no accepted selection exists. If available, consult the existing
development-lifecycle-rules contract; no hard provider dependency is needed.
Mandatory project gates remain binding in every profile. A failed required
security or coverage gate blocks readiness. QUICK cannot waive it. Mark irrelevant
phases NOT APPLICABLE with a reason; unavailable required checks NOT RUN.
When using the piped Bash examples below, enable set -o pipefail first so the
producer's failure is retained; otherwise run the check without truncation and
capture its actual exit code. Inspect runner side effects before invocation.
# Check if project builds
npm run build 2>&1 | tail -20
# OR
pnpm build 2>&1 | tail -20
If build fails, STOP and fix before continuing.
# TypeScript projects
npm run typecheck # Only if this script is configured; no implicit fetch
# Python projects
pyright . 2>&1 | head -30
Report all type errors. Fix critical ones before continuing.
# JavaScript/TypeScript
npm run lint 2>&1 | head -30
# Python
ruff check . 2>&1 | head -30
# Run tests with coverage
npm run test -- --coverage 2>&1 | tail -50
# Check coverage threshold
# Target: the established project policy, if any; no global threshold
Report:
# Check for secrets
grep -rn "sk-" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
grep -rn "api_key" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
# Check for console.log
grep -rn "console.log" --include="*.ts" --include="*.tsx" src/ 2>/dev/null | head -10
# Show what changed
git diff --stat
git diff --name-only
git diff --cached --name-only
git ls-files --others --exclude-standard
# When clean, compare the actual task base: git diff <base>...HEAD --name-only
Review task-relevant untracked files without staging them; a recent commit is a target only when intended, not an automatic fallback. Review each scoped file for:
After running relevant phases, produce a verification report. Use PASS/FAIL, NOT RUN or NOT APPLICABLE with reasons; readiness alone authorizes no delivery:
VERIFICATION REPORT
==================
Build: [PASS/FAIL]
Types: [PASS/FAIL] (X errors)
Lint: [PASS/FAIL] (X warnings)
Tests: [PASS/FAIL] (X/Y passed, Z% coverage)
Security: [PASS/FAIL] (X issues)
Diff: [X files changed]
Overall: [READY/NOT READY] for PR
Issues to Fix:
1. ...
2. ...
For long sessions, choose meaningful checkpoints after relevant changes or risk transitions; do not rerun the full suite on a timer without new evidence. For example:
Set a mental checkpoint:
- After completing each function
- After finishing a component
- Before moving to next task
Invoke the verification-loop skill
In Claude this can complement installed PostToolUse hooks. In Codex the collection's bundled hooks are disabled; run verification explicitly. Never report a hook, background checkpoint, or test run that did not actually execute.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mmalyska/claude-plugins --plugin agent-toolkit14 skills in this plugin
/autonomous-agent-harnessDesign or configure bounded recurring agent workflows with persistence, scheduling, and recovery in Claude Code or Codex./blueprintCreate profile-sized, resumable implementation plans with exact file scopes, dependencies, checks and rollback. Planning does not authorize workers or delivery./context-budgetAudit instruction and tool context overhead in Claude Code or Codex, distinguishing measured usage from estimates.Other plugins' skills for the same job