init

Installation
SKILL.md

Initialize AGENTS.md

Use this skill when the user asks to scaffold an AGENTS.md file (project guidelines for AI agents) for the current repository.

Target path rules

  • /init: create AGENTS.md at the repository root.
  • /init <path>: create AGENTS.md scoped to <path>.
    • If <path> is a directory, write <path>/AGENTS.md.
    • If <path> ends with .md, treat it as the full output file path.

Never overwrite an existing file silently. If the target file already exists, ask the user whether to (a) keep it, (b) edit it, or (c) replace it.

Workflow

  1. Inspect the repo to tailor the guide
    • Skim top-level structure (ls, find -maxdepth 2).
    • Read the primary docs (README*, CONTRIBUTING*, DEVELOPMENT*, Makefile).
    • Identify build tooling and common commands (pyproject.toml, package.json, CI configs).
Related skills

More from openhands/skills

Installs
21
GitHub Stars
99
First Seen
Feb 27, 2026