generate-agent-instructions

Generate and update AGENTS.md files from repository architecture and workflows.

1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/SebKay/skills --skill generate-agent-instructions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-agent-instructions
Source: https://github.com/SebKay/skills/tree/main/generate-agent-instructions
Command: npx skills add https://github.com/SebKay/skills --skill generate-agent-instructions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation and updating of AGENTS.md files, ensuring AI coding agents have accurate, project-specific guidance derived directly from the codebase.

Core Features & Use Cases

  • Automated Documentation: Extracts architecture, workflows, and conventions from a repository.
  • Intelligent Merging: Updates existing AGENTS.md by incorporating new findings and removing stale information.
  • Use Case: When onboarding a new AI agent to a complex project, use this Skill to generate a comprehensive AGENTS.md that details the project's unique structure and developer workflows.

Quick Start

Use the generate-agent-instructions skill to create or update the AGENTS.md file for this project.

Frequently Asked Questions about generate-agent-instructions

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

FAQPage Schema
How do I generate AI agent instructions from my codebase?

Updating an existing AGENTS.md file is supported through intelligent merging. The Skill incorporates new architectural findings while removing stale information, ensuring your AI agent instructions remain synchronized with your evolving codebase.

Can I update an existing AGENTS.md file without losing manual edits?

Updating an existing AGENTS.md file is supported through intelligent merging. The Skill incorporates new architectural findings while removing stale information, ensuring your AI agent instructions remain accurately merged with existing documentation.

What is the best way to onboard an AI coding agent to a complex project?

Onboarding an AI coding agent to a complex project requires accurate project-specific guidance. This Skill automates that onboarding by inspecting the repository architecture and developer workflows to generate a comprehensive AGENTS.md file.

Does generating project-specific AI guidance require manual codebase inspection?

Generating project-specific AI guidance does require deep codebase inspection, but the process is fully automated by this Skill. It extracts discoverable facts about repository architecture and conventions to populate the AGENTS.md file.

What limitations exist when automating AGENTS.md documentation from a repository?

Automating AGENTS.md documentation relies on extracting discoverable facts from the codebase. Consequently, undocumented developer workflows or implicit conventions not visible in the repository architecture may be missed during the intelligent merging process.