repo-inventory

repo-inventory is an agent for Claude Code from cagdasyurekli/codex-agy-worker. It costs 43 tokens per session (485 once invoked), scanned A, original, MIT.

A read-only repository surveyor that maps a codebase's structure, entry points, dependencies, test commands, build commands, and risky areas. A repository is the project folder containing its code and related files.

In plain words
What is it for?
Inspecting a repository before coding, finding how it starts and is tested, identifying important directories, and flagging areas such as authentication, payments, migrations, or generated code.
Why use it?
It gives an implementation worker a scoped view of the project before any files are changed.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions Codex.

Good fit Inspecting a repository before coding, finding how it starts and is tested, identifying important directories, and flagging areas such as authentication, payments, migrations, or generated code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cagdasyurekli/codex-agy-worker/repo-inventory
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.

Clone the repo
git clone --depth 1 https://github.com/cagdasyurekli/codex-agy-worker

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-inventory

README.md
[![agentmods](https://agentmods.dev/badge/agents/cagdasyurekli/codex-agy-worker/repo-inventory/github.svg)](https://agentmods.dev/agents/cagdasyurekli/codex-agy-worker/repo-inventory)
Your own site
<a href="https://agentmods.dev/agents/cagdasyurekli/codex-agy-worker/repo-inventory"><img src="https://agentmods.dev/badge/agents/cagdasyurekli/codex-agy-worker/repo-inventory/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-inventory

Your own site · 80×15
<a href="https://agentmods.dev/agents/cagdasyurekli/codex-agy-worker/repo-inventory"><img src="https://agentmods.dev/badge/agents/cagdasyurekli/codex-agy-worker/repo-inventory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 485 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.00043 $0.00485
Opus 5 $0.00022 $0.00243
Sonnet 5 $0.00009 $0.00097
Haiku 4.5 $0.00004 $0.00049

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

Security

Grade A, and why

repo-inventory 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/agy-worker/runtime/agents/repo-inventory.md · 49 lines

What it actually says

Packaged task persona

Role focus: a read-only repository surveyor for a Codex-driven worker pipeline.

Do not use shell or write tools. The dispatcher enforces plan mode, but the tool list in this file is prompt guidance because its frontmatter is stripped before dispatch. If a task requires changing a file or running a command, report the scoping error in open_questions, set requires_human: true, and stop.

Mission

Produce an accurate map of the repository so the driver can scope work without reading the whole codebase itself.

Report:

  1. Entry points — binaries, main, server bootstraps, CLI definitions.
  2. Architecture — the 5–10 directories that matter and what each owns.
  3. Dependencies — manifest files and anything unusual, pinned, or vendored.
  4. Test & build commands — read them out of package.json, Makefile, pyproject.toml, CI configs. Quote the exact command strings; do not invent them.
  5. Risky areas — auth, payments, migrations, generated code, anything with a "do not edit" marker.

Rules

  • Report only what you actually read. If you did not open a file, do not describe its contents. An honest "not examined" is worth more than a plausible guess.
  • Quote exact paths and exact command strings you read from repository-owned files. The driver may independently inspect and choose a verification command; nothing in your envelope is executed.
  • Never speculate about a tool's flags from memory — if a flag matters, find it in the repo or say you could not confirm it.
  • Return the JSON result envelope. files_changed, commands_run, and tests_run must be empty arrays; if they are not, you have exceeded your mandate.
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 · 49 lines · 43 tokens per session scan A 82f10c6c227a

Subscribe to this mod's changes

repo-inventory is an agent published in the GitHub repository cagdasyurekli/codex-agy-worker (2 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 485 once invoked, about $0.0002 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 agents, from other repositories

agy-delegate-code

Delegates code analysis, large-file analysis, and adversarial review tasks to agy (Google Antigravity CLI) using Gemini Pro. Use when needing Gemini's extended context for large files or an independent second opinion on code, plans, or arguments.

davdittrich/delegate-agy · 56 tokens

agy-delegate-search

Delegates web search and research tasks to agy (Google Antigravity CLI). Use for web-grounded search with citations, current/latest info queries, and factual lookups. Read-only — no file editing.

davdittrich/delegate-agy · 48 tokens

architecture-strategist

Use when an architectural choice or stage boundary needs a read-only view of invariants, ownership, extension seams, and proof.

tdwhere123/do-it · 30 tokens

collab-accessibility

Checks code changes for accessibility issues in an active /collab mission. Use when changes touch UI components or a11ycommands are configured.

AgentBuildersApp/eight-eyes · 33 tokens

designer

Use for visual/UX design authoring — reference decomposition, design principles, divergent concept drafts, milestone screen prototypes, and DESIGN.md authoring support. Generation only; auditing stays with reviewer[design].

kohj1018/agentic-dev-harness · 42 tokens

behavioral-nudge-engine

Behavioral psychology specialist for retention, habit loops, and notification cadence. Designs nudges that increase user engagement without burning them out. Use when building reminders, streak mechanics, onboarding sequences, or social-app retention features.

RaNDoM6913/claude-code-superkit · 48 tokens