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 forjd/agent-skills --skill repo-hardeninggit clone --depth 1 https://github.com/forjd/agent-skillsWrote 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/forjd/agent-skills/repo-hardening)<a href="https://agentmods.dev/skills/forjd/agent-skills/repo-hardening"><img src="https://agentmods.dev/badge/skills/forjd/agent-skills/repo-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/forjd/agent-skills/repo-hardening"><img src="https://agentmods.dev/badge/skills/forjd/agent-skills/repo-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.00093 | $0.01273 |
| Opus 5 | $0.00046 | $0.00636 |
| Sonnet 5 | $0.00019 | $0.00255 |
| Haiku 4.5 | $0.00009 | $0.00127 |
Grade A, and why
repo-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 11d 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 — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repo Hardening
Audit and fix GitHub repository security settings using the bundled scripts/harden.sh.
Prerequisites
Before running the script, ensure:
ghCLI is installed and authenticated (gh auth login)jqis installed- The user has sufficient access to the target repository:
auditcan run with read access, with inaccessible endpoints reported asskipfixrequires admin access
The script checks prerequisites and exits with a clear error if required tools, authentication, or fix permissions are missing.
Workflow
Always follow this sequence:
-
Resolve the script path — run the bundled script via the path to this skill directory, not the current project directory:
SKILL_DIR="/path/to/repo-hardening" # directory containing this SKILL.md HARDEN_SCRIPT="$SKILL_DIR/scripts/harden.sh" -
Audit first — run the audit to see current state:
bash "$HARDEN_SCRIPT" audit --repo OWNER/REPO -
Present findings — summarise the audit results to the user, highlighting
failandwarnitems grouped by severity (critical > high > medium > low). -
Dry-run before fixing — ask the user which categories to fix. Use explicit
--checksto scope fixes to the confirmed categories, then run--dry-runbefore any mutation:bash "$HARDEN_SCRIPT" fix --repo OWNER/REPO --checks branches,security --dry-runIf branch protection has no existing required status checks, pass each CI context explicitly:
bash "$HARDEN_SCRIPT" fix --repo OWNER/REPO --checks branches --required-check "test" --dry-run -
Apply the exact approved plan — once confirmed, rerun the exact dry-run command with only
--dry-runremoved. Keep the same scoped--checksand any--required-checkoptions from the preview:bash "$HARDEN_SCRIPT" fix --repo OWNER/REPO --checks branches,security # If the approved dry-run included required checks: bash "$HARDEN_SCRIPT" fix --repo OWNER/REPO --checks branches --required-check "test"
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 112 lines · 93 tokens per session scan A 01be6e5adf50
repo-hardening is a skill published in the GitHub repository forjd/agent-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 93 tokens to every session and 1,273 once invoked, about $0.0005 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.
Other skills, from other repositories
article-writing
Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.
deploy-docker-compose
Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…
taiyi-ui-design
A design-planning guide for describing how an application's user interface should look and behave. It produces a UI-DESIGN.md document covering layouts, components, interactions, accessibility, and error states.
remove
Remove a deployed framework or addon from the current workspace.
ln-62-repository-publisher
Commits, pushes, and remotely verifies authorized repository changes. Not for releases, package publication, or announcements.
maggy
Maggy is a local AI engineering command center. AI-prioritized inbox across issue trackers (GitHub Issues/Asana), one-click TDD execute with iCPG context enrichment, daily competitor intelligence briefing.