---
name: Agent Repository Init
slug: agent-repository-init
category: DevOps
description: Agent Repository Init creates a new agent repository from a template, generating the core structure, configuration, and multilingual documentation. Use it when starting a fresh project that will host AI agents.
github: "https://github.com/study8677/repobrain/tree/main/artifacts/plan_agent_repo_init_skill.md"
language: Python
stars: 1314
forks: 265
install: "npx degit https://github.com/study8677/repobrain/tree/main/artifacts ~/.claude/skills/artifacts"
installs_to: ~/.claude/skills/artifacts
source_path: artifacts/plan_agent_repo_init_skill.md
collection_size: 6
category_size: 798
collection_url: "https://dirskills.com/collections/study8677/repobrain"
added: 2026-08-20T07:54:50.053Z
last_synced: 2026-08-20T07:54:50.053Z
canonical_url: "https://dirskills.com/skills/agent-repository-init"
---

# Agent Repository Init

Agent Repository Init creates a new agent repository from a template, generating the core structure, configuration, and multilingual documentation. Use it when starting a fresh project that will host AI agents.

**Install:**

```bash
npx degit https://github.com/study8677/repobrain/tree/main/artifacts ~/.claude/skills/artifacts
```

## README

# Plan: Add `agent-repo-init` Skill

## Goal
Create a reusable skill named `agent-repo-init` that can initialize a new agent repository from this template, then document it in multilingual README and docs.

## Scope
1. Add skill folder under `src/skills/agent-repo-init/`.
2. Implement a deterministic initialization tool in `tools.py`.
3. Add skill instructions in `SKILL.md`.
4. Add/extend tests for initialization behavior.
5. Update multilingual README files and docs to explain the new skill.
6. Run targeted tests and save logs in `artifacts/logs/`.

## Deliverables
- `src/skills/agent-repo-init/SKILL.md`
- `src/skills/agent-repo-init/tools.py`
- `tests/test_agent_repo_init_skill.py`
- Updates to:
  - `README.md`
  - `README_CN.md`
  - `README_ES.md`
  - `docs/en/README.md`
  - `docs/zh/README.md`
  - `docs/es/README.md`
  - `docs/en/ZERO_CONFIG.md`
  - `docs/zh/ZERO_CONFIG.md`
  - `docs/es/ZERO_CONFIG.md`

## Validation
- Run: `pytest tests/test_agent_repo_init_skill.py -v`
- Save output to: `artifacts/logs/test_agent_repo_init_skill.log`

## Notes
- `openspec` CLI is not available in this environment (`command not found`), so OpenSpec validation steps cannot be executed here.
