**Quick Reference** - Test GitHub Actions workflows locally using nektos/act
From ensemble-gitnpx claudepluginhub fortiumpartners/ensemble --plugin ensemble-gitThis skill uses the workspace's default tool permissions.
REFERENCE.mdscripts/run-act.jstemplates/act-config.yamlDesigns and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Quick Reference - Test GitHub Actions workflows locally using nektos/act
Run GitHub Actions workflows locally before pushing to validate CI/CD pipelines, catch errors early, and reduce iteration time. Uses nektos/act to simulate GitHub Actions runner environment.
.github/workflows/*.yml files locally# Run all workflows (default push event)
act
# Run specific workflow
act -W .github/workflows/test.yml
# Run specific job
act -j build
# Simulate pull request event
act pull_request
# Pass secrets
act -s GITHUB_TOKEN=$GITHUB_TOKEN
# List available workflows and jobs
act -l
# Install act (macOS)
brew install act
# Install act (Linux)
curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
# Docker is required
docker --version # Must be installed and running
# Validate test workflow passes
act -j test --dryrun # Preview what would run
act -j test # Actually run tests
# If successful, push
git push origin feature-branch
# Run with verbose output
act -v
# Use specific runner image
act -P ubuntu-latest=catthehacker/ubuntu:act-latest
# Keep container for debugging
act --reuse
# Run all matrix combinations
act -j build
# Run specific matrix combination
act -j build --matrix os:ubuntu-latest
| GitHub Runner | Act Default | Recommended |
|---|---|---|
ubuntu-latest | node:16-buster-slim | catthehacker/ubuntu:act-latest |
ubuntu-22.04 | node:16-buster-slim | catthehacker/ubuntu:act-22.04 |
ubuntu-20.04 | node:16-buster-slim | catthehacker/ubuntu:act-20.04 |
Pass: Workflow executes successfully locally
Fail: Local execution reveals issues
# .actrc (project root)
-P ubuntu-latest=catthehacker/ubuntu:act-latest
-P ubuntu-22.04=catthehacker/ubuntu:act-22.04
--secret-file .secrets
--env-file .env
# .secrets (gitignored)
GITHUB_TOKEN=ghp_xxxxxxxxxxxx
NPM_TOKEN=npm_xxxxxxxxxxxx
${{ secrets.GITHUB_TOKEN }} requires manual tokenTarget: <2 minutes for typical test workflow
Load: skills/act-local-ci/REFERENCE.md (~20KB)