setup-repo-guards

setup-repo-guards is a skill for Claude Code from Fandhe-AI/agent-cli-skills. It costs 161 tokens per session (4,867 once invoked), scanned A, 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 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,867 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.00161 $0.04867
Opus 5 $0.00081 $0.02433
Sonnet 5 $0.00032 $0.00973
Haiku 4.5 $0.00016 $0.00487

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

Security

Grade A, and why

setup-repo-guards 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 9d 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.

skills/setup-repo-guards/SKILL.md · 224 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

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. 9d 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 161 tokens to every session and 4,867 once invoked, about $0.0008 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

gemini-review

Google Gemini CLI code review with Gemini 2.5 Pro, 1M token context, CI/CD integration.

alinaqi/maggy · 26 tokens

squid-implement-night

Run the full agent-team pipeline end-to-end for one feature whose Tasks Plan is already approved by /squid-plan, handing the human a validated, ready-to-squash-merge PR. Trigger after /squid-plan.

iusztinpaul/squid · 52 tokens

tech-debt-ci-review

Codex adapter for deep technical-debt and CI-stability audits. Use when asked to find test theater, flaky tests, missing or mis-scoped tests, brittle CI/toolchain behavior, structural debt blocking green PRs, or a remediation order for opencode-swarm.

ZaxbyHub/opencode-swarm · 61 tokens

pr-babysitter

Monitors or repairs an open GitHub PR: CI failures, conflicts, review threads, and merge readiness, reporting state changes. Use when asked to "watch this PR", "fix CI", "resolve conflicts", or "address review comments". For PR metadata use pr-creator; for npm release PRs use autoship.

mblode/agent-skills · 72 tokens

aster-review-ci

Run aster code reviews non-interactively in CI, GitHub Actions, or from another agent. Covers aster review --pr, --json, --stream, --comment, diff-from-stdin, token handling, and filtering findings. Use when wiring aster into a pipeline, posting PR comments, or parsing review output programmatically.

Zfinix/aster · 75 tokens

argot-setup-ci

Wire argot into a repository's GitHub Actions as a non-blocking configured check on every pull request — a job summary plus code-scanning annotations. Use when the user wants argot "in CI", "on PRs", "as a GitHub Action", or asks to "set up argot CI". Distinct from argot-setup (local checking) and argot-review-pr…

get-tmonier/argot · 94 tokens