Init Agents Config
Agent Buildinginit-agents-configInit Agents Config is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Generate .agents.yml config from user answers. Provides tech stack templates for Rails, Python, Node, and Generic projects.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/init-agents-config/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/init-agents-config, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Init Agents Config
Assemble .agents.yml from collected user answers during /majestic:init.
Resources
| Resource | Purpose |
|---|---|
CONFIG_VERSION | Current .agents.yml schema version |
resources/rails.yaml | Rails config template |
resources/python.yaml | Python config template |
resources/node.yaml | Node config template |
resources/generic.yaml | Generic config template |
resources/agents-md-template.md | AGENTS.md best practices |
resources/local-config-template.yaml | Local overrides template |
Template Selection by Tech Stack
| Tech Stack | Template |
|---|---|
| Rails | resources/rails.yaml |
| Python | resources/python.yaml |
| Node | resources/node.yaml |
| Generic | resources/generic.yaml |
Assembly Instructions
- Read the appropriate template based on detected
tech_stack - Replace placeholders with collected answers:
{{config_version}}- Read fromCONFIG_VERSIONfile{{default_branch}}- From git detection or user answer{{owner_level}}- beginner, intermediate, senior, expert{{task_management}}- github, linear, beads, file, none- Stack-specific fields from user answers
- Conditionally include/exclude sections:
- Remove
extras:section if no Solid gems selected (Rails) - Remove
toolbox.build_task.design_system_pathif no design system detected - Comment out
browser:section unless user selected non-Chrome browser
- Remove
- Write to
.agents.yml
Conditional Sections
Quality Gate Reviewers
Each stack has default reviewers. Include optional reviewers only if user enables them:
dhh-code-reviewer- Rails strict styledata-integrity-reviewer- Migration safetycodex-reviewer/gemini-reviewer- External LLM
Browser Config
Default is commented out (uses Chrome). Uncomment only if user selects Brave or Edge.
Extras (Rails only)
Include only Solid gems the user selected:
solid_cachesolid_queuesolid_cable
Output
Write generated config to .agents.yml in project root.