repo-setup

repo-setup is a skill for Claude Code from ArcBlock/agent-skills. It costs 35 tokens per session (1,296 once invoked), scanned A, original, MIT.

A one-time repository setup for agent skills. It creates the project profile, GitHub labels, verification checks, and environment checks needed by those skills.

In plain words
What is it for?
Onboarding a repository to the agentloop system and preparing its tools, authentication, labels, and verification process.
Why use it?
It makes hidden setup requirements explicit and repeatable, so the skills can run against a new repository.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the agentloop plugin — 24 skills shipped together

Good fit Onboarding a repository to the agentloop system and preparing its tools, authentication, labels, and verification process.

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

Made for: Claude Code.

Or install agentloop, the plugin that ships this one along with the rest of its 24 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arcblock/agent-skills/repo-setup"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/repo-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,296 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00035 $0.01296
Opus 5.5 $0.00014 $0.00518
Sonnet 5.5 $0.00007 $0.00259
Haiku 4.5 $0.00003 $0.00130

Measured 1mo ago against content hash 62fe9d303174, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repo-setup scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

*this* platform (macOS → `brew`, Debian/Ubuntu → `apt install -y`, `bun` → its curl installer),
plugins/agentloop/skills/repo-setup/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repo Setup — adopt the agentloop plugin in a repo

Run once per repo to go from "plugin installed" to "loop skills can actually run here". The supporting environment the sweep/review skills assume (a repo-profile, the coordination labels, a working toolchain + gh auth) is otherwise implicit — this makes it explicit and reproducible. All scripts live in <plugin_root>/bootstrap/ and are idempotent (the directory keeps its name: there it means "the scripts that bootstrap a repo", which is unambiguous — the skill was renamed because /agentloop:bootstrap alone did not say what it bootstrapped, and now pairs with /agentloop:fleet-setup).

This is hybrid by design. The split, and why it matters:

  • Deterministic scripts lay down structure and auto-detect what can be mechanically probed (repo_slug, plugin_root, default_branch, package_manager, the fixed label set, the env assertions). They never guess values they can't ground in a file, and never mutate your system.
  • You, the agent, do what needs judgement or side-effects: install missing tools, fill the profile fields that require reading the repo. Scripts hand you a stable skeleton; you supply the parts a script can't reliably infer.

This is adoption, not scheduling. How you run the skills on an interval (cron / CI / a cloud routine system) is your repo's own infra — see docs/scheduling-recipe.md. Repo-setup deliberately does not touch that.

The flow (run from the consuming repo root, in order)

PR=<plugin_root>   # from .claude/repo-profile.md, or wherever the plugin is checked out

Step 0 — preflight · script diagnoses, you repair

bash "$PR/bootstrap/check-env.sh"

check-env is a read-only probe: it reports what's missing and exits non-zero, but it never installs anything. If it reports a missing tool, that's your cue to fix it — install it for this platform (macOS → brew, Debian/Ubuntu → apt install -y, bun → its curl installer), then re-run until green. The script even prints a suggested command per tool; you judge platform / permissions / fallback and actually run it. (This mirrors CLAUDE.md's "install missing CLI deps, don't give up" discipline — repairing the env is an agent action, not a script's.)

Read the full file on GitHub · 100 lines

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. 1mo ago Changed · -16 lines · -5 tokens per session 62fe9d303174
  2. 2mo ago Changed · +3 lines · -27 tokens per session aa01d96473bb
  3. 3mo ago First seen · 113 lines · 67 tokens per session scan A b209e2d5158d

Subscribe to this mod's changes

repo-setup is a skill published in the GitHub repository ArcBlock/agent-skills (5 stars, last pushed 22d ago), licensed MIT. It adds 35 tokens to every session and 1,296 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

repo-setup compared with skills from other repositories

repo-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-setupArcBlock/agent-skillsSkill522d agoMITA35Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code