/all-skills:actfrom all-skills
Tests GitHub Actions workflows locally using act. Useful for debugging workflows, testing changes before pushing, or troubleshooting action failures.
Ships in all-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Activate when testing GitHub Actions workflows locally, debugging workflow issues, or developing actions without committing to remote repositories. This skill covers act installation, configuration, and usage patterns.
Install via mise: mise install act (pinned in the github plugin's mise.toml), then verify with act --version. Homebrew, Linux script, source, and Chocolatey methods: see references/setup-and-config.md.
act reads workflow files from .github/workflows/ and:
Key Concept: act uses Docker to simulate GitHub's runner environment locally.
act requires a running Docker daemon (verify with docker ps) and valid .github/workflows/*.yml files. Details: see references/setup-and-config.md.
# List all workflows
act -l
# Output:
# Stage Job ID Job name Workflow name Workflow file Events
# 0 build build CI ci.yml push,pull_request
# 0 test test CI ci.yml push,pull_request
# Run all jobs triggered by push event
act
# Run specific job
act -j build
# Run specific workflow
act -W .github/workflows/ci.yml
# Pull request event
act pull_request
# Manual workflow dispatch
act workflow_dispatch
# Push to specific branch
act push -e .github/workflows/push-event.json
# Schedule event
act schedule
# Show what would run without executing
act -n
# Show with full details
act -n -v
Custom event JSON and workflow_dispatch input payloads, passed with -e file.json: see references/setup-and-config.md. A worked PR-event example stays under Common Patterns below.
# Single secret
act -s GITHUB_TOKEN=ghp_xxxxx
# Multiple secrets
act -s API_KEY=key123 -s DB_PASSWORD=pass456
Create .secrets file (add to .gitignore):
GITHUB_TOKEN=ghp_xxxxx
API_KEY=key123
DB_PASSWORD=pass456
Run with secrets file:
act --secret-file .secrets
# Use existing env var
act -s GITHUB_TOKEN
# Set from command
export MY_SECRET=value
act -s MY_SECRET
.actrc defaults, custom runner images, and image size trade-offs (medium catthehacker/ubuntu:act-latest recommended over micro): see references/setup-and-config.md.
Create .env file:
NODE_ENV=test
API_URL=http://localhost:3000
LOG_LEVEL=debug
Use with act:
act --env-file .env
act --env NODE_ENV=test --env API_URL=http://localhost:3000
--bind, --reuse, per-platform images, --container-architecture (needed on Apple silicon), networking (--network defaults to host; --container-daemon-socket is the Docker socket URI), and the artifact server: see references/setup-and-config.md.
# Verbose logging
act -v
# Very verbose (debug level)
act -vv
# Watch for file changes and re-run
act --watch
# List act containers
docker ps -a | grep act
# Inspect specific container
docker inspect <container-id>
# View logs
docker logs <container-id>
Missing tools:
steps:
- name: Install missing tool
run: |
if ! command -v tool &> /dev/null; then
apt-get update && apt-get install -y tool
fi
GitHub API calls:
# Use GITHUB_TOKEN from secrets
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh api repos/${{ github.repository }}/issues
# Create PR event payload
cat > pr-event.json << EOF
{
"pull_request": {
"number": 1,
"head": { "ref": "feature" },
"base": { "ref": "main" }
}
}
EOF
# Run PR workflow
act pull_request -e pr-event.json -j test
# Test entire CI pipeline
act push
# Test specific stages
act push -j build
act push -j test
act push -j deploy --secret-file .secrets
# Run matrix strategy locally
act -j test
# Test specific matrix combination (modify workflow temporarily)
act -j test --matrix node-version:24
# 1. List jobs
act -l
# 2. Dry run
act -n -j build
# 3. Run with verbose output
act -v -j build
# 4. Iterate and test
act --reuse -j build
Error: Cannot connect to Docker daemon
# Start Docker
# macOS: Start Docker Desktop
# Linux:
sudo systemctl start docker
Error: Permission denied
# Add user to docker group (Linux)
sudo usermod -aG docker $USER
newgrp docker
Error: Failed to pull image
# Use specific image version
act -P ubuntu-latest=ubuntu:22.04
# Or use act's recommended images
act -P ubuntu-latest=catthehacker/ubuntu:act-latest
Error: No workflows found
# Verify workflow files exist
ls -la .github/workflows/
# Check workflow syntax
act -n -v
Error: Secret not found
# List required secrets from workflow
grep -r "secrets\." .github/workflows/
# Provide via command line
act -s SECRET_NAME=value
# Or use secrets file
act --secret-file .secrets
Error: Action not found or fails
# Ensure action versions are compatible
# Some actions may not work locally
# Use alternative actions if needed
# Or skip problematic steps under act. There is no 'act' event — act passes
# the real event name — so test the ACT env var (per nektos/act docs):
- name: Problematic step
if: ${{ !env.ACT }}
uses: some/action@v1
Error: Command not found
# Use medium-sized images with more tools
act -P ubuntu-latest=catthehacker/ubuntu:act-latest
# Or install tools in workflow
- run: apt-get update && apt-get install -y <tool>
Commit an .actrc so every run gets the same platform image, secrets file, and architecture flags — full example in references/setup-and-config.md.
# act secrets and config
.secrets
.env
# act artifacts
/tmp/artifacts/
act sets the ACT environment variable inside its containers — per nektos/act docs, which give this exact !env.ACT form. The event name is whatever you invoke (act pull_request runs as pull_request; a bare act runs as push), so there is no act event to test for:
steps:
# Skip in local testing
- name: Deploy
if: ${{ !env.ACT }}
run: ./deploy.sh
# Run only in local testing
- name: Local setup
if: ${{ env.ACT }}
run: ./local-setup.sh
# Use reuse flag for faster iterations
act --reuse -j test
# Run specific job being developed
act -j my-new-job -v
# Watch mode for continuous testing
act --watch -j test
# Test before committing
act -j test && git commit -m "message"
# Git hook (.git/hooks/pre-commit)
#!/bin/bash
act -j test --quiet
For quick validation use the dry run (act -n, see Basic Usage). For CI parity, pin the same runner images and secrets structure locally via .actrc — see references/setup-and-config.md.
The plugin includes an installation script at scripts/install-act.nu (nushell). It installs act via mise when available, falling back to Homebrew on macOS, the nektos/act install script on Linux, or Chocolatey on Windows, then verifies the install with act --version.
Run with:
nu scripts/install-act.nu
act --version before documenting version numbersact -l to verify actual workflows before claiming their presencedocker ps to confirm Docker is running before troubleshootingact -n to validate workflow syntax before claiming correctnessact commands to verify behavior before documenting output formatdocker images to verify available images before recommending specific versionsact -v to observe actual error messages before documenting troubleshooting stepsreferences/setup-and-config.md — installation methods, prerequisites, .actrc configuration, runner images, event payloads, and advanced flags (--bind, --reuse, networking, artifact server)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub vinnie357/claude-skills --plugin all-skills2 plugins in one repository ship this exact skill · first indexed Aug 22, 2026
108 skills in this plugin
/accessibilityGuide for implementing web accessibility (WCAG). Use when designing UI components, reviewing interfaces for accessibility, or ensuring compliance with W3C WAI standards./actionsCreate and configure GitHub Actions. Use when building custom actions, setting up runners, implementing security practices, or publishing to the marketplace./agent-loopGeneric epic-to-PR agent workflow (codename Forge) with 4-phase execution, a 6-tier hierarchy, and paired-team fan-out. Use when coordinating any feature delivery, working an issue or epic ("work epic <id>", "work issue <id>", "use Forge on the next bees ready item", "forge <id>"), picking up an epic in a fresh session (decomposing path) or with pre-existing issues (dispatching path), implementing a multi-step task that benefits from plan→test→implement→review phases, asking clarifying questions before decomposing, forming a team and assigning models per tier, or orchestrating multi-agent workflows. Loads on casual feature requests too — not only when the word "epic" appears.Other plugins' skills for the same job