workflow-audit

A checklist and process for reviewing GitHub Actions workflow files. GitHub Actions is GitHub's system for running automated builds, tests, deployments, and other jobs.

In plain words
What is it for?
Use it to validate workflow YAML, inspect action versions, review security hardening, check unattended operation, diagnose CI failures, and receive concrete fixes for findings.
Why use it?
It finds correctness, security, and reliability problems before workflows are committed or after they fail. It checks both individual files and consistency across workflows.

Skill for Claude CodeCodex

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 skills/xiaolai/vmark/workflow-audit
Any agent
npx skills add xiaolai/vmark --skill workflow-audit
Clone the repo
git clone --depth 1 https://github.com/xiaolai/vmark

Made for: Claude Code, Codex.

Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,477 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00039 $0.02477
Opus 5 $0.00019 $0.01239
Sonnet 5 $0.00008 $0.00495
Haiku 4.5 $0.00004 $0.00248

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

Security

Grade A, and why

workflow-audit scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/workflow-audit/SKILL.md · 203 lines

How it starts

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

Workflow Audit

Comprehensive audit of .github/workflows/*.yml files against GitHub Actions best practices, security hardening guidelines, and project conventions.

When to Use

  • User asks to audit, review, or check workflows
  • Before committing changes to any workflow file
  • After a workflow failure that needs root-cause analysis
  • Periodic health check (e.g., monthly)

Workflow

  1. Discover — Glob .github/workflows/*.yml and list all workflow files.
  2. Parse — Read each file; validate YAML syntax.
  3. Audit — Run every check in the checklist below against each file.
  4. Cross-check — Run cross-workflow consistency checks.
  5. Report — Output a findings table sorted by severity (critical > high > medium > low).
  6. Fix offer — For each finding, suggest a concrete fix (diff or instruction).

Audit Checklist

1. YAML Validity

  • File parses as valid YAML.
  • No duplicate keys at the same level.
  • No tabs (GitHub Actions requires spaces).

2. Action Version Currency

Check every uses: line.

Pattern Severity Rule
actions/checkout@v4 or lower critical Upgrade to @v6. Node.js 20 actions break June 2, 2026 (forced to Node 24).
actions/setup-node@v4 or lower critical Same — upgrade to @v6.
actions/cache@v3 or lower high Upgrade to @v4.
pnpm/action-setup@v3 or lower high Upgrade to @v4.
softprops/action-gh-release@v1 medium Upgrade to @v2.
actions/upload-pages-artifact@v2 or lower medium Upgrade to @v3.
actions/deploy-pages@v3 or lower medium Upgrade to @v4.
Any @main or @master pin high Pin to a tag or SHA — mutable refs are a supply-chain risk.

Node.js deprecation timeline (reference for findings):

  • June 2, 2026: Node 24 becomes default (FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true to opt in early).
  • Fall 2026: Node 20 removed entirely from runners.
  • Temporary opt-out after June 2: ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true (stops working fall 2026).

Read the full file on GitHub · 203 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. 2d ago First seen · 203 lines · 39 tokens per session scan A 9862b8f81a60

Subscribe to this mod's changes

workflow-audit is a skill published in the GitHub repository xiaolai/vmark (544 stars, last pushed 2d ago), licensed ISC. It adds 39 tokens to every session and 2,477 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.