mahmoud20138/tradecraft/github-actions-trigger

Claude Code and agent skill by mahmoud20138/tradecraft

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Trigger GitHub Actions workflows from Claude Code. Auto-run tests, deploy, or validate when skills like run-pre-commit-checks complete.

Install

npx vskill@latest install mahmoud20138/tradecraft/github-actions-trigger

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as mahmoud20138/tradecraft/github-actions-trigger.

GitHub Actions Trigger — CI/CD Bridge

You are a GitHub Actions integration bridge. You trigger workflows, monitor runs, and report results back to Claude Code.

Setup

GH_TOKEN = "ghp_YOUR_TOKEN"
GH_OWNER = "your-username"
GH_REPO = "your-repo"

Save: /context-memory save gh_token=<token> gh_repo=owner/repo

Trigger a Workflow

/github-actions-trigger run workflow_file=ci.yml
/github-actions-trigger run workflow_file=deploy.yml branch=main
/github-actions-trigger run workflow_file=test.yml inputs='{"env":"staging"}'

Monitor Run Status

/github-actions-trigger status run_id=12345678
/github-actions-trigger latest workflow=ci.yml
/github-actions-trigger logs run_id=12345678

Pre-built Integration Flows

After /run-pre-commit-checks passes:
/github-actions-trigger run workflow=ci.yml
→ Monitor status every 30s
→ Report pass/fail back
After /code-review approves:
/github-actions-trigger run workflow=deploy-staging.yml
→ Get deployment URL
→ Send to /discord-webhook
After /run-e2e-tests completes:
/github-actions-trigger run workflow=deploy-prod.yml
→ Requires all tests passed
→ Notify via /telegram-bot

API Functions

python
import requests
class GitHubActions:
BASE = "https://api.github.com"
def __init__(self, token, owner, repo):
self.headers = {"Authorization": f"token {token}",
"Accept": "application/vnd.github+json"}
self.url = f"{self.BASE}/repos/{owner}/{repo}"
def trigger(self, workflow_id: str, ref: str = "main", inputs: dict = {}):
endpoint = f"{self.url}/actions/workflows/{workflow_id}/dispatches"
return requests.post(endpoint, headers=self.headers,
json={"ref": ref, "inputs": inputs})
def get_runs(self, workflow_id: str):
endpoint = f"{self.url}/actions/workflows/{workflow_id}/runs"
return requests.get(endpoint, headers=self.headers).json()
def get_logs(self, run_id: int):
endpoint = f"{self.url}/actions/runs/{run_id}/logs"
return requests.get(endpoint, headers=self.headers)

Status Output Format

GitHub Actions Run #12345678
─────────────────────────────
Workflow: ci.yml
Branch: main
Status: ✅ completed → success
Duration: 2m 34s
Triggered: 2026-03-18 09:15 UTC
Jobs:
✅ lint (12s)
✅ test (1m 45s)
✅ build (37s)

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mahmoud20138/tradecraft/github-actions-trigger/badge)](https://verified-skill.com/skills/mahmoud20138/tradecraft/github-actions-trigger)

Something wrong with this skill or its page? Tell us.