Bats Shell Testing Patterns
wshobson/agents
Writes unit tests for shell scripts with Bats: error-condition tests, fixtures and mocks, cross-shell checks, parallel runs, helper files and CI integration.
Runs the mechanical quality gates that the arcgentic state machine requires for state transitions.
$ npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Arch1eSUN/Arcgentic verify-gates --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "verify-gates" agent skill from https://github.com/Arch1eSUN/Arcgentic/tree/main/skills/verify-gates into .claude/skills/verify-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verify-gates", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Arch1eSUN/Arcgentic/tree/main/skills/verify-gatesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Arch1eSUN/Arcgentic verify-gates --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Arch1eSUN/Arcgentic.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/verify-gates .agents/skills/verify-gates && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "verify-gates" agent skill from https://github.com/Arch1eSUN/Arcgentic/tree/main/skills/verify-gates into .agents/skills/verify-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verify-gates", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Arch1eSUN/Arcgentic verify-gates --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Arch1eSUN/Arcgentic.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/verify-gates .cursor/skills/verify-gates && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "verify-gates" agent skill from https://github.com/Arch1eSUN/Arcgentic/tree/main/skills/verify-gates into .cursor/skills/verify-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verify-gates", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Arch1eSUN/Arcgentic.git --path skills/verify-gates--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Arch1eSUN/Arcgentic verify-gates --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Arch1eSUN/Arcgentic.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/verify-gates .gemini/skills/verify-gates && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "verify-gates" agent skill from https://github.com/Arch1eSUN/Arcgentic/tree/main/skills/verify-gates into .gemini/skills/verify-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verify-gates", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Arch1eSUN/Arcgentic verify-gatesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Arch1eSUN/Arcgentic.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/verify-gates .github/skills/verify-gates && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "verify-gates" agent skill from https://github.com/Arch1eSUN/Arcgentic/tree/main/skills/verify-gates into .github/skills/verify-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verify-gates", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Arch1eSUN/Arcgentic --skill verify-gates -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Arch1eSUN/Arcgentic verify-gates --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Arch1eSUN/Arcgentic.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/verify-gates .opencode/skills/verify-gates && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "verify-gates" agent skill from https://github.com/Arch1eSUN/Arcgentic/tree/main/skills/verify-gates into .opencode/skills/verify-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verify-gates", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
verify-gatesRuns 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. 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.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 8539955. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
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.
The full file from Arch1eSUN/Arcgentic at commit 8539955, republished under its MIT licence (© Arch1eSUN). 249 words, ~653 tokens.
.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.arcgentic's state machine has 4 gates (MVP):
| Gate | Transition | Verifies |
|---|---|---|
handoff-doc-gate.sh | planning → awaiting_dev_start | handoff doc exists + has all required sections |
round-commit-chain-gate.sh | dev_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 → passed | needs_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.
references/gate-script-catalog.md shows the gate-script shapeEvery gate script:
--state-file PATH as its only argumentThis 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.
bash $PLUGIN_ROOT/scripts/gates/handoff-doc-gate.sh \
--state-file <project>/.agentic-rounds/state.yaml
echo "exit: $?"<project>/.agentic-rounds/gates/your-gate.sh following the contract abovestates.<source-state>.gate to your-gate.shtransition.sh --gates-dir <project>/.agentic-rounds/gates ... (override built-in gates dir)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
SKILL.md and 1 other file (references) in skills/verify-gates of Arch1eSUN/Arcgentic.
Open the folder on GitHubat commit 8539955
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Verify Gates this skillArch1eSUN/Arcgentic | 286 | — | ~653 | Automated safety check: Pass | MIT | |
| Bats Shell Testing Patternswshobson/agents | 40k | 12 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Testing Bash Scriptsagntcy/coffeeAgntcy | 112 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Mole Bug Patternstw93/Mole | 70k | — | ~2k | Automated safety check: Pass | GPL-3.0 | |
| Papercutsevery-app/open-seo | 23k | 1 repos | ~1.2k | Automated safety check: Pass | MIT | |
| CLI DeveloperJeffallan/claude-skills | 12k | 1 repos | ~1.2k | Automated safety check: Pass | MIT |
wshobson/agents
Writes unit tests for shell scripts with Bats: error-condition tests, fixtures and mocks, cross-shell checks, parallel runs, helper files and CI integration.
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.
tw93/Mole
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.
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…
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.
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.
Arch1eSUN/Arcgentic
External-audit role for arcgentic rounds. An agent skill from Arch1eSUN/Arcgentic.
Arch1eSUN/Arcgentic
Main-session orchestrator for arcgentic rounds. An agent skill from Arch1eSUN/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…
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.
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.
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.
Works with
Categories
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.
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.
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.
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.
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.
Going by SKILL.md and its folder, Verify Gates needs the command-line tools its instructions call (bash).
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.
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.
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.
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.
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.
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.