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.
npx skills add mahmoud20138/Tradecraft --skill github-actions-triggergit clone --depth 1 https://github.com/mahmoud20138/TradecraftWrote 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.
[](https://agentmods.dev/skills/mahmoud20138/tradecraft/github-actions-trigger)<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.
<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>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.
| Model | Per session | Once 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 |
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, 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)
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.
- 2mo ago First seen · 106 lines · 32 tokens per session scan A 3ee478b5f08e
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.
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…
android-dev
Production-grade Android app development guide covering native (Kotlin/Java), cross-platform (Flutter, RN, KMM), and hybrid architectures.
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.
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".…
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…
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…