---
name: Agent Repo Init
slug: agent-repo-init
category: Automation
description: Agent Repo Init initializes a new multi-agent project from the RepoBrain template in quick or full mode, including runtime profile, MCP toggle, swarm preference, sandbox type, and optional git init. Use it to scaffold a project structure before configuring the LLM endpoint with rb-setup.
github: "https://github.com/study8677/repobrain/tree/main/skills/agent-repo-init"
language: Python
stars: 1314
forks: 265
install: "npx degit https://github.com/study8677/repobrain/tree/main/skills/agent-repo-init ~/.claude/skills/agent-repo-init"
installs_to: ~/.claude/skills/agent-repo-init
source_path: skills/agent-repo-init/SKILL.md
collection_size: 6
category_size: 1523
collection_url: "https://dirskills.com/collections/study8677/repobrain"
added: 2026-08-20T07:54:50.269Z
last_synced: 2026-08-20T07:54:50.269Z
canonical_url: "https://dirskills.com/skills/agent-repo-init"
---

# Agent Repo Init

Agent Repo Init initializes a new multi-agent project from the RepoBrain template in quick or full mode, including runtime profile, MCP toggle, swarm preference, sandbox type, and optional git init. Use it to scaffold a project structure before configuring the LLM endpoint with rb-setup.

**Install:**

```bash
npx degit https://github.com/study8677/repobrain/tree/main/skills/agent-repo-init ~/.claude/skills/agent-repo-init
```

## README

# Agent Repo Init

Initialize a new project from this repository template with two modes.

## Modes
- `quick`: Fast scaffold with clean copy and minimal setup.
- `full`: `quick` plus runtime profile setup (`.env`, mission, context profile, init report) and optional `git init`.

## Run via Script
Use the portable script in this skill directory:

```bash
python skills/agent-repo-init/scripts/init_project.py \
  --project-name my-agent \
  --destination-root /absolute/path \
  --mode quick
```

Full mode example:

```bash
python skills/agent-repo-init/scripts/init_project.py \
  --project-name my-agent \
  --destination-root /absolute/path \
  --mode full \
  --enable-mcp \
  --disable-swarm \
  --sandbox-runtime microsandbox \
  --init-git
```

## Expected Output
- New project at `<destination_root>/<project_name>`
- Clean copy without local runtime state
- Initialization report at `artifacts/logs/agent_repo_init_report.md`
- Script is self-contained and does not import project `src/` modules

## Notes
- Keep destination outside the current template repository.
- For `full` mode, review `.context/agent_runtime_profile.md` after generation.
- Run `/rb-setup` in the generated project to choose and write the LLM endpoint.
