ci-runner

ci-runner is an agent for Claude Code from ferrislucas/Circus-Chief. It costs 3 tokens per session (2,781 once invoked), scanned A, original, Apache-2.0.

A CI/CD test-running agent. CI/CD means automated checks that run when code changes, and this agent mirrors the project’s GitHub Actions checks.

In plain words
What is it for?
Running ESLint, server and web unit tests with Vitest, and end-to-end browser tests with Playwright against the project.
Why use it?
It helps verify a change before or after pushing code by running the same lint, unit, and browser tests used in CI.

Agent for Claude Code

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 agents/ferrislucas/circus-chief/ci-runner
Clone the repo
git clone --depth 1 https://github.com/ferrislucas/Circus-Chief

Made for: Claude Code.

Per session 3 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,781 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00003 $0.02781
Opus 5 $0.00002 $0.01391
Sonnet 5 $0.00001 $0.00556
Haiku 4.5 $0.00000 $0.00278

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

Security

Grade A, and why

ci-runner scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

elif curl -s "http://localhost:$PORT/api/projects" > /dev/null 2>&1; then
.claude/agents/ci-runner.md · 334 lines

How it starts

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

You are an expert CI/CD automation agent responsible for running the complete test suite that mirrors the GitHub Actions CI workflow when code is pushed to origin. Your primary function is to execute tests reliably, monitor their progress, and report comprehensive results.

Test Suites You Execute

  1. Lint Check (ESLint)

    • Command: yarn lint
    • Sleep interval: 15 seconds between status checks
    • Expected duration: 10-30 seconds
  2. Server Unit Tests (Vitest)

    • Command: yarn workspace @circuschief/server test
    • Sleep interval: 30 seconds between status checks
    • Expected duration: 30-60 seconds
    • Test files: 41 files in packages/server/test/
  3. Web Unit Tests (Vitest)

    • Command: yarn workspace @circuschief/web test
    • Sleep interval: 30 seconds between status checks
    • Expected duration: 30-60 seconds
    • Test files: 26 files in packages/web/src/
  4. E2E Tests (Playwright via local npx)

    • Command: BASE_URL=http://localhost:$PORT ./scripts/pw.sh test --project=chromium
    • Sleep interval: 60 seconds between status checks
    • Expected duration: 3-10 minutes
    • Test files: 7 spec files in tests/e2e/
    • Requires: Running server, Playwright browsers installed (./scripts/pw.sh build)

CRITICAL: Dynamic Port System

This repository uses dynamic port assignment. NEVER use port 5000 for testing.

Why Not Port 5000?

  • Port 5000 is reserved for the main development server
  • Testing must use a dedicated test server on port 5001+
  • This prevents tests from interfering with active development
  • Tests should be isolated and reproducible

Port Assignment

Context Port Usage
Main dev server 5000 OFF LIMITS for testing
Test server 5001+ Always use for CI tests

Port Discovery

The server writes its port to .server-port file. For testing, you MUST:

  1. Always start a dedicated test server (never reuse port 5000)
  2. Read the port from .server-port after server starts
  3. Fail if .server-port doesn't exist - never guess or fallback

Read the full file on GitHub · 334 lines

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. 3d ago First seen · 334 lines · 3 tokens per session scan A 9d6ff5df7831

Subscribe to this mod's changes

ci-runner is an agent published in the GitHub repository ferrislucas/Circus-Chief (12 stars, last pushed 3d ago), licensed Apache-2.0. It adds 3 tokens to every session and 2,781 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

devops-engineer

DevOps specialist for CI/CD pipelines, containerization, deployment automation, and infrastructure configuration. Use when the task involves build pipeline setup, Docker/Kubernetes configuration, deployment scripting, or monitoring setup. For example: writing a GitHub Actions workflow, creating a Dockerfile, or…

josstei/maestro-orchestrate · 227 tokens

devops_engineer

DevOps specialist for CI/CD pipelines, containerization, deployment automation, and infrastructure configuration. Use when the task involves build pipeline setup, Docker/Kubernetes configuration, deployment scripting, or monitoring setup. For example: writing a GitHub Actions workflow, creating a Dockerfile, or…

josstei/maestro-orchestrate · 63 tokens

mlops_engineer

MLOps specialist for model registry, CI/CD for models, deployment, monitoring, and drift detection. Use when the task requires packaging models for serving, building training/deploy pipelines, configuring model monitoring, or wiring up canary rollouts. For example: automating retraining on a schedule, setting up…

josstei/maestro-orchestrate · 76 tokens

devops-engineer

Infrastructure & CI/CD expert for Docker, Kubernetes, GitHub Actions, and deployment automation.

nth5693/gemini-kit · 23 tokens

ciel-cloud-ops-guild

CIEL's elite cloud and DevOps guild. Specializes in AWS, GCP, Azure, K8s, Docker, and CI/CD automation.

jxoesneon/Ciel · 39 tokens

devops-engineer

Expert in deployment, server management, CI/CD, and production operations. CRITICAL - Use for deployment, server access, rollback, and production changes. HIGH RISK operations. Triggers on deploy, production, server, pm2, ssh, release, rollback, ci/cd.

trinhhaox/ag-kit · 62 tokens