setup-repo-guards

setup-repo-guards is a skill for Claude Code from Fandhe-AI/agent-cli-skills. It costs 159 tokens per session (15,459 once invoked), scanned D, original, no licence file.

A skill for adding repository safeguards, including continuous-integration checks, review guidance, required-check jobs, and branch-protection rules. Continuous integration, or CI, automatically checks code changes before they are merged.

In plain words
What is it for?
Use it to set up CI guards, branch protection, codex-review, AGENTS.md guidance, or the same safeguards across several repositories.
Why use it?
It helps standardise checks and prevent changes from being merged without the required reviews or tests.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Good fit Use it to set up CI guards, branch protection, codex-review, AGENTS.md guidance, or the same safeguards across several repositories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fandhe-ai/agent-cli-skills/setup-repo-guards
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 Fandhe-AI/agent-cli-skills --skill setup-repo-guards
Clone the repo
git clone --depth 1 https://github.com/Fandhe-AI/agent-cli-skills

Made for: Claude Code.

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 setup-repo-guards

README.md
[![agentmods](https://agentmods.dev/badge/skills/fandhe-ai/agent-cli-skills/setup-repo-guards/github.svg)](https://agentmods.dev/skills/fandhe-ai/agent-cli-skills/setup-repo-guards)
Your own site
<a href="https://agentmods.dev/skills/fandhe-ai/agent-cli-skills/setup-repo-guards"><img src="https://agentmods.dev/badge/skills/fandhe-ai/agent-cli-skills/setup-repo-guards/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.

agentmods 80×15 button for setup-repo-guards

Your own site · 80×15
<a href="https://agentmods.dev/skills/fandhe-ai/agent-cli-skills/setup-repo-guards"><img src="https://agentmods.dev/badge/skills/fandhe-ai/agent-cli-skills/setup-repo-guards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 15,459 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 24 Oct 2026
  • Snyk pass 24 Oct 2026
How audits are shown
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.00159 $0.15459
Opus 5.5 $0.00064 $0.06184
Sonnet 5.5 $0.00032 $0.03092
Haiku 4.5 $0.00016 $0.01546

Measured 17d ago against content hash 6a51a50543a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

setup-repo-guards scanned grade D with 2 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 17d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/verify-ai-review-wrapper.sh, tests/verify-ai-review-wrapper.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- 書き方・適用条件(fork PR 拒否・sudo なし runner 等)は Fandhe-AI/actions の `ai-review/README.md` と

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

trap 'rm -rf "${tmp}"' EXIT
skills/setup-repo-guards/SKILL.md · 552 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

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

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. 17d ago Changed · +286 lines scan B → D 6a51a50543a4
  2. 27d ago Changed · +20 lines · -2 tokens per session scan A → B 5d1a1a8e6734
  3. 1mo ago Changed · +21 lines 426c183f70cd
  4. 1mo ago Changed · +1 lines d290804af9a7
  5. 2mo ago First seen · 224 lines · 161 tokens per session scan A 2b1ac716564b

Subscribe to this mod's changes

setup-repo-guards is a skill published in the GitHub repository Fandhe-AI/agent-cli-skills (2 stars, last pushed today), with no licence file. It adds 159 tokens to every session and 15,459 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

setup-repo-guards compared with skills from other repositories

setup-repo-guards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-repo-guardsFandhe-AI/agent-cli-skillsSkill2todaynoneD159Claude Code
green-prsdiegosouzapw/OmniRouteSkill85k2d agoMITA51Claude Code, Codex
pr-babysittermblode/agent-skillsSkill191todayMITA55Claude Code
ai-qa-reviewpetrkindlmann/qa-skillsSkill25919d agoMITA133Claude Code, Codex
tech-debt-ci-reviewZaxbyHub/opencode-swarmSkill522todayMITA61Codex
squid-implement-nightiusztinpaul/squidSkill21314d agoApache-2.0A52Claude Code
aster-review-ciZfinix/asterSkill1389d agoApache-2.0A75Claude Code, Codex