Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hridaya423/phonedriver --skill verify-approval-guard -a claude-code
Open on GitHub

What 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.rs and run the approval guard tests.
  • Test whether a retry in mcp.rs can 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-code

2Manually: put the files in place

~/.claude/skills/verify-approval-guard/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/verify-approval-guard/

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.

Similar skills

SKILL.md skills catalog →
extension-user-approval caffeinelabs extension-user-approval is a Claude Code skill for approval-based registration in private apps and features that cost the owner money; admins approve or reject requests or invite-link access. CX Codex +1 32,200installs deal-desk-approval Maya-Beth Finotti Designs deal desk approval matrices and exception workflows for non-standard B2B SaaS contracts. It balances five concession levers, sets margin floors, and defines SLA escalation paths. CX Codex +1 26,800installs planetscale-change-gates-and-approval-contract planetscale planetscale-change-gates-and-approval-contract is a Claude Code skill that gates changes to PlanetScale and related resources behind explicit approval. Production actions also require a confirmed target and rollback plan. CX Codex +1 1,900installs tool-approval westey-m tool-approval — a subagent that walks through the approval pattern: mark a tool as needing a human yes, then send the approve or reject answer back to the agent. CX Codex ★ 521repo stars Approval gate for databases hibira-io The Approval gate for databases MCP server for Claude Code lets database reads pass and holds changes until another person approves them. Each approved call runs once. CX Codex +1 convex-deploy-guard convex convex-deploy-guard — a skill for Claude Code, Codex, Cursor, and other platforms that checks the Convex deployment target before any deployment command and requires explicit consent before production changes. CX Codex +1 44,000installs

From the same set4

Project sponsors

Companies that keep this analytics open