agent-project · git:20260913.ef23060 · 2026-09-13 · sha256 f81853af9a650730

agent-project git:20260913.ef23060A

Immutable. This exact content is served forever at /api/v1/blob/f81853af9a650730.

---
name: agent-project
description: Bootstrap a repository's AGENTS.md and .agents/ layout so coding agent hosts share one instruction set. Use when setting up agents on a repo.
license: MIT
metadata:
  author: Médéric HURIER (Fmind)
  source: github.com/fmind/dot/tree/main/skills/agent-project
  created: "2026-06-23"
  updated: "2026-09-13"
---

# Set Up Agents on a Project

Author the shared project instruction and skill layer once, then add only required host bridges. [repository-docs](../repository-docs/SKILL.md) owns instruction content; [agent-mcp](../agent-mcp/SKILL.md) owns MCP configuration.

## Workflow

1. **Inspect first**: preserve existing AGENTS.md, host files, skills, and user settings; reuse a stack-specific instruction file when one exists.
1. **Create the shared layer**: `AGENTS.md` from the [project template](templates/AGENTS.md), `.agents/skills/`, and an ignored `.agents/prompts/` working inbox for [agent-prompt](../agent-prompt/SKILL.md).
1. **Bridge installed hosts**: follow [host-setup.md](references/host-setup.md) for Claude links, optional configuration, and native custom-agent locations; do not create unused host files.
1. **Verify discovery**: read [host-discovery.md](references/host-discovery.md) for listing commands and native plugin catalogs; distinguish presence from demonstrated instruction following.
1. **Install vendor skills deliberately**: follow the shared [vendor-skill policy](references/vendor-skills.md) for source review, project scope, versioning, replacement, and the current `skills` versus preview `gh skill` boundary.
1. **Keep current**: route repository changes through [repository-docs](../repository-docs/SKILL.md), including project-local skill references.

## Gotchas

- **One rule body**: shared rules live in `AGENTS.md`; `CLAUDE.md` is only the bridge, never a second copy.
- **Smallest override**: project configuration overrides the user's global defaults; add only what the repository needs.
- **Strict formats**: keep JSON free of comments unless the host documents JSONC, and validate TOML before launching an agent.
- **Untrusted configuration**: review a repository's hooks, MCP servers, skills, plugins, and custom-agent definitions before enabling them.

## Official source audit

Read the [dated official skill source audit](references/official-skills.md) when selecting a vendor package. It records inspected sources and gaps; recheck the selected source before installation.

## Documentation

- [AGENTS.md standard](https://agents.md) · [Agent Skills specification](https://agentskills.io/specification)
- Companion skills: [agent-mcp](../agent-mcp/SKILL.md) (MCP servers), [repository-docs](../repository-docs/SKILL.md) (instruction conventions and freshness), [agent-prompt](../agent-prompt/SKILL.md) (`.agents/prompts/`).