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 Morningstar202604/awesome-skillkit --skill github-actions-advancedgit clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitWrote 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/morningstar202604/awesome-skillkit/github-actions-advanced)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/github-actions-advanced"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/github-actions-advanced/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/morningstar202604/awesome-skillkit/github-actions-advanced"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/github-actions-advanced.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.00068 | $0.01043 |
| Opus 5.5 | $0.00027 | $0.00417 |
| Sonnet 5.5 | $0.00014 | $0.00209 |
| Haiku 4.5 | $0.00007 | $0.00104 |
Grade A, and why
github-actions-advanced 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub Actions 高级实践
本 skill 面向 fullstack-ci-cd-engineer,产出安全、快、可复用的流水线。
何时使用
- 新建 CI(lint/test/build)或 CD(部署到 K8s/云);
- 现有 workflow 慢、密钥硬编码、权限过宽;
- 需要 OIDC 免长期密钥、跨仓库复用 workflow、矩阵多版本测试。
核心原则
- 最小权限:
permissions默认设为read-all,按需提升;不用write-all。 - OIDC 替代长期密钥:用云厂商 OIDC role,不在 repo 存 AK/SK。
- Pin action 到 SHA:第三方 action 固定 commit SHA,不用
@main。 - 缓存依赖:pnpm/npm/pip/docker layer 都缓存,缩短流水线。
- 环境保护:生产部署走 environment + 审批人。
OIDC 部署到云(示例:AWS)
permissions:
id-token: write # 换取 OIDC token
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::123456789012:role/gha-deploy
aws-region: ap-northeast-1
- run: terraform apply -auto-approve
缓存与矩阵
strategy:
fail-fast: false
matrix:
node: [20, 22]
steps:
- uses: actions/setup-node@v4
with: { node-version: "${{ matrix.node }}", cache: 'pnpm' }
- run: pnpm ci
- run: pnpm test
Reusable Workflow
- 公共逻辑抽
.github/workflows/reusable-*.yml,workflow_call:声明 inputs/secrets。 - 业务 workflow 用
uses: org/.github/.github/workflows/reusable-test.yml@<sha>调用。 - 复用后只在一处改 lint/test 规则,避免每个仓库复制粘贴。
清单(交付前逐项过)
- 每个 job 显式声明
permissions,未用到的不授予。 - 云认证走 OIDC,仓库/环境 secrets 无长期 AK/SK。
- 第三方 action 全部 pin 到 SHA(
{sha}-#vX.Y.Z)。 - 依赖缓存命中(actions/setup-node cache、actions/cache)。
- 生产部署绑定 environment + 必需审批人。
- 敏感输出不打日志(
echo::add-mask::或 secrets 自动掩码)。 - 矩阵
fail-fast: false,单版本失败不中断全部。 - workflow_dispatch 手动触发的参数有默认值与校验。
- 超时
timeout-minutes已设,防挂死 Runner。
易错点
permissions: write-all全局开:任意 PR 都能写仓库,被投毒后可直接改代码投供应链;按 job 收紧。- ** Pull request 事件跑部署**:外部 PR 能触发生产部署,部署 job 必须限定
maintag + environment 审批。 - action 用
@main:上游仓库被劫持即供应链攻击,必须 pin SHA。 - 缓存 key 不锁 lockfile:
pnpm-lock.yaml变了却命中旧缓存,导致测试与本地不一致;key 里拼 lockfile hash。 - secrets 传到第三方 action:
secrets: inherit会把所有密钥外传,只传必需的。 - 忘记
timeout-minutes:卡死的 job 一直占 Runner、烧配额。 pull_requestvspush分支保护混乱:tag 构建漏跑,发布流水线和 CI 分开写清楚触发条件。
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 · 79 lines · 68 tokens per session scan A 52afdf1e6116
github-actions-advanced is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,043 once invoked, about $0.0003 per session on Opus 5.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-09-27.
github-actions-advanced compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| github-actions-advancedMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| terraformRightNow-AI/openfang | Skill | 18k | 5mo ago | Apache-2.0 | A | 16 | Claude Code, Codex |
| shipping-and-launchnaimkatiman/continuous-improvement | Skill | 11 | 3d ago | MIT | A | 45 | Claude Code |
| devops-hand-skilllibrefang/librefang-registry | Skill | 11 | 2mo ago | MIT | A | 29 | Claude Code, Codex |
| terraformlibrefang/librefang-registry | Skill | 11 | 2mo ago | MIT | A | 16 | Claude Code, Codex |
| enterprise-agent-opsmajiang213/OpenClaw-MAS | Skill | 5 | 7mo ago | MIT | A | 21 | Claude Code, Codex |
| stripe-projectsNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 15 | Claude Code, Codex |