/act
Execute GitHub Actions locally using act
$ npx -y skills add davila7/claude-code-templates --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/act
Context preview
What this command does when you run it.
Execute GitHub Actions locally using act
Command definition
act.mdallowed-tools: Read, Edit, Bash argument-hint: [workflow-name] description: Execute GitHub Actions locally using act
Act - GitHub Actions Local Execution
Execute GitHub Actions workflows locally using act: $ARGUMENTS
Current Workflows
- Available workflows: !`find .github/workflows -name "*.yml" -o -name "*.yaml" | head -10`
- Act configuration: @.actrc (if exists)
- Docker status: !`docker --version`
Task
Execute GitHub Actions workflow locally:
1. **Setup Verification**
- Ensure act is installed: `act --version`
- Verify Docker is running
- Check available workflows in `.github/workflows/`
2. **Workflow Selection**
- If workflow specified: Run specific workflow `$ARGUMENTS`
- If no workflow: List all available workflows
- Check workflow triggers and events
3. **Local Execution**
- Run workflow with appropriate flags
- Use secrets from `.env` or `.secrets`
- Handle platform-specific runners
- Monitor execution and logs
4. **Debugging Support**
- Use `--verbose` for detailed output
- Use `--dry-run` for testing
- Use `--list` to show available actions
Example Commands
# List all workflows act --list # Run specific workflow act workflow_dispatch -W .github/workflows/$ARGUMENTS.yml # Run with secrets act --secret-file .env # Debug mode act --verbose --dry-run
Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Other commands on claude-code-templates.
- /cleanup-cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Open command - /create-blog-article
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image
Open command - /lint
Run Python code linting and formatting tools.
Open command - /test
Run Python tests with pytest, unittest, or other testing frameworks.
Open command - /worktree-check
Check current worktree status, branch, and assigned task
Open command - /worktree-cleanup
Clean up merged worktrees and their branches
Open command

