agent-gen

Generate a complete AGENTS.md documenting build commands, codebase patterns, git history, and CI configuration from repository analysis.

1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/Tubular-Health/mobius --skill agent-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-gen
Source: https://github.com/Tubular-Health/mobius/tree/main/.claude/skills/agent-gen
Command: npx skills add https://github.com/Tubular-Health/mobius --skill agent-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill creates a complete AGENTS.md that documents how to run autonomous Claude-based tasks on a repository by outlining build steps, codebase patterns, and CI expectations, saving teams time and ensuring consistency.

Core Features & Use Cases

  • Analyze the repository to identify tech stack markers, build/test/lint commands, git history conventions, and CI configurations.
  • Generate all six AGENTS.md sections and present them for user approval before writing.
  • Back up existing AGENTS.md before overwriting and provide clear operational guidance for autonomous execution.

Quick Start

Run the agent-gen skill at the repository root to generate a draft AGENTS.md and review it before writing.

Frequently Asked Questions about agent-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an AGENTS.md file for my repository?

To generate an AGENTS.md file, run the agent-gen skill at your repository root to analyze tech stack markers, build commands, git history, and CI configuration, producing a draft for your review before writing to the project root.

What is an AGENTS.md file used for in a codebase?

An AGENTS.md file documents how to run autonomous AI tasks on a repository by outlining build steps, codebase patterns, and CI expectations, ensuring operational consistency and saving teams setup time.

Can I automatically detect build commands and CI configurations from config markers?

Yes, the tool automatically detects tech stacks from config markers, validates discovered build commands, and extracts CI configurations to align the generated AGENTS.md output with your repository structure.

Will generating a new AGENTS.md overwrite my existing file?

No, it backs up your existing AGENTS.md before overwriting, then generates all six sections and presents the draft for user approval before writing to the project root.

How do I document git history conventions for autonomous execution?

You can document git history conventions by running the repository analysis skill, which inspects commit patterns and aligns the generated AGENTS.md sections with your operational guidance for autonomous execution.

Does the AGENTS.md generator work with any tech stack?

It works with any tech stack identifiable through config markers in the repository, validating the discovered build and test commands before presenting the draft AGENTS.md for your approval.