execution-gate

A pre-execution checklist that confirms planning files, user approval, environment details, login information, and risk authorization before browser work begins.

In plain words
What is it for?
Use it before carrying out browser-based tasks that require confirmed plans, test data, accounts, and an agreed execution environment.
Why use it?
It prevents execution from starting with missing plans, unclear targets, or unapproved actions.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/coffeecheese/easy-prd-testing/execution-gate
Any agent
npx skills add CoffeeCheese/easy-prd-testing --skill execution-gate
Clone the repo
git clone --depth 1 https://github.com/CoffeeCheese/easy-prd-testing

Made for: Claude Code, Codex.

Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,237 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.01237
Opus 5 $0.00017 $0.00619
Sonnet 5 $0.00007 $0.00247
Haiku 4.5 $0.00003 $0.00124

Measured 2d ago against content hash f97e898effea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

execution-gate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/execution-gate/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Execution Gate

Goal

Confirm every prerequisite needed before page execution, including target and service lifecycle ownership.

Required Files

The module artifact directory must contain readable:

  • 01-模块拆解.md
  • 02-测试用例.md
  • 03-执行清单.md
  • 04-测试数据与账号.md

The conversation or visible task state must show explicit user confirmation of 01-04. Invocation after planning is not enough. If explicit confirmation is absent, stop and ask the user to confirm 01-04 before collecting execution prerequisites.

Check file existence separately from confirmation.

Confirmation Order

Resolve prerequisites in this order. Before asking, use the input path or URL, read-only port or reachability probes, the existing execution plan, and 01-04 to infer what can be recorded safely. Ask only for the earliest item that still requires user information or authorization:

  1. Module artifact directory, if the 01-04 files cannot be located.
  2. Explicit user confirmation of 01-04, if not observable in conversation or visible task state.
  3. Test environment address and module test path, only if they cannot be derived reliably.
  4. Target preflight, using the rules below. Do not ask the user to confirm target type, service state, safe ownership defaults, readiness basis, or cleanup responsibility when they can be derived reliably. Ask only when:
    • A stopped local service must be started for this run: collect its startup command and responsibility, then request one explicit startup authorization.
    • Resource ownership cannot be determined safely and would affect start, stop, or cleanup behavior.
    • No observable page-readiness basis can be derived from the test cases, target, or available page information.
  5. Login mode: specified account, reuse current session, or no login.
  6. For specified account: account, password retrieval method, and permission scope.
  7. Execution mode: single agent or priority-based multi-agent.
  8. Execution backend policy: default agent-browser, diagnostic Chrome DevTools CLI, final fallback Chrome DevTools MCP.
  9. Runtime dependency check: run scripts/check-deps.sh when available, or manually check the same dependency layers when this skill is installed without repository scripts.
  10. Playwright Test policy: generate regression script drafts only when the user requests script persistence or when P0/P1 failures need future regression.
  11. High-risk action authorization: allow real submission, or verify only entry, display, validation, secondary confirmation, and messages.

Read the full file on GitHub · 89 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 89 lines · 34 tokens per session scan A f97e898effea

Subscribe to this mod's changes

execution-gate is a skill published in the GitHub repository CoffeeCheese/easy-prd-testing (2 stars, last pushed 20d ago), licensed MIT. It adds 34 tokens to every session and 1,237 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.