github:repo-architect

github:repo-architect is a command for Claude Code from monoes/monomind. It costs 28 tokens per session (2,503 once invoked), scanned A, original, Apache-2.0.

A tool for analyzing and organizing repository structures across one or more Git repositories. It supports repository creation and forking, file changes, templates, architecture analysis, and cross-repository workflows.

In plain words
What is it for?
Use it to review repository architecture, improve project organization, create or fork repositories, and manage shared templates.
Why use it?
Projects spread across repositories can become inconsistent or difficult to understand. This helps examine their structure and coordinate changes between them.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the TodoWrite tool.

Good fit Use it to review repository architecture, improve project organization, create or fork repositories, and manage shared templates.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/monoes/monomind/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.

Clone the repo
git clone --depth 1 https://github.com/monoes/monomind

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 github:repo-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/monoes/monomind/repo-architect"><img src="https://agentmods.dev/badge/commands/monoes/monomind/repo-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,503 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.00028 $0.02503
Opus 5.5 $0.00011 $0.01001
Sonnet 5.5 $0.00006 $0.00501
Haiku 4.5 $0.00003 $0.00250

Measured yesterday against content hash 8eba4116ea11, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github: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 yesterday.

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.

.claude/commands/github/repo-architect.md · 372 lines

How it starts

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

GitHub Repository Architect

Purpose

Repository structure optimization and multi-repo management with Monomind 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

Tools Available

  • mcp__github__create_repository
  • mcp__github__fork_repository
  • mcp__github__search_repositories
  • mcp__github__push_files
  • mcp__github__create_or_update_file
  • mcp__monomind__* (all swarm coordination tools)
  • TodoWrite, TodoRead, Task, Bash, Read, Write, LS, Glob

Usage Patterns

1. Repository Structure Analysis and Optimization

// Spawn architecture analysis agents
mcp__monomind__agent_spawn { type: "analyst", name: "Structure Analyzer" }
mcp__monomind__agent_spawn { type: "architect", name: "Repository Architect" }
mcp__monomind__agent_spawn { type: "optimizer", name: "Structure Optimizer" }
mcp__monomind__agent_spawn { type: "coordinator", name: "Multi-Repo Coordinator" }

// Analyze current repository structure
LS(".")

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

// Orchestrate structure optimization
mcp__monomind__task_create {
  description: "Analyze and optimize repository structure for scalability and maintainability",
  agents: ["analyst", "architect", "optimizer"],
  strategy: "parallel"
}

2. Multi-Repository Template Creation

// Create standardized repository template
mcp__github__create_repository {
  name: "claude-project-template",
  description: "Standardized template for Claude Code projects with monomind integration",
  private: false,
  autoInit: true
}

// Push template structure
mcp__github__push_files {
  owner: ":owner",
  repo: "claude-project-template",
  branch: "main",
  files: [
    {
      path: ".claude/commands/github/github-modes.md",
      content: "[GitHub modes template]"
    },
    {
      path: ".claude/commands/mastermind/help.md",
      content: "[Mastermind commands template]"
    },
    {
      path: ".claude/config.json",
      content: JSON.stringify({
        version: "1.0",
        mcp_servers: {
          "monomind": {
            command: "npx",
            args: ["monomind", "mcp", "start"],
            stdio: true
          }
        },
        hooks: {
          pre_task: "npx monomind hooks pre-task",
          post_edit: "npx monomind hooks post-edit",
          notification: "npx monomind hooks notify"
        }
      }, null, 2)
    },
    {
      path: "CLAUDE.md",
      content: "[Standardized CLAUDE.md template]"
    },
    {
      path: "package.json",
      content: JSON.stringify({
        name: "claude-project-template",
        version: "1.0.0",
        description: "Claude Code project with monomind integration",
        engines: { node: ">=20.0.0" },
        dependencies: {
          "@monomind/cli": "latest"
        }
      }, null, 2)
    },
    {
      path: "README.md",
      content: `# Claude Project Template

## Quick Start
\`\`\`bash
npx monomind init
npm install
npx monomind start --ui
\`\`\`

## Features
- Monomind swarm integration
- GitHub workflow automation
- Advanced coordination capabilities

## Documentation
See CLAUDE.md for complete integration instructions.`
    }
  ],
  message: "feat: Create standardized Claude project template with Monomind integration"
}

Read the full file on GitHub · 372 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. yesterday First seen · 372 lines · 28 tokens per session scan A 8eba4116ea11

Subscribe to this mod's changes

github:repo-architect is a command published in the GitHub repository monoes/monomind (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 28 tokens to every session and 2,503 once invoked, about $0.0001 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-26.