agent-init

Audit repositories and generate AGENTS.md files capturing non-discoverable guidance.

4|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/kvokov/oh-my-ai --skill agent-init-kvokov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-init
Source: https://github.com/kvokov/oh-my-ai/tree/main/skills/agent-init
Command: npx skills add https://github.com/kvokov/oh-my-ai --skill agent-init-kvokov

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures AGENTS.md captures only the hidden, high-signal guidance that agents cannot infer from README, code, or tooling so that every instruction adds measurable value.

Core Features & Use Cases

  • Guided audit phases: Phase 1 automatically scans configs, docs, CI, and tooling to build an evidence-backed repo profile before asking any questions.
  • Gap detection intelligence: Phase 2 highlights stale instructions plus missing command flags, landmines, conventions, and routing needs, preventing redundant or discoverable content.
  • Safety-first drafting: Phase 4 enforces the discoverability filter, incremental diffs, and a quality gate so the final AGENTS.md is minimal, accurate, and actionable for agents working in this repo.

Quick Start

Apply the agent-init skill to review this repository and draft an AGENTS.md that only records non-discoverable constraints.

Frequently Asked Questions about agent-init

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

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

To create an AGENTS.md file, audit your repository for non-discoverable guidance like command quirks, landmines, and conventions. Scan configs, docs, and CI to build an evidence-backed profile, then draft incremental diffs that pass a quality gate before writing.

What should go into an AGENTS.md instruction file?

AGENTS.md files should contain only hidden, high-signal guidance that agents cannot infer from README, code, or tooling. This includes missing command flags, undocumented landmines, repository conventions, and routing needs that add measurable value to AI agent onboarding.

How do I detect missing constraints and stale instructions in my repo docs?

Detect missing constraints and stale instructions by running a guided gap detection phase that scans configs, docs, CI, and tooling. This intelligence highlights missing command flags, landmines, conventions, and routing needs while preventing redundant or discoverable content from being included.

What is the best way to onboard an AI agent to an existing codebase?

The best way to onboard an AI agent is to audit the repository for non-discoverable constraints and draft a minimal AGENTS.md file. Apply a discoverability filter to ensure every instruction adds measurable value and log evidence before writing the final file.

Can I update an existing AGENTS.md file without overwriting current instructions?

Yes, you can update an existing AGENTS.md file using incremental diffs. The safety-first drafting phase enforces a discoverability filter and quality gate, ensuring updates are minimal, accurate, and actionable without overwriting existing valid instructions.

Why does my AI agent ignore repository conventions and trigger build failures?

AI agents trigger build failures when repository conventions and command landmines are non-discoverable. Auditing the repo to surface these hidden constraints into an AGENTS.md file captures the high-signal guidance needed to prevent errors and ensure safe execution.