Agent skill

Running Tests

by ZaxbyHub in ZaxbyHub/opencode-swarm

Codex adapter for safely executing opencode-swarm tests. An agent skill from ZaxbyHub/opencode-swarm.

MITAuto-check passed

Install Running Tests

skills CLI
$ npx skills add ZaxbyHub/opencode-swarm --skill running-tests -a claude-code

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

GitHub CLI
$ gh skill install ZaxbyHub/opencode-swarm running-tests --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/ZaxbyHub/opencode-swarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/running-tests .claude/skills/running-tests && 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
running-tests
GitHub stars
494
Token cost
~306 tokens
SKILL.md length
130 words
Files
2
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Codex adapter for safely executing opencode-swarm tests. An agent skill from ZaxbyHub/opencode-swarm.

  • Works in 2 steps: AGENTS.md → .opencode/skills/running-tests/SKILL.md
  • Codex needs to run focused tests
  • Calls bun
  • Per-file isolation loops

What it does

Running Tests is an agent skill from ZaxbyHub/opencode-swarm. Codex adapter for safely executing opencode-swarm tests. Use whenever Codex needs to run focused tests, per-file isolation loops, CI-equivalent validation, test-impact checks, or diagnose failing/truncated test output without stalling the session.

Its SKILL.md is about 310 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

The repository describes itself as: Architect-centric agentic swarm plugin for OpenCode. Hub-and-spoke orchestration with SME consultation, code generation, and QA review. The licence is MIT.

When your agent uses it

  • Codex needs to run focused tests
  • Per-file isolation loops
  • CI-equivalent validation
  • Test-impact checks

Example prompts

  • “/running-tests”

Workflow steps

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

  1. AGENTS.md
  2. .opencode/skills/running-tests/SKILL.md

What it can do on your machine

Read from SKILL.md and the folder at commit b63a4bd. 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:

    • bun

    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

Running Tests loads about 306 tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 130 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~306

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 ZaxbyHub/opencode-swarm at commit b63a4bd, republished under its MIT licence (© ZaxbyHub). 130 words, ~306 tokens.

Download SKILL.mdSave it as .claude/skills/running-tests/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
running-tests
description
Codex adapter for safely executing opencode-swarm tests. Use whenever Codex needs to run focused tests, per-file isolation loops, CI-equivalent validation, test-impact checks, or diagnose failing/truncated test output without stalling the session.
audience
swarm-plugin

Running Tests

Use this adapter when executing tests in opencode-swarm. For writing tests, load $writing-tests instead.

Read, in order:

  1. AGENTS.md
  2. .opencode/skills/running-tests/SKILL.md

Codex-specific execution notes:

  • Use the available shell execution tool for bun --smol test and PowerShell/bash loops.
  • Prefer rg and repo scripts to rediscover exact commands from source.
  • Capture long output to a temp file when needed and report the important tail or failure lines.
  • Do not use broad OpenCode test_runner scopes for repo validation.
  • On Windows, if Bun reports EPERM after a forced dependency refresh, rerun the same focused command with approved/elevated access before treating it as a test failure.

Default rule: one source file or one explicit test file can be targeted narrowly; multiple files or directories should use shell loops or the documented tier commands.

© ZaxbyHub, 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 in .agents/skills/running-tests of ZaxbyHub/opencode-swarm.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit b63a4bd

Compare with similar skills

Running Tests 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.

Running Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Running Tests this skillZaxbyHub/opencode-swarm494—~306Automated safety check: PassMIT
Safe SQL Executionsupabase/supabase111k—~4.2kAutomated safety check: PassApache-2.0
Safe Script ExecutionHKUDS/OpenSpace7.8k—~830Automated safety check: PassMIT
Executealirezarezvani/claude-skills28k—~831Automated safety check: PassMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
Agent Swarmruvnet/ruflo74k2 repos~891Automated safety check: PassMIT

