/vault-software-development:agent-eval-loopfrom vault-software-development
Build a Skill + Eval + Verification triad for any agent workflow, then ascend the trust curve from local observation to cloud automation. Use this when the user wants to (1) encode a team best practice as a reusable skill, (2) write a unit test for an agent skill ("skill is hallucinating, how do I check?"), (3) establish a trust loop before running cloud agents at scale, or (4) move from "agent I have to babysit" to "agent I trust to ship PRs to main." This skill teaches the methodology distilled from the Cursor team's public talk by a SpaceXAI engineer.
Ships in vault-software-development. 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.
Read when SKILL.md points to them; scripts run unread.
One-liner: Encode know-how into a Skill, write an Eval for it, build a Verification loop around that Eval, then ascend from local observation to cloud automation.
Coding agents hallucinate. They guess when they should look up. They skip verification when they should cross-check. The fix is not "a better model" -- the fix is a trust loop built from three parts:
| Part | What it is | One-line test |
|---|---|---|
| Skill | Know-how encoded as a reusable workflow | "Can another agent follow this without asking me?" |
| Eval | Unit test for an agent skill | "If I change the skill, does the score move?" |
| Verification | Trust loop around the eval | "Can I trust the eval itself?" |
The mistake most teams make is to skip the verification step and jump to cloud agents. Without a working verification loop, scaling agents is just hallucinating faster.
Invoke when the user says any of:
Do not invoke for: short ad-hoc tasks, single-turn edits, anything where the user has not asked for repeatability or trust scaling.
Turn know-how into a workflow. See references/skill-design.md for the
full template. Minimum bar:
Eval = unit test for the agent skill. See references/eval-playbook.md.
Mandatory design rules:
/loop -- run the eval iteratively until the
score hits your threshold (e.g. 10/10). Each iteration should
tweak the skill, not the eval.This is the step most teams skip. You must eval the eval.
If the eval cannot distinguish "agent trying hard" from "agent slop", the verification loop is broken. Fix the eval, not the skill.
Do not spawn 100 cloud agents on day 1. The trust curve is:
Each rung requires an honest self-check: "Do I trust this enough to not babysit it?" If the answer is no, stay on the current rung longer. There is no shortcut. Trust is built, not installed.
See references/trust-curve.md for the full ladder.
When invoked, produce:
<repo>/skills/<skill-name>/ (or wherever the user's
platform expects) with a SKILL.md following the team's skill formateval.json in that directory using templates/eval.template.jsonverify.sh (or platform equivalent) that runs the eval + the
meta-verificationSKILL.md -- you are herereferences/skill-design.md -- how to design a good skillreferences/eval-playbook.md -- eval design rules + scoring rubricreferences/verification-patterns.md -- common verification patternsreferences/trust-curve.md -- local -> cloud -> auto-merge laddertemplates/SKILL.template.md -- copy-paste skill skeletontemplates/eval.template.json -- copy-paste eval schemascripts/eval-runner.sh -- bash runner that consumes eval.jsonexamples/01-bug-repro-skill/ -- end-to-end worked exampleREADME.md -- cross-platform install (Claude Code + Codex)Distilled from a B 站 public talk by a SpaceXAI engineer on the Cursor team (BV1ceYR65EmK, ~13 min). The talk covers the same three-part loop in the context of P-Stack; this skill generalizes it so any team using any coding agent can apply it.
LICENSE (opens in a new tab)README.md (opens in a new tab)examples/01-bug-repro-skill/README.md (opens in a new tab)examples/01-bug-repro-skill/eval.json (opens in a new tab)examples/01-bug-repro-skill/verify.sh (opens in a new tab)references/eval-playbook.md (opens in a new tab)references/skill-design.md (opens in a new tab)references/trust-curve.md (opens in a new tab)references/verification-patterns.md (opens in a new tab)scripts/eval-runner.sh (opens in a new tab)templates/SKILL.template.md (opens in a new tab)templates/eval.template.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yhyu13/agentskillsvault --plugin vault-software-development25 skills in this plugin
/agent-desktopOperate desktop applications on macOS, Windows and Linux through native accessibility trees, using the agent-desktop CLI. Use when an AI agent must see or act on a desktop GUI: click buttons, fill forms, read UI state, navigate menus, toggle checkboxes, scroll, drag, type text, press shortcuts, take screenshots, manage windows, use the clipboard, launch or close apps, read notifications. Triggers on: "click button", "fill form", "open app", "read UI", "computer use", "operate desktop", "accessibility tree", "snapshot app", "type into field", "navigate menu", "toggle checkbox", "take screenshot", "desktop automation", "agent-desktop", or any desktop GUI task on macOS, Windows or Linux.
/apk-ndk-version-checkCheck which Android NDK / clang version built an APK's native library (libUE4.so, lib*.so) — works even when the ELF section table is stripped (UE Shipping builds), maps "based on rXXXXXX" revisions to NDK releases via changelog, and cross-validates with libc++_shared.so. Use when asked to check NDK version, clang version, compiler version of an APK or .so, or to figure out which toolchain built a native library./brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).