verify-approval-guard — Claude Code skill: tests and setup
The verify-approval-guard Claude Code skill tests approval-guard behavior. It runs property tests after changes to code that gates actions on human approval.
AGPL-3.0 ★ 342 updated 2026-11-16
npx skills add hridaya423/phonedriver --skill verify-approval-guard -a claude-codeWhat verify-approval-guard does
The skill runs property tests to check whether a guarded action, such as a payment or deletion, can reach the device before a person answers. Generated cases cover batches, answers, request categories, and protocol versions.
Tests exercise the actual daemon, MCP server, and FakeDevice log rather than a separate implementation. The proptest dev-dependency must be present in crates/cli; run the check with cargo test -p phonedriver --test guard_property.
It applies to edits in guard.rs, guard functions in actor.rs, guarded calls in mcp.rs, run_batch in commands.rs, or the guard_rig.rs test harness. The command requires the phonedriver project.
What it helps with
- check that a payment tap waits for a human answer
- catch a batch step that runs twice before a held action
- test whether a retry can bypass the approval guard
Example prompts for the agent
- Check my changes to
guard.rsand run the approval guard tests. - Test whether a retry in
mcp.rscan submit a payment without a human answer. - I changed
run_batch; verify the approval guard.
How to install verify-approval-guard
1Skills CLI (Vercel)
npx skills add hridaya423/phonedriver --skill verify-approval-guard -a claude-code2Manually: put the files in place
~/.claude/skills/verify-approval-guard/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/verify-approval-guard/
1Skills CLI (Vercel)
npx skills add hridaya423/phonedriver --skill verify-approval-guard -a codex2Manually: put the files in place
.agents/skills/verify-approval-guard/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add hridaya423/phonedriver --skill verify-approval-guard -a cursor2Manually: put the files in place
.cursor/skills/verify-approval-guard/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install hridaya423/phonedriver .claude/skills/verify-approval-guard2Manually: put the files in place
.github/skills/verify-approval-guard/SKILL.md1Skills CLI (Vercel)
npx skills add hridaya423/phonedriver --skill verify-approval-guard -a gemini-cli2Platform CLI
gemini skills install https://github.com/hridaya423/phonedriver --path .claude/skills/verify-approval-guardManually: put the files in place
.devin/skills/verify-approval-guard/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about verify-approval-guard
How do I install verify-approval-guard in Claude Code?
Run npx skills add hridaya423/phonedriver --skill verify-approval-guard -a claude-code. The skill file is placed at ~/.claude/skills/verify-approval-guard/SKILL.md.
What does verify-approval-guard do?
It runs property tests for approval-gated actions, checking whether they reach the device without the required human response. The checks also cover batch handling and retries.
What does verify-approval-guard need to run?
It needs the phonedriver project and the proptest dev-dependency in crates/cli. Run it with cargo test -p phonedriver --test guard_property.