init

Generates a root AGENTS.md file by inspecting a repository's manifests, scripts, and conventions.

1.3k|142|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/MiniMax-AI/minimax-code --skill init-minimax-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init
Source: https://github.com/MiniMax-AI/minimax-code/tree/main/packages/local-runtime/assets/skills/init
Command: npx skills add https://github.com/MiniMax-AI/minimax-code --skill init-minimax-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? New coding projects lack a standardized, agent-readable configuration file, forcing every AI coding assistant to rediscover build commands, test workflows, and style conventions from scratch. ## Core Features & Use Cases - Ecosystem Detection: Reads manifest files like package.json, pyproject.toml, Cargo.toml, and go.mod to infer install, build, test, and lint commands. - AGENTS.md Generation: Produces a concise root AGENTS.md following the open agents.md standard, consumed by OpenCode, Codex, Cursor, Aider, Devin, and Gemini CLI. - Safe Overwrite Handling: When AGENTS.md already exists, it asks the user to skip, overwrite with a timestamped backup, or review a diff before touching anything. - Use Case: After cloning a Node.js monorepo with no agent configuration, run the bootstrap to produce an AGENTS.md capturing pnpm scripts, directory layout, ESLint rules, and PR conventions. ## Quick Start Ask the agent to bootstrap this repository and generate a root AGENTS.md describing its setup, testing, and code style conventions.

Frequently Asked Questions about init

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?

Invoke the init skill via /init or by asking to bootstrap the project. It inspects your manifest files, CI configuration, and directory layout, then writes a root AGENTS.md with setup commands, code style, and testing instructions.

What is the AGENTS.md standard and which tools support it?

AGENTS.md is an open standard (agents.md) defining a single root file that describes a project to AI coding agents. It is consumed by OpenCode, Codex, Cursor, Aider, Devin, Gemini CLI, and other agent-aware tools.

Which programming languages does project bootstrapping support?

First-class support covers Node.js (package.json), Python (pyproject.toml), Rust (Cargo.toml), and Go (go.mod), with commands inferred from each manifest. Other ecosystems like Java or Ruby get placeholder sections the user fills in manually.

What happens if AGENTS.md already exists in my repo?

The skill pauses and asks you to choose: skip and leave the file untouched, overwrite after creating a timestamped .bak backup, or view a unified diff to copy edits manually. It never modifies the file without your explicit choice.

Can I bootstrap a workspace containing multiple git repositories?

Yes. For a parent directory holding multiple independent repos, it creates a root AGENTS.md explaining how the repos relate, then bootstraps each sub-repo with its own local AGENTS.md.