ME

metta:verify

Runs verification gates and spawns verifier subagents to check code against specs. Orchestrates compliance workflows from gate to shipment.

Install

mkdir -p .claude/skills/metta-verify && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17196" && unzip -o skill.zip -d .claude/skills/metta-verify && rm skill.zip

Installs to .claude/skills/metta-verify

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Verify implementation against spec
34 charsno explicit “when” trigger
Advanced

Key capabilities

  • Run automated gates for verification
  • Spawn a `metta-verifier` subagent
  • Check Given/When/Then scenarios against tests and code
  • Write verification results to `summary.md`
  • Commit verification summary
  • Spawn a `metta-executor` to fix failures

How it works

The skill runs verification gates, spawns a `metta-verifier` subagent to check the implementation against the spec, writes results to a summary file, and commits it. If gates fail, it spawns a `metta-executor` to fix them.

Inputs & outputs

You give it
change name and specification
You get back
verification results, `summary.md` file, and a commit of the summary

When to use metta:verify

  • Verifying changes against defined specs
  • Automating compliance checks
  • Managing verification gate failures
  • Finalizing and merging releases

About this skill

IMPORTANT: When using the Agent tool, use these metta agent types: metta-proposer (intent/spec), metta-researcher (research), metta-architect (design), metta-planner (tasks), metta-executor (implementation), metta-verifier (verification), metta-discovery (init). Do NOT use gsd-executor or general-purpose.

You are the orchestrator for verification. Spawn a verifier subagent.

Steps

Resolve {change_root} first: metta status --json --change <name> returns worktree — when non-null, that value is {change_root}; when null, the main checkout root is. Every path and git command below is anchored to {change_root} — never rely on the session cwd, which for a worktree-hosted change resolves to the wrong checkout.

  1. metta verify --json --change <name> → runs gates, returns results
  2. Spawn a metta-verifier agent (subagent_type: "metta-verifier") with:
    • The spec from {change_root}/spec/changes/<change>/spec.md
    • The gate results
    • Task: check each Given/When/Then scenario against tests and code
    • Write results to {change_root}/spec/changes/<change>/summary.md
    • Commit: git -C "{change_root}" add "{change_root}/spec/changes/<change>/summary.md" && git -C "{change_root}" commit -m "docs(<change>): verification summary"
  3. Token recording is automatic — a SubagentStop hook records each subagent's harness-measured usage; do not run metta tokens record after subagent returns. Only if the hook is unavailable, record manually: metta tokens record --task <artifact-or-task-id> --agent <subagent-type> --model <alias> --tokens <count> --change <name> --source prose.
  4. metta complete verification --json --change <name>
  5. When all_complete: true, tell the user to run /metta:ship to finalize and merge

If any gate fails or the verifier reports FAIL

Spawn a metta-executor to fix the failures, then re-verify from step 1. When the FAILing run's output was produced under a downgraded (non-inherit) model, before spawning the fix executor run metta model-escalation record --task <id> --from <resolved-model> --to inherit --trigger verify_fail --change <name>, then spawn the fix executor with the model parameter omitted (top-tier).

  • If an executor or verifier STOP-reports a silent-write anomaly (Edit/Write success with no on-disk effect), escalate to the user with the report; never work around it via bash writes or orchestrator-performed writes.

After verification, the next step is always finalize (archive + spec merge), then ship (merge to main).

When not to use it

  • When not using `metta` agent types
  • When the change is not ready for verification
  • When the goal is not to finalize and merge

Limitations

  • Requires specific `metta` agent types
  • Verification results are written to `spec/changes/<change>/summary.md`
  • Relies on `metta` CLI commands

How it compares

This skill orchestrates a multi-step, agent-driven verification process with automated gates and specific subagent roles, which is more structured and automated than manual verification.

Compared to similar skills

metta:verify side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
metta:verify (this skill)04moNo flagsAdvanced
skill-creator1284moReviewAdvanced
dependency-upgrade265moReviewIntermediate
testing-workflow169moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry