Agent skill

Verify Gates

by Arch1eSUN in Arch1eSUN/Arcgentic

Runs the mechanical quality gates that the arcgentic state machine requires for state transitions.

MITAuto-check passedTesting & QA

Install Verify Gates

skills CLI
$ npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Arch1eSUN/Arcgentic verify-gates --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Arch1eSUN/Arcgentic.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/verify-gates .claude/skills/verify-gates && rm -rf skills-src

Use ~/.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/

Facts

Skill name
verify-gates
GitHub stars
286
Token cost
~653 tokens
SKILL.md length
249 words
Files
2 (incl. references)
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

Runs the mechanical quality gates that the arcgentic state machine requires for state transitions.

  • Works in 4 steps: Takes --state-file PATH as its only… → Reads state.yaml + does whatever check… → Exits 0 on PASS, 1 on FAIL → …
  • About to call transition.sh OR when manually verifying that a round artifact meets the gate criteria
  • SKILL.md covers What this skill does, When to invoke this skill, Gate script contract and Run a gate manually, plus 2 more sections
  • Calls bash

What it does

Verify Gates is an agent skill from Arch1eSUN/Arcgentic. Runs the mechanical quality gates that the arcgentic state machine requires for state transitions. Invoked indirectly by transition.sh OR directly by orchestrator agent before declaring a state transition. Use when about to call transition.sh OR when manually verifying that a round artifact meets the gate criteria. Each gate is a single Bash script; output is PASS/FAIL with reason.

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/gate-script-catalog.md`).

It sits in Testing & QA, covering Shell scripting and Quality gates. It works with Bash. The repository describes itself as: Mechanical plan/dev/self-audit/external-audit gates for AI coding agents, with a configurable role-routing topology engine, an MCP-UI live status panel, and native-tooling Claude… The licence is MIT.

When your agent uses it

  • About to call transition.sh OR when manually verifying that a round artifact meets the gate criteria
  • Tasks that involve Shell scripting
  • Tasks that involve Quality gates

Example prompts

  • “/verify-gates”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Takes --state-file PATH as its only argument
  2. Reads state.yaml + does whatever check it does
  3. Exits 0 on PASS, 1 on FAIL
  4. Prints PASS line to stdout, FAIL reason to stderr

What it can do on your machine

Read from SKILL.md and the folder at commit 8539955. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Verify Gates loads about 653 tokens when it runs, and up to ~1.5k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 249 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~653
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.5k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from Arch1eSUN/Arcgentic at commit 8539955, republished under its MIT licence (© Arch1eSUN). 249 words, ~653 tokens.

Download SKILL.mdSave it as .claude/skills/verify-gates/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
verify-gates
description
Runs the mechanical quality gates that the arcgentic state machine requires for state transitions. Invoked indirectly by transition.sh OR directly by orchestrator agent before declaring a state transition. Use when about to call transition.sh OR when manually verifying that a round artifact meets the gate criteria. Each gate is a single Bash script; output is PASS/FAIL with reason.

Verify gates

What this skill does

arcgentic's state machine has 4 gates (MVP):

GateTransitionVerifies
handoff-doc-gate.shplanning → awaiting_dev_starthandoff doc exists + has all required sections
round-commit-chain-gate.shdev_in_progress → awaiting_audit (also fix_in_progress → awaiting_audit)dev_commits count ≥ expected + every SHA resolves in git
verdict-fact-table-gate.sh`audit_in_progress → passedneeds_fix`

transition.sh runs the required gate automatically. This skill is for the orchestrator (or human) when they want to pre-verify before attempting the transition.

When to invoke this skill

  • About to ask a sub-agent to attempt a state transition → invoke this skill first, run the gate, fix any failures, then transition
  • A transition failed and the orchestrator wants to know WHY → invoke this skill, run the relevant gate, read the failure reason
  • Setting up a new gate for a project-specific transition → this skill's references/gate-script-catalog.md shows the gate-script shape

Gate script contract

Every gate script:

  1. Takes --state-file PATH as its only argument
  2. Reads state.yaml + does whatever check it does
  3. Exits 0 on PASS, 1 on FAIL
  4. Prints PASS line to stdout, FAIL reason to stderr

This contract means gates are composable. You can chain them. You can write project-specific ones in your own <project>/.agentic-rounds/gates/ and reference them in state.yaml's states.<state>.gate field.

Run a gate manually

bash
bash $PLUGIN_ROOT/scripts/gates/handoff-doc-gate.sh \
  --state-file <project>/.agentic-rounds/state.yaml
echo "exit: $?"

Adding a project-specific gate

  1. Write <project>/.agentic-rounds/gates/your-gate.sh following the contract above
  2. Edit state.yaml: set states.<source-state>.gate to your-gate.sh
  3. Run transition.sh --gates-dir <project>/.agentic-rounds/gates ... (override built-in gates dir)

See also

references/gate-script-catalog.md — catalog of built-in gates with anatomy + extension hooks

© Arch1eSUN, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/verify-gates of Arch1eSUN/Arcgentic.

  • SKILL.md
  • references/gate-script-catalog.md

Open the folder on GitHubat commit 8539955

Compare with similar skills

Verify Gates 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.

Verify Gates compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Verify Gates this skillArch1eSUN/Arcgentic286—~653Automated safety check: PassMIT
Bats Shell Testing Patternswshobson/agents40k12 repos~1.3kAutomated safety check: PassMIT
Testing Bash Scriptsagntcy/coffeeAgntcy112—~1.1kAutomated safety check: PassApache-2.0
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0
Papercutsevery-app/open-seo23k1 repos~1.2kAutomated safety check: PassMIT
CLI DeveloperJeffallan/claude-skills12k1 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Writes unit tests for shell scripts with Bats: error-condition tests, fixtures and mocks, cross-shell checks, parallel runs, helper files and CI integration.

    40k GitHub starsUsed in 12 repos~1.3k tokens
    Testing & QAAuto-check passed
  • Testing Bash Scripts

    agntcy/coffeeAgntcy

    Writes unit tests (for lib/.sh-style helpers) or mocked end-to-end tests (for executable scripts) using bats, and runs task tests:bash/tests:coverage.

    112 GitHub stars~1.1k tokensUpdated today
    Testing & QAAuto-check passed
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Papercuts

    every-app/open-seo

    Log genuine, recurring repository friction to .agents/PAPERCUTS.md — confusing setup, a flaky repo command or script, a misleading in-repo error, stale generated files, or a non-obvious gotcha that…

    23k GitHub starsUsed in 1 repo~1.2k tokens
    Marketing & SEOAuto-check passed
  • CLI Developer

    Jeffallan/claude-skills

    Walks through designing, building and polishing a command-line tool: user workflow and command hierarchy, implementation in commander, click, typer or cobra, completions and cross-platform testing.

    12k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • JSON Processing with jq

    charmbracelet/crush

    Explains the jq command built into Crush for querying, filtering and reshaping JSON, including its supported flags and where it differs from standard jq.

    29k GitHub stars~746 tokensUpdated today
    DevelopmentAuto-check passed

More from Arch1eSUN/Arcgentic

All 19 skills in this repo
  • Audit Round

    Arch1eSUN/Arcgentic

    External-audit role for arcgentic rounds. An agent skill from Arch1eSUN/Arcgentic.

    286 GitHub stars~1.6k tokensUpdated 7 days ago
    Auto-check passed
  • Orchestrate Round

    Arch1eSUN/Arcgentic

    Main-session orchestrator for arcgentic rounds. An agent skill from Arch1eSUN/Arcgentic.

    286 GitHub stars~1.5k tokensUpdated 7 days ago
    Auto-check passed
  • Arcgentic

    Arch1eSUN/Arcgentic

    A skill your agent uses when the user mentions Arcgentic, or wants substantial AI-written code taken through a gated plan → development → self-audit → external audit workflow with role handoffs and…

    286 GitHub stars~984 tokensUpdated 7 days ago
    Auto-check passed
  • Arcgentic

    Arch1eSUN/Arcgentic

    A skill your agent uses when the user says Arcgentic, asks to use Arcgentic, or wants an idea taken through a complete plan → development → self-audit → external audit workflow in Codex.

    286 GitHub stars~2.4k tokensUpdated 7 days ago
    Auto-check passed
  • Claude Code Session Broker

    Arch1eSUN/Arcgentic

    A skill your agent uses when running Arcgentic V2 in Claude Code and fixed Planner, Developer, and Auditor role sessions must be coordinated through a broker.

    286 GitHub stars~3.4k tokensUpdated 7 days ago
    Auto-check passed
  • Codex Thread Orchestration

    Arch1eSUN/Arcgentic

    A skill your agent uses when running Arcgentic V2 in Codex and the current thread must orchestrate fixed Planner, Developer, Test, and Auditor role threads.

    286 GitHub stars~4.6k tokensUpdated 7 days ago
    Auto-check passed

Works with

Categories

Questions about Verify Gates

What does Verify Gates do?

Runs the mechanical quality gates that the arcgentic state machine requires for state transitions. Verify Gates is an agent skill from Arch1eSUN/Arcgentic. Runs the mechanical quality gates that the arcgentic state machine requires for state transitions.

When should I use Verify Gates?

Verify Gates fits situations like: about to call transition.sh OR when manually verifying that a round artifact meets the gate criteria; tasks that involve Shell scripting; tasks that involve Quality gates.

How do I install Verify Gates in Claude Code?

Run `npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a claude-code`. Or copy the skill folder (skills/verify-gates in Arch1eSUN/Arcgentic) into .claude/skills/verify-gates in your project. Claude Code loads it when a task matches its description.

How do I install Verify Gates in Codex?

Run `npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a codex`. Or copy the skill folder (skills/verify-gates in Arch1eSUN/Arcgentic) into .agents/skills/verify-gates in your project. Codex loads it when a task matches its description.

Can I use Verify Gates in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/verify-gates, .gemini/skills/verify-gates, .github/skills/verify-gates and .opencode/skills/verify-gates in your project.

What does Verify Gates need to run?

Going by SKILL.md and its folder, Verify Gates needs the command-line tools its instructions call (bash).

Does Verify Gates access the network?

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.

Is Verify Gates safe to install?

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.

What licence does Verify Gates use?

Verify Gates is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Verify Gates use?

About 653 tokens (SKILL.md is roughly 2.6k 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 873 tokens, read only when the agent opens those files.

What are the alternatives to Verify Gates?

Skills that share tags, products or a category with Verify Gates: Bats Shell Testing Patterns (wshobson/agents, 40k stars), Testing Bash Scripts (agntcy/coffeeAgntcy, 112 stars), Mole Bug Patterns (tw93/Mole, 70k stars) and Papercuts (every-app/open-seo, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Verify Gates?

Arch1eSUN (a GitHub user) maintains it in Arch1eSUN/Arcgentic, which has 286 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 2, 2026.

Source: Arch1eSUN/Arcgentic on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.