Install
openclaw skills install init-programCreate or update the correct agent instruction file for the active coding assistant, then initialize a software project according to that file. Use when the user asks to initialize a new or existing repository, bootstrap project structure, create agent instructions, set coding rules, generate setup commands, choose between AGENTS.md and Claude Code instruction files, or align implementation work with an agent instruction contract before coding.
openclaw skills install init-programCreate the appropriate agent instruction file first, then use it as the project contract for initialization. Select the file by the active model or coding assistant, and treat that file as the source of truth for communication rules, coding conventions, project structure, setup commands, validation steps, code review expectations, and delivery requirements.
Inspect the workspace before writing files.
AGENTS.md, README, package manifests, build files, framework config, and directory structure.Choose the instruction file.
AGENTS.md.CLAUDE.md.Confirm the instruction language.
Create or update the instruction file.
Initialize according to the selected instruction file.
Validate the initialized project.
Deliver a concise handoff.
Include code review rules in the instruction file.
AGENTS.md for Codex/OpenAI agents.CLAUDE.md for Claude Code unless the repository already uses a different Claude Code instruction path.AGENTS.md and CLAUDE.md unless the user explicitly wants multi-agent instructions.Use this shape unless the existing repository clearly needs another structure:
# AGENTS
## Communication
1. State conclusions first, then impact and next actions.
2. Use the user's preferred language unless project conventions require otherwise.
3. Keep delivery notes focused on changed files, validation, and risks.
4. Ask for confirmation before acting on unclear requirements or irreversible choices.
5. Before creating or rewriting this instruction file, ask the user which language it should use.
## Project Structure
1. Describe the main directories and ownership boundaries.
2. Identify generated files and their source commands.
3. Keep common logic in the appropriate shared package/module.
## Coding Rules
1. Follow existing naming, layering, error handling, and formatting conventions.
2. Keep changes scoped to the requested task.
3. Do not overwrite unrelated user changes.
## Setup
1. List install commands.
2. List required environment variables or `.env.example` fields.
3. List local run commands.
4. Require confirmation before choosing an unspecified technology stack, package manager, database, runtime, deployment target, or external service.
5. When initializing a project and the technology stack is not already specified, ask the user to choose the stack before creating project files.
## Validation
1. List focused checks for typical changes.
2. List broader checks for shared behavior or release work.
3. Require clear reporting when checks cannot run.
## Code Review
1. Review changes for correctness, regressions, security, maintainability, and test coverage.
2. Lead with findings ordered by severity, using file and line references when possible.
3. Keep summaries secondary to concrete issues; state clearly when no issues are found.
4. Call out unverified behavior, missing tests, or assumptions that affect release risk.
.env.example with placeholder values when environment configuration is needed.