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 chf3198/copilot-governance --skill github-actions-security-hardeninggit clone --depth 1 https://github.com/chf3198/copilot-governanceWrote 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/chf3198/copilot-governance/github-actions-security-hardening)<a href="https://agentmods.dev/skills/chf3198/copilot-governance/github-actions-security-hardening"><img src="https://agentmods.dev/badge/skills/chf3198/copilot-governance/github-actions-security-hardening/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/chf3198/copilot-governance/github-actions-security-hardening"><img src="https://agentmods.dev/badge/skills/chf3198/copilot-governance/github-actions-security-hardening.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.00033 | $0.00604 |
| Opus 5.5 | $0.00013 | $0.00242 |
| Sonnet 5.5 | $0.00007 | $0.00121 |
| Haiku 4.5 | $0.00003 | $0.00060 |
Grade A, and why
github-actions-security-hardening 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 3mo 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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub Actions Security Hardening
Purpose
Reduce CI/CD and workflow supply-chain risk while preserving delivery velocity.
Core controls
GITHUB_TOKENleast privilege (default read, elevate per-job only when required).- Third-party actions pinned to full commit SHA where policy requires.
- Secrets hygiene (least privilege, rotation, masking, no plaintext leakage).
- OIDC preferred over long-lived cloud credentials.
- CODEOWNERS coverage for
.github/workflows/. - Dependency and vulnerability monitoring for Actions dependencies.
- Runner strategy hardening (hosted preferred for untrusted PRs; strict controls for self-hosted).
- Optional: block or limit Actions ability to create/approve PRs where policy requires.
Hard constraints
- No auto-remediation that broadens permissions.
- No direct write changes to production deployment workflows without explicit approval trail.
- If workflow trust boundaries are unclear, return
NO_CHANGE.
Output contract
ACTIONS_SECURITY_REPORT
mode: <audit|plan|remediate|verify>
scope: <repo|org>
runner: <hosted|self-hosted|mixed>
policy_profile: <strict|standard|light>
checks:
- id: A1
control: <token-permissions|pinning|oidc|...>
result: <pass|fail|partial>
evidence: <file/setting/observation>
risk: <low|medium|high>
actions:
1) priority: <P1|P2|P3>
change: <specific remediation>
verification: <objective check>
decision:
- <apply|defer|NO_CHANGE>
missing_evidence:
- <none or required artifacts>
Invocation policy
Run in pre-merge for workflow/security-sensitive changes and in periodic governance audits.
Repo workflow inventory
| Workflow | Trigger | Permissions | Status |
|---|---|---|---|
.github/workflows/lint.yml |
PR/push to main | default read | ✅ active |
.github/workflows/label-lint.yml |
issues events | issues:write, contents:read |
✅ active (ADR-010) |
label-lint.yml enforces ADR-010 rules 1–4 on every issue event. Any violation
posts an explanatory comment and fails the check. See
research/adr/010-ticket-status-role-model.md.
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.
- 3mo ago First seen · 74 lines · 33 tokens per session scan A 0d2f4084fb82
github-actions-security-hardening is a skill published in the GitHub repository chf3198/copilot-governance (2 stars, last pushed 7d ago), licensed MIT. It adds 33 tokens to every session and 604 once invoked, about $0.0001 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-08-31.
github-actions-security-hardening compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| github-actions-security-hardeningchf3198/copilot-governance | Skill | 2 | 7d ago | MIT | A | 33 | Claude Code |
| chinese-git-workflowjnMetaCode/superpowers-zh | Skill | 8.7k | yesterday | MIT | A | 69 | Claude Code |
| webhook-managementhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | 3d ago | MIT | A | 56 | Claude Code, Codex |
| monorepo-managementwshobson/agents | Skill | 43k | today | MIT | C | 54 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| update-github-workflowstarlepp/symfony-flex-backend | Skill | 286 | yesterday | MIT | A | 41 | Claude Code, Codex |
| deployment-engineerrmyndharis/antigravity-skills | Skill | 2.2k | today | MIT | A | 73 | Claude Code, Codex |