github-actions-trigger

github-actions-trigger is a skill for Claude Code from mahmoud20138/Tradecraft. It costs 32 tokens per session (698 once invoked), scanned A, original, MIT.

A bridge between Claude Code and GitHub Actions, GitHub's service for running automated workflows such as tests and deployments.

In plain words
What is it for?
Use it to trigger workflows, check recent or specific runs, read logs, and connect successful checks to testing or deployment steps.
Why use it?
It lets you start workflows and follow their results without manually opening GitHub each time.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the tradecraft plugin — 58 skills shipped together

Good fit Use it to trigger workflows, check recent or specific runs, read logs, and connect successful checks to testing or deployment steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mahmoud20138/tradecraft/github-actions-trigger
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mahmoud20138/Tradecraft --skill github-actions-trigger
Clone the repo
git clone --depth 1 https://github.com/mahmoud20138/Tradecraft

Made for: Claude Code.

Or install tradecraft, the plugin that ships this one along with the rest of its 58 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-actions-trigger

README.md
[![agentmods](https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/github-actions-trigger/github.svg)](https://agentmods.dev/skills/mahmoud20138/tradecraft/github-actions-trigger)
Your own site
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/github-actions-trigger"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/github-actions-trigger/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-actions-trigger

Your own site · 80×15
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/github-actions-trigger"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/github-actions-trigger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00698
Opus 5.5 $0.00013 $0.00279
Sonnet 5.5 $0.00006 $0.00140
Haiku 4.5 $0.00003 $0.00070

Measured 2mo ago against content hash 3ee478b5f08e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-actions-trigger scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

return requests.post(endpoint, headers=self.headers,
plugins/tradecraft/skills/github-actions-trigger/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

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)

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 106 lines · 32 tokens per session scan A 3ee478b5f08e

Subscribe to this mod's changes

github-actions-trigger is a skill published in the GitHub repository mahmoud20138/Tradecraft (17 stars, last pushed 6mo ago), licensed MIT. It adds 32 tokens to every session and 698 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

schedule-recipe

Turn 'run this every Friday at 4pm' into a working, copy-paste schedule on the user's actual runner. Use when asked to schedule a recurring AI task, set up a routine or cron job for a skill, automate a weekly report, or wire a skill into n8n or GitHub Actions. Produces the exact setup for the chosen runner plus the…

mohitagw15856/pm-claude-skills · 94 tokens

android-dev

Production-grade Android app development guide covering native (Kotlin/Java), cross-platform (Flutter, RN, KMM), and hybrid architectures.

lingxling/awesome-skills-cn · 31 tokens

datarobot-app-framework-cicd

Guidance for setting up CI/CD pipelines for DataRobot application templates using GitLab, GitHub Actions, and Pulumi for infrastructure as code. Use when setting up CI/CD pipelines, configuring deployments, or managing infrastructure for DataRobot application templates.

datarobot-oss/datarobot-agent-skills · 58 tokens

supply-chain

Use when assessing dependency and build-pipeline risk. Covers dependency vetting, lockfiles, SBOMs, provenance and signing, pinning CI actions, and responding to a compromised package. Trigger on "is this package safe to add", "npm audit shows vulnerabilities", "pin our github actions", "a dependency was compromised".…

nimadorostkar/Claude-Skills-collection · 94 tokens

ci-cd

Use when building or fixing a delivery pipeline. Covers pipeline structure, caching, test parallelization, deployment strategies, secrets, and making the pipeline fast enough that people do not route around it. Trigger on "our ci takes 40 minutes", "flaky pipeline keeps failing", "set up github actions to deploy". Do…

nimadorostkar/Claude-Skills-collection · 97 tokens

mobile-release

Use when preparing a mobile app for release. Covers versioning, signing, staged rollout, crash monitoring, store review requirements, and rollback when an update goes wrong. Trigger on "ready to submit to the app store", "app got rejected in review", "crash rate spiked after the update", "set up a staged rollout". Do…

nimadorostkar/Claude-Skills-collection · 87 tokens