agent-gen

Generate a repo-tailored AGENTS.md by analyzing tech stack, build commands, and CI configuration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically generate a repo-tailored AGENTS.md by analyzing the project's tech stack, build commands, codebase patterns, git history, and CI configuration. Presents a structured operational guide for autonomous Claude execution and validation before writing.

Core Features & Use Cases

  • Detect tech stack from config markers and project files.
  • Discover, validate, and document build/test/lint commands across detected tools.
  • Generate the six sections of AGENTS.md with actionable guidance and a clear approval step.
  • Present a complete AGENTS.md for user review and back up existing files before overwriting.

Quick Start

Run the agent-gen command at the repository root to generate 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 automatically generate an AGENTS.md file for my repository?

To generate an AGENTS.md automatically, run the tool at your repository root. It analyzes your tech stack, build commands, codebase patterns, git history, and CI configuration to produce a tailored operational guide.

What is an AGENTS.md file and when do I need one for my project?

An AGENTS.md provides structured operational guidance for autonomous Claude execution. You need one when you want to automate repo-tailored instructions covering build commands, testing, and CI configuration validation.

Will generating an AGENTS.md overwrite my existing file?

No, generating an AGENTS.md will not overwrite your existing file blindly. The tool backs up existing AGENTS.md files and follows an approval-based workflow before writing the new content.

Can I use this AGENTS.md generator with any tech stack or CI configuration?

Yes, you can use this generator with any software project. It applies tech-stack detection from config markers and validates build, test, and lint commands across detected tools and CI configurations.

How do I review the AGENTS.md content before it is written to my repo?

You review the AGENTS.md content through an approval-based write workflow. The tool presents the complete generated six-section guide for your validation before backing up existing files and writing.

What's the best way to discover and validate build commands for an AGENTS.md file?

The best way to discover and validate build commands is to automate repo analysis. The tool collects data from detected build tools, analyzes git history, and validates commands before generating the AGENTS.md.