github-actions

A GitHub Actions workflow helper for automating tasks such as testing, building, and deploying code on GitHub.

In plain words
What is it for?
Use it to design reusable workflows, secure authentication with OIDC, pin actions to specific commits, review workflow files, and debug failed jobs.
Why use it?
It helps prevent unsafe permissions, exposed secrets, authentication failures, and hard-to-diagnose workflow errors.

Command

Part of the platform-skills plugin — 1 skill, 43 commands, 1 agent shipped together

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.

agentmods
npx agentmods add commands/nitinjain999/platform-skills/github-actions
Clone the repo
git clone --depth 1 https://github.com/nitinjain999/platform-skills

Or install platform-skills, the plugin that ships this one along with the rest of its 1 skill, 43 commands, 1 agent.

Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,243 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00040 $0.03243
Opus 5 $0.00020 $0.01622
Sonnet 5 $0.00008 $0.00649
Haiku 4.5 $0.00004 $0.00324

Measured 3d ago against content hash a664a52913e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-actions 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 3d 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.

TOKEN=$(curl -sSfL -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
commands/github-actions.md · 381 lines

How it starts

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

GitHub Actions Command

Structured guidance for designing, hardening, reviewing, and debugging GitHub Actions workflows.

Activation

/platform-skills:github-actions design    # reusable workflow or job graph design
/platform-skills:github-actions security  # OIDC, SHA pinning, token scoping, secrets hygiene
/platform-skills:github-actions review    # production-readiness checklist for an existing workflow
/platform-skills:github-actions debug     # diagnose a failing workflow or job

Interactive Wizard (fires when no mode is provided)

When invoked with no arguments, ask before proceeding:

Q1 — Mode?

What do you need?
  1. design    — reusable workflow, job graph, promotion pipeline
  2. security  — OIDC federation, SHA pinning, token scoping, secret hygiene
  3. review    — production-readiness checklist for an existing workflow file
  4. debug     — job failure, permission error, OIDC rejection, missing context

Enter 1–4 or mode name:

Q2 — Context (after mode selected):

  • design: Describe what the workflow should do — validate, build, promote, deploy?
  • security: Paste the workflow file or describe the auth pattern you are using.
  • review: Paste the workflow file or provide the path.
  • debug: Paste the error output or describe the failure symptom.

Mode: design

Triggers: design, build workflow, create pipeline, reusable workflow, job graph, promote, deploy flow

Read references/github-actions.md before responding.

Step 1 — Classify the workflow type

Type When to use
Reusable workflow (workflow_call) Same job sequence needed across multiple repos or environments
Composite action Same step sequence needed within job graphs — use /platform-skills:composite-actions
Standard workflow One-off or repo-specific, not shared

Step 2 — Apply the canonical job pattern

Every workflow should follow this job order:

validate → build → [test] → promote → [deploy]

Read the full file on GitHub · 381 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. 3d ago First seen · 381 lines · 40 tokens per session scan A a664a52913e3

Subscribe to this mod's changes

github-actions is a command published in the GitHub repository nitinjain999/platform-skills (40 stars, last pushed 3d ago), licensed Apache-2.0. It adds 40 tokens to every session and 3,243 once invoked, about $0.0002 per session on Opus 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.