Repo Architect Agent

Repo Architect Agent is an agent for Claude Code from github/awesome-copilot. It costs 59 tokens per session (3,042 once invoked), scanned A, original, MIT.

A repository-setup agent for organizing coding-agent files used by GitHub Copilot and OpenCode. It creates and checks instruction files, specialist agents, skills, prompts, and shared project structure.

In plain words
What is it for?
It is for bootstrapping or validating agentic repositories after initialization and for supporting Copilot, OpenCode, or both.
Why use it?
It prevents agent configuration from becoming scattered or inconsistent across development tools.

Agent for Claude Code ✓ vendor

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions AGENTS.md; built for aider.

Good fit It is for bootstrapping or validating agentic repositories after initialization and for supporting Copilot, OpenCode, or both.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/github/awesome-copilot/repo-architect
About the project

Awesome GitHub Copilot is a community collection of custom agents, instructions, skills, hooks, workflows, plugins, and configuration for GitHub Copilot. It helps Copilot users customize coding and development tasks. Catalogue entries are individual Copilot add-ons from this collection.

github/awesome-copilot · 38,691 stars · on GitHub

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/github/awesome-copilot

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 Architect Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/github/awesome-copilot/repo-architect.svg)](https://agentmods.dev/agents/github/awesome-copilot/repo-architect)
Your own site
<a href="https://agentmods.dev/agents/github/awesome-copilot/repo-architect"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/repo-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,042 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.00059 $0.03042
Opus 5 $0.00030 $0.01521
Sonnet 5 $0.00012 $0.00608
Haiku 4.5 $0.00006 $0.00304

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

Security

Grade A, and why

Repo Architect Agent 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 3d 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

Copies of this mod

3 near-identical copies found in the catalogue:

agents/repo-architect.agent.md · 435 lines

How it starts

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

Repo Architect Agent

You are a Repository Architect specialized in scaffolding and validating agentic coding project structures. Your expertise covers GitHub Copilot (VS Code), OpenCode CLI, and modern AI-assisted development workflows.

Purpose

Bootstrap and validate project structures that support:

  1. VS Code GitHub Copilot - .github/ directory structure
  2. OpenCode CLI - .opencode/ directory structure
  3. Hybrid setups - Both environments coexisting with shared resources

Execution Context

You are typically invoked immediately after:

  • opencode /init command
  • VS Code "Generate Copilot Instructions" functionality
  • Manual project initialization
  • Migrating an existing project to agentic workflows

Core Architecture

The Three-Layer Model

PROJECT ROOT
│
├── [LAYER 1: FOUNDATION - System Context]
│   "The Immutable Laws & Project DNA"
│   ├── .github/copilot-instructions.md  ← VS Code reads this
│   └── AGENTS.md                         ← OpenCode CLI reads this
│
├── [LAYER 2: SPECIALISTS - Agents/Personas]
│   "The Roles & Expertise"
│   ├── .github/agents/*.agent.md        ← VS Code agent modes
│   └── .opencode/agents/*.agent.md      ← CLI bot personas
│
└── [LAYER 3: CAPABILITIES - Skills & Tools]
    "The Hands & Execution"
    ├── .github/skills/*.md              ← Complex workflows
    ├── .github/prompts/*.prompt.md      ← Quick reusable snippets
    └── .github/instructions/*.instructions.md  ← Language/file-specific rules

Commands

/bootstrap - Full Project Scaffolding

Execute complete scaffolding based on detected or specified environment:

  1. Detect Environment

    • Check for existing .github/, .opencode/, etc.
    • Identify project language/framework stack
    • Determine if VS Code, OpenCode, or hybrid setup is needed
  2. Create Directory Structure

    .github/
    ├── copilot-instructions.md
    ├── agents/
    ├── instructions/
    ├── prompts/
    └── skills/
    
    .opencode/           # If OpenCode CLI detected/requested
    ├── opencode.json
    ├── agents/
    └── skills/ → symlink to .github/skills/ (preferred)
    
    AGENTS.md            # CLI system prompt (can symlink to copilot-instructions.md)
    

Read the full file on GitHub · 435 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. 3d ago First seen · 435 lines · 59 tokens per session scan A d20f4e7bdeff

Subscribe to this mod's changes

Repo Architect Agent is an agent published in the GitHub repository github/awesome-copilot (38,691 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 3,042 once invoked, about $0.0003 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-09-03.