Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Generates structured test assertions and failure diagnostics for skill packages from a definition and task prompt.
$ npx skills add Mathews-Tom/armory --skill surrogate-verifier -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Mathews-Tom/armory surrogate-verifier --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/surrogate-verifier .claude/skills/surrogate-verifier && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "surrogate-verifier" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/surrogate-verifier into .claude/skills/surrogate-verifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "surrogate-verifier", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Mathews-Tom/armory/tree/main/skills/surrogate-verifierType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Mathews-Tom/armory --skill surrogate-verifier -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Mathews-Tom/armory surrogate-verifier --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/surrogate-verifier .agents/skills/surrogate-verifier && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "surrogate-verifier" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/surrogate-verifier into .agents/skills/surrogate-verifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "surrogate-verifier", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Mathews-Tom/armory --skill surrogate-verifier -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Mathews-Tom/armory surrogate-verifier --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/surrogate-verifier .cursor/skills/surrogate-verifier && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "surrogate-verifier" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/surrogate-verifier into .cursor/skills/surrogate-verifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "surrogate-verifier", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Mathews-Tom/armory.git --path skills/surrogate-verifier--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Mathews-Tom/armory --skill surrogate-verifier -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Mathews-Tom/armory surrogate-verifier --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/surrogate-verifier .gemini/skills/surrogate-verifier && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "surrogate-verifier" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/surrogate-verifier into .gemini/skills/surrogate-verifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "surrogate-verifier", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Mathews-Tom/armory surrogate-verifierInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Mathews-Tom/armory --skill surrogate-verifier -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/surrogate-verifier .github/skills/surrogate-verifier && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "surrogate-verifier" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/surrogate-verifier into .github/skills/surrogate-verifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "surrogate-verifier", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Mathews-Tom/armory --skill surrogate-verifier -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Mathews-Tom/armory surrogate-verifier --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/surrogate-verifier .opencode/skills/surrogate-verifier && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "surrogate-verifier" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/surrogate-verifier into .opencode/skills/surrogate-verifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "surrogate-verifier", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
surrogate-verifierGenerates structured test assertions and failure diagnostics for skill packages from a definition and task prompt.
Surrogate Verifier is an agent skill from Mathews-Tom/armory. Generates structured test assertions and failure diagnostics for skill packages from a definition and task prompt. Triggers on: "verify this skill", "generate assertions", "surrogate verification", "diagnose skill failure". NOT for code review, use pr-review.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `evals/cases.yaml`, `references/assertion-patterns.md` and `references/diagnostic-templates.md`).
It sits in Development, covering Pull requests. The repository describes itself as: Curated, production-grade skills for AI coding agents. Battle-tested workflows for developers who use AI seriously. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4594fb7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Surrogate Verifier loads about 2.3k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 870 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Mathews-Tom/armory at commit 4594fb7, republished under its MIT licence (© Mathews-Tom). 870 words, ~2,306 tokens.
.claude/skills/surrogate-verifier/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Generate structured test assertions and failure diagnostics for skill packages through information-isolated verification. The verifier operates without access to the skill generator's reasoning — it sees only the skill definition, a task prompt, and the output artifacts. This isolation prevents confirmation bias and is the single largest contributor to skill quality in co-evolutionary generation (+30pp per EvoSkills).
| File | Contents | Load When |
|---|---|---|
references/assertion-patterns.md | Assertion catalog by skill category with weight guidance | Always |
references/diagnostic-templates.md | Failure diagnostic templates with root-cause categories | When producing failure reports |
This is the most critical constraint. Violating isolation degrades verification quality.
The verifier MUST NOT access:
The verifier receives ONLY:
SKILL.md content (the definition file)scripts/eval_assertions.py (when diagnosing)Implementation: When invoked by the test-engineer agent, this skill MUST be loaded
into a separate Agent spawn using isolation: "worktree" or at minimum a fresh session
with no shared context. The invoking agent passes artifacts as explicit text, not as
conversation references.
Generate assertions for a skill given its definition and task prompts.
Read the SKILL.md definition and extract:
For each task prompt, generate 5-10 assertions covering these dimensions:
| Dimension | Assertion Types to Use | Purpose |
|---|---|---|
| Output completeness | contains, matches_regex | All claimed sections/components present |
| Format compliance | output_format, contains | Output matches declared structure |
| Factual signals | contains, not_contains | Key domain terms present, hallmarks absent |
| Tool usage | calls_tool | Expected tools were invoked |
| Negative constraints | not_contains | Forbidden patterns absent |
Weight assignment:
See references/assertion-patterns.md for category-specific assertion catalogs.
Produce assertions in the evals/cases.yaml schema format:
assertions:
- type: contains
target: "## Scalability"
weight: 1.0
- type: output_format
target: markdown_table
weight: 0.8
- type: not_contains
target: "TODO"
weight: 0.3
- type: calls_tool
target: Read
weight: 0.5Context cap: Do not consume more than 70% of the available context window. If the skill definition is very long, focus assertion generation on the workflow phases and output format sections. Summarize rather than quote verbatim.
When an oracle returns fail, produce a structured diagnostic explaining why.
SKILL.md (same as Mode 1)Categorize each failed assertion into a root-cause category:
| Category | Signal | Severity |
|---|---|---|
| Missing capability | contains assertion failed for a claimed feature | HIGH |
| Format mismatch | output_format assertion failed | HIGH |
| Incomplete output | Multiple contains assertions failed in the same section | MEDIUM |
| Hallucinated content | not_contains assertion failed (forbidden pattern present) | HIGH |
| Wrong tool usage | calls_tool assertion failed | MEDIUM |
| Partial success | Some assertions in a group pass, others fail | LOW |
For each failed assertion:
SKILL.md that promises the missing capabilityFor each root cause, produce a concrete, actionable fix:
Produce a structured diagnostic string:
DIAGNOSTIC: [skill-name] failed on [task-prompt-summary]
FAILED ASSERTIONS (N/M):
1. [SEVERITY] type=contains target="..." — Missing capability: [explanation]
2. [SEVERITY] type=output_format target="..." — Format mismatch: [explanation]
ROOT CAUSES:
- [category]: [specific explanation with SKILL.md section reference]
REMEDIATION:
1. [Concrete change to SKILL.md with exact section and wording]
2. [Concrete change to workflow with step numbers]See references/diagnostic-templates.md for worked examples per root-cause category.
Per EvoSkills Algorithm 1:
The verifier does not track its own budget — the test-engineer agent manages iteration limits.
scripts/run_evals.py (the oracle).scripts/eval_assertions.py.| Error | Resolution |
|---|---|
| Skill definition too large | Summarize to workflow phases + output format sections only |
| No assertions generatable | Return empty assertions list with warning; skill may be too vague |
| Ambiguous output format | Default to contains assertions; avoid output_format checks |
| Context cap exceeded | Truncate diagnostic detail; preserve failed assertion list |
© Mathews-Tom, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in skills/surrogate-verifier of Mathews-Tom/armory.
Open the folder on GitHubat commit 4594fb7
Surrogate Verifier next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Surrogate Verifier this skillMathews-Tom/armory | 328 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Check PRonyx-dot-app/onyx | 32k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| PR Design DocOpenHands/OpenHands | 90k | — | ~2.4k | Automated safety check: Pass | MIT | |
| WooCommerce Code Reviewwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
onyx-dot-app/onyx
Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.
OpenHands/OpenHands
For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
payloadcms/payload
A skill your agent uses when a Payload pull request needs a concise visual walkthrough for reviewers.
Mathews-Tom/armory
Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports.
Mathews-Tom/armory
Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG.
Mathews-Tom/armory
A skill your agent uses when analyzing an existing video URL or local recording: "watch this video", "analyze youtube video", "summarize this video", "youtube transcript", "find this moment", "what…
Mathews-Tom/armory
Deep code simplification and refactoring preserving behavior across Python, Go, TypeScript, Rust.
Mathews-Tom/armory
Turn concepts into animated explainer videos using Manim (Python) with MP4/GIF output, audio overlay, multi-scene composition.
Mathews-Tom/armory
Maps the unresolved architecture, policy, and scope decisions that must be answered before planning can start: one durable decision ticket per question on the issue tracker, typed and blocker-linked…
Categories
Generates structured test assertions and failure diagnostics for skill packages from a definition and task prompt. Surrogate Verifier is an agent skill from Mathews-Tom/armory. Generates structured test assertions and failure diagnostics for skill packages from a definition and task prompt.
Surrogate Verifier fits situations like: : verify this skill; generate assertions; surrogate verification; diagnose skill failure.
Run `npx skills add Mathews-Tom/armory --skill surrogate-verifier -a claude-code`. Or copy the skill folder (skills/surrogate-verifier in Mathews-Tom/armory) into .claude/skills/surrogate-verifier in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Mathews-Tom/armory --skill surrogate-verifier -a codex`. Or copy the skill folder (skills/surrogate-verifier in Mathews-Tom/armory) into .agents/skills/surrogate-verifier in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mathews-Tom/armory --skill surrogate-verifier -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/surrogate-verifier, .gemini/skills/surrogate-verifier, .github/skills/surrogate-verifier and .opencode/skills/surrogate-verifier in your project.
SKILL.md names no scripts, command-line tools or credentials: Surrogate Verifier is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Surrogate Verifier is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Surrogate Verifier: Finishing a Development Branch (obra/superpowers, 297k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and PR Design Doc (OpenHands/OpenHands, 90k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Mathews-Tom (a GitHub user) maintains it in Mathews-Tom/armory, which has 328 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on October 6, 2026.
Source: Mathews-Tom/armory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.