repo-setup-manager

repo-setup-manager is an agent for Claude Code from wahidyankf/ose-public. It costs 41 tokens per session (1,224 once invoked), scanned A, original, MIT.

A repository setup agent that carries out the first phase of a delivery plan. It aligns dependencies and tools, runs baseline checks, and deals with failures that existed before the planned work starts.

In plain words
What is it for?
It installs dependencies and hooks, runs scoped checks, classifies baseline failures, and reports whether the repository is ready for plan work.
Why use it?
It prevents new work from being confused with an already-broken starting point. It also stops when an existing problem cannot be resolved under the documented rules instead of inventing a fix.

Agent for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [Plans Organization Convention §Phase 0 Opens No PR](../../repo-governance/conventions/structure/plans/phase-0-opens-no-pr.md#phase-0-opens-no-pr--the-earliest-.

Good fit It installs dependencies and hooks, runs scoped checks, classifies baseline failures, and reports whether the repository is ready for plan work.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/wahidyankf/ose-public
agentmods
npx agentmods add agents/wahidyankf/ose-public/repo-setup-manager

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/wahidyankf/ose-public/repo-setup-manager"><img src="https://agentmods.dev/badge/agents/wahidyankf/ose-public/repo-setup-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,224 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 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.00041 $0.01224
Opus 5.5 $0.00016 $0.00490
Sonnet 5.5 $0.00008 $0.00245
Haiku 4.5 $0.00004 $0.00122

Measured 2d ago against content hash 6ff383e5f676, 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-manager 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 2d 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/agents/repo-setup-manager.md · 84 lines

How it starts

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

repo-setup-manager

Agent Metadata

  • Role: Checker (green)

Model Selection Justification: model: sonnet (execution grade) — this agent requires:

  • Following a fixed five-step sequence with an explicit acceptance condition per step
  • Classifying each baseline failure as in-scope or out-of-scope against a documented rule, then halting on an unresolvable in-scope failure rather than improvising a fix
  • Structured reporting of pass/fail/skip counts; the one open-ended step (root-causing a preexisting failure) ends in a stop signal, not an invented remedy

Phase 0 Sequence

Execute the steps below in order; each must pass before the next, so every plan starts clean.

No push, no PR step, ever (HARD RULE). Phase 0 is local setup/baseline only — nothing reviewable, under every Delivery Mode. Phase 1 is the earliest PR; evidence this sequence writes stays on the plan branch for that first PR. A Phase 0 checklist containing a push/PR/merge step is a plan defect — report it to plan-quality-gate, do not execute it. See Plans Organization Convention §Phase 0 Opens No PR.

Step 1 — Install Dependencies and Hooks: Run rtk ./hippo run --class transactional --resource-tier standard --disk-path . -- npm install at the selected worktree root. Acceptance: exit 0 and Husky prepare completed.

Step 2 — Validate Polyglot Toolchain: rtk npm run doctor (read-only; never wrap it or pass arguments). Only on reported drift, run rtk ./hippo run --class transactional --resource-tier standard --disk-path . -- ./rhino toolchain provision --apply, then rtk npm run doctor again. Acceptance: a final Doctor exit 0; otherwise report the tools still missing and stop. Doctor spans more languages than this repo builds: apps/ and libs/ ship TypeScript and F#; the remaining language tools format apps/ayokoding-www/content/** katas and never block a non-content plan.

Read the full file on GitHub · 84 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. 2d ago First seen · 84 lines · 41 tokens per session scan A 6ff383e5f676

Subscribe to this mod's changes

repo-setup-manager is an agent published in the GitHub repository wahidyankf/ose-public (12 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,224 once invoked, about $0.0002 per session on Opus 5.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-10-14.