Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

act

$ act Community Med Risk
nektos · Code & DevOps · MIT · macos / linux / windows

Executes .github/workflows/*.yml jobs locally inside Docker containers so developers and agents can debug GitHub Actions without pushing test commits. Supports act --list, act -n (--dryrun), and --json structured logs.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install act
CLI vs MCP Decision CLI Only

Runs local Docker containers directly from .github/workflows/; cannot be replaced by MCP.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Supports act --list, -n (--dryrun), --json log mode, and explicit -j <job> targeting.

  • act --list and act -n inspect workflows without Docker execution
  • act --json streams JSON log events
Trust & Safety 20 / 25

Dry-run mode and container isolation limit host impact, though workflows with GITHUB_TOKEN or bind mounts can touch workspace files.

  • act -n avoids starting containers
  • Runs workflow steps inside local Docker containers
Setup & Portability 13 / 15

Single Go binary, though live execution requires a Docker daemon and runner image downloads.

  • Cross-platform binary; live runs depend on Docker
Utility & Efficiency 13 / 15

Saves countless push-wait-fail GitHub Actions cycles by reproducing CI jobs locally.

  • Tight local feedback loop for .github/workflows/ debugging
Maintenance & Lineage 9 / 10

Popular MIT project maintained by nektos contributors.

  • Active nektos/act repository
Docs & Verifiability 8 / 10

Clear documentation at nektosact.com covering flags, runner images, and limitations.

  • Official guide at nektosact.com

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

Passes optional secrets via --secret-file or env vars (GITHUB_TOKEN) into local containers without persisting global credentials.

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source Go binary; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# nektos/act Agent Rules
- Run `act --list` and `act -n` before executing full Docker workflow containers.
- Target a specific job (`act -j <job>`) rather than running an entire multi-job matrix.
- Never pass production deployment secrets into local `act` runs.

Agent-Ready Command Recipes

Safe Read-Only Queries

List GitHub Actions jobs and triggers
act --list

Prints a table of jobs, stages, and workflow files parsed from .github/workflows/.

Dry-run a workflow job
act -n -j test

Simulates running the test job (--dryrun) without starting Docker containers.

Controlled Writes & Previews

Run a job locally with JSON log output
act -j test --json

Executes the test job inside a local Docker runner and emits structured JSON log events.

Strengths for Agents

  • + act --list and act -n inspect GitHub Actions workflows without container overhead.
  • + --json log mode produces structured step output for automated triage.
  • + Eliminates slow push-to-GitHub CI debugging loops.

Caveats & Pitfalls

  • ! Live job execution requires Docker and multi-hundred-MB runner images.
  • ! Some GitHub-hosted runner services or OIDC tokens differ from real GitHub Actions.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI