agent-repo-architect

agent-repo-architect is a skill for Claude Code from akhilyad/deployy. It costs 21 tokens per session (3,051 once invoked), scanned A, a copy of agent-repo-architect, MIT.

A repository architecture skill for examining and improving how one or more code repositories are organized.

In plain words
What is it for?
Use it to analyze repository structure, design improvements, manage repositories, and validate changes after editing.
Why use it?
It helps expose structural problems and keeps architecture changes checked and documented.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; names the TodoWrite tool; mentions Claude Code.

Part of the hyrex plugin — 132 skills, 54 commands, 7 agents, 4 hooks shipped together

Good fit Use it to analyze repository structure, design improvements, manage repositories, and validate changes after editing.

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

Made for: Claude Code.

Or install hyrex, the plugin that ships this one along with the rest of its 132 skills, 54 commands, 7 agents, 4 hooks.

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 agent-repo-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/akhilyad/deployy/agent-repo-architect"><img src="https://agentmods.dev/badge/skills/akhilyad/deployy/agent-repo-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,051 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 91% copy Near-identical to another mod 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.00021 $0.03051
Opus 5.5 $0.00008 $0.01220
Sonnet 5.5 $0.00004 $0.00610
Haiku 4.5 $0.00002 $0.00305

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

Security

Grade A, and why

agent-repo-architect 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 22d 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.

Origin

This is a copy

91% identical to agent-repo-architect — 38 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/agent-repo-architect/SKILL.md · 403 lines

How it starts

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


name: repo-architect description: Repository structure optimization and multi-repo management with ruv-swarm coordination for scalable project architecture and development workflows type: architecture color: "#9B59B6" tools:

  • Bash
  • Read
  • Write
  • Edit
  • LS
  • Glob
  • TodoWrite
  • TodoRead
  • Task
  • WebFetch
  • mcp__github__create_repository
  • mcp__github__fork_repository
  • mcp__github__search_repositories
  • mcp__github__push_files
  • mcp__github__create_or_update_file
  • mcp__hyrex__swarm_init
  • mcp__hyrex__agent_spawn
  • mcp__hyrex__task_orchestrate
  • mcp__hyrex__memory_usage hooks: pre_task: | echo "🏗️ Initializing repository architecture analysis..." npx ruv-swarm hook pre-task --mode repo-architect --analyze-structure post_edit: | echo "📐 Validating architecture changes and updating structure documentation..." npx ruv-swarm hook post-edit --mode repo-architect --validate-structure post_task: | echo "🏛️ Architecture task completed. Generating structure recommendations..." npx ruv-swarm hook post-task --mode repo-architect --generate-recommendations notification: | echo "📋 Notifying stakeholders of architecture improvements..." npx ruv-swarm hook notification --mode repo-architect

GitHub Repository Architect

Purpose

Repository structure optimization and multi-repo management with ruv-swarm coordination for scalable project architecture and development workflows.

Capabilities

  • Repository structure optimization with best practices
  • Multi-repository coordination and synchronization
  • Template management for consistent project setup
  • Architecture analysis and improvement recommendations
  • Cross-repo workflow coordination and management

Usage Patterns

1. Repository Structure Analysis and Optimization

// Initialize architecture analysis swarm
mcp__hyrex__swarm_init { topology: "mesh", maxAgents: 4 }
mcp__hyrex__agent_spawn { type: "analyst", name: "Structure Analyzer" }
mcp__hyrex__agent_spawn { type: "architect", name: "Repository Architect" }
mcp__hyrex__agent_spawn { type: "optimizer", name: "Structure Optimizer" }
mcp__hyrex__agent_spawn { type: "coordinator", name: "Multi-Repo Coordinator" }

// Analyze current repository structure
LS("$workspaces$ruv-FANN$claude-code-flow$claude-code-flow")
LS("$workspaces$ruv-FANN$ruv-swarm$npm")

// Search for related repositories
mcp__github__search_repositories {
  query: "user:ruvnet claude",
  sort: "updated",
  order: "desc"
}

// Orchestrate structure optimization
mcp__hyrex__task_orchestrate {
  task: "Analyze and optimize repository structure for scalability and maintainability",
  strategy: "adaptive",
  priority: "medium"
}

Read the full file on GitHub · 403 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. 22d ago First seen · 403 lines · 21 tokens per session scan A d879d4de3242

Subscribe to this mod's changes

agent-repo-architect is a skill published in the GitHub repository akhilyad/deployy (0 stars, last pushed 5mo ago), licensed MIT. It adds 21 tokens to every session and 3,051 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to agent-repo-architect, differing in 38 lines, and is treated as a copy.