github-hardening

github-hardening is a skill for Claude Code, Codex from CaseyLabs/kc-secure-repo-template. It costs 70 tokens per session (515 once invoked), scanned A, original, no licence file.

A guide for reviewing and updating GitHub security settings for repositories derived from another repository. It covers rules, required checks, scanning, review protections, and workflow permissions.

In plain words
What is it for?
Use it to review hardening requirements, rulesets, security scans, pull-request protections, and workflow access. Use a Terraform-focused guide for infrastructure changes managed with Terraform.
Why use it?
It helps teams check that repository settings protect code changes and automated workflows. It focuses on GitHub settings rather than ordinary code changes inside the repository.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to review hardening requirements, rulesets, security scans, pull-request protections, and…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/caseylabs/kc-secure-repo-template/github-hardening
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.

Any agent
npx skills add CaseyLabs/kc-secure-repo-template --skill github-hardening
Clone the repo
git clone --depth 1 https://github.com/CaseyLabs/kc-secure-repo-template

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for github-hardening

README.md
[![agentmods](https://agentmods.dev/badge/skills/caseylabs/kc-secure-repo-template/github-hardening.svg)](https://agentmods.dev/skills/caseylabs/kc-secure-repo-template/github-hardening)
Your own site
<a href="https://agentmods.dev/skills/caseylabs/kc-secure-repo-template/github-hardening"><img src="https://agentmods.dev/badge/skills/caseylabs/kc-secure-repo-template/github-hardening.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 515 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.1 $0.00070 $0.00515
Opus 5 $0.00035 $0.00258
Sonnet 5 $0.00014 $0.00103
Haiku 4.5 $0.00007 $0.00052

Measured 6d ago against content hash db5dd1567a39, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

github-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 6d 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.

.agents/skills/github-hardening/SKILL.md · 53 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 6d ago First seen · 53 lines · 70 tokens per session scan A db5dd1567a39

Subscribe to this mod's changes

github-hardening is a skill published in the GitHub repository CaseyLabs/kc-secure-repo-template (9 stars, last pushed 5d ago), with no licence file. It adds 70 tokens to every session and 515 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

detecting-supply-chain-attacks-in-ci-cd

Scans GitHub Actions workflows and CI/CD pipeline configurations for supply chain attack vectors including unpinned actions, script injection via expressions, dependency confusion, and secrets exposure. Uses PyGithub and YAML parsing for automated audit. Use when hardening CI/CD pipelines or investigating compromised…

balsm-health/Balsm-AI · 69 tokens

securing-github-actions-workflows

This skill covers hardening GitHub Actions workflows against supply chain attacks, credential theft, and privilege escalation. It addresses pinning actions to SHA digests, minimizing GITHUBTOKEN permissions, protecting secrets from exfiltration, preventing script injection in workflow expressions, and implementing…

xalgorix/xalgorix · 68 tokens

analysis-provenance

Identify code ownership before modifying validators or linters. Checks file headers for provenance indicators, reviews documentation, and determines provenance as UPSTREAM, LOCAL, VENDOR, or UNKNOWN. Prevents accidental modification of upstream tools.

rjmurillo/ai-agents · 48 tokens

securing-github-actions-workflows

This skill covers hardening GitHub Actions workflows against supply chain attacks, credential theft, and privilege escalation. It addresses pinning actions to SHA digests, minimizing GITHUBTOKEN permissions, protecting secrets from exfiltration, preventing script injection in workflow expressions, and implementing…

adriannoes/awesome-agentic-ai · 68 tokens

audit-production-readiness

Audit a repository or service for release-blocking bugs, security, data/privacy, AI-agent, supply-chain, operability, and scale risks. Use for deep code audits, threat models, pre-production reviews, vulnerability triage, incidents, defensive investigation, release gates, or evidence-based 10k-to-1M-user readiness.

kingggg5/shipproof · 72 tokens

github-actions-workflow

Scaffolds or audits a GitHub Actions CI/CD workflow for a project. Covers job structure, caching, secrets handling, concurrency groups, environment gates, and reusable workflows via workflowcall. Invoked when the user asks to set up CI, add a GitHub Actions workflow, improve pipeline performance, or share workflow…

soulcodex/agentic · 72 tokens