Similar skills

  • Safe SQL Execution

    supabase/supabase

    Official

    A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…

    111k GitHub stars~4.2k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Safe Script Execution

    HKUDS/OpenSpace

    Fallback workflow for code execution when automated tools fail, using shell heredoc with verification

    7.8k GitHub stars~830 tokensUpdated 1 mo ago
    Auto-check passed
  • Execute

    alirezarezvani/claude-skills

    /cs:execute <decision — Generate a 90-day execution plan with weekly milestones, DRIs, and check-in cadence from an approved decision.

    28k GitHub stars~831 tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Agent Swarm

    ruvnet/ruflo

    Agent skill for swarm - invoke with $agent-swarm. An agent skill from ruvnet/ruflo.

    74k GitHub starsUsed in 2 repos~891 tokens
    Agent WorkflowsAuto-check passed
  • Swarm Init

    ruvnet/ruflo

    Initialize a multi-agent swarm with anti-drift configuration.

    74k GitHub stars~319 tokensUpdated yesterday
    SecurityAuto-check passed

More from ZaxbyHub/opencode-swarm

All 91 skills in this repo
  • Codebase Review Swarm

    ZaxbyHub/opencode-swarm

    Runs an evidence-gated, quote-grounded audit of a codebase for security, QA, accessibility, performance and more, and writes a verified report without changing source files.

    496 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Issue Tracer

    ZaxbyHub/opencode-swarm

    Drives a bug report from validation and root-cause tracing through a critic-reviewed plan, an approved minimal fix and a PR-ready closure, never merging without recorded human approval.

    496 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Commit and PR Publishing for Codex

    ZaxbyHub/opencode-swarm

    Codex adapter for opencode-swarm that governs commits, pushes, draft PRs, PR body updates and CI closeout, deferring to the repo's canonical commit-pr protocol.

    496 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Durable Session State

    ZaxbyHub/opencode-swarm

    Keeps plans, decisions, evidence and reviewer verdicts in small files so long multi-phase tasks survive context compaction and session resumes.

    496 GitHub stars~896 tokensUpdated today
    Auto-check passed
  • Swarm PR Feedback Closer

    ZaxbyHub/opencode-swarm

    Ingests existing pull request feedback such as review comments and CI failures, verifies each claim, fixes confirmed issues and reports closure status for every item.

    496 GitHub stars~14k tokensUpdated today
    Auto-check passed
  • Swarm PR Subscribe

    ZaxbyHub/opencode-swarm

    Monitor a pull request after creation and act autonomously on pushed PR activity.

    496 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Questions about Running Tests

What does Running Tests do?

Codex adapter for safely executing opencode-swarm tests. An agent skill from ZaxbyHub/opencode-swarm. Running Tests is an agent skill from ZaxbyHub/opencode-swarm. Codex adapter for safely executing opencode-swarm tests.

When should I use Running Tests?

Running Tests fits situations like: Codex needs to run focused tests; per-file isolation loops; CI-equivalent validation; test-impact checks.

How do I install Running Tests in Claude Code?

Run `npx skills add ZaxbyHub/opencode-swarm --skill running-tests -a claude-code`. Or copy the skill folder (.agents/skills/running-tests in ZaxbyHub/opencode-swarm) into .claude/skills/running-tests in your project. Claude Code loads it when a task matches its description.

How do I install Running Tests in Codex?

Run `npx skills add ZaxbyHub/opencode-swarm --skill running-tests -a codex`. Or copy the skill folder (.agents/skills/running-tests in ZaxbyHub/opencode-swarm) into .agents/skills/running-tests in your project. Codex loads it when a task matches its description.

Can I use Running Tests 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 ZaxbyHub/opencode-swarm --skill running-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/running-tests, .gemini/skills/running-tests, .github/skills/running-tests and .opencode/skills/running-tests in your project.

What does Running Tests need to run?

Going by SKILL.md and its folder, Running Tests needs the command-line tools its instructions call (bun).

Does Running Tests 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 Running Tests 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 Running Tests use?

Running Tests 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 Running Tests use?

About 306 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Running Tests?

Skills that share tags, products or a category with Running Tests: Safe SQL Execution (supabase/supabase, 111k stars), Safe Script Execution (HKUDS/OpenSpace, 7.8k stars), Execute (alirezarezvani/claude-skills, 28k stars) and Debugging Executions (n8n-io/n8n, 207k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Running Tests?

ZaxbyHub (a GitHub organization) maintains it in ZaxbyHub/opencode-swarm, which has 494 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 10, 2026.

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