Skip to content

AI Tools

mold generates instruction files for 8 AI coding tools. Claude Code files are always generated by the selected kit. Additional tools are opt-in via the --tools flag.

Supported tools

Tool Flag value Generated files
Claude Code claude (default) CLAUDE.md, .claude/settings.json, .claude/commands/
OpenAI Codex codex AGENTS.md
Cursor cursor .cursorrules
Cline cline .clinerules
Windsurf windsurf .windsurfrules
GitHub Copilot copilot .github/copilot-instructions.md
Aider aider .aider.conf.yml, .aiderignore
Gemini gemini GEMINI.md

Usage

Specific tools

Pass a comma-separated list:

mold new my-app --tools cursor,copilot,aider

This generates Claude Code files (always included) plus files for Cursor, Copilot, and Aider.

All tools

mold new my-app --tools all

Generates instruction files for every supported tool.

Default tools

Set your preferred tools globally:

mold config set tools claude,cursor,copilot

Now every mold new and mold init uses these tools unless overridden with --tools.

How it works

Each tool's instruction file contains project-specific context generated from your kit and stack selection. The content is tailored to each tool's expected format:

  • Markdown files (CLAUDE.md, AGENTS.md, GEMINI.md, .github/copilot-instructions.md) -- project description, coding standards, and conventions
  • Rules files (.cursorrules, .clinerules, .windsurfrules) -- tool-specific rule format with project context
  • Config files (.aider.conf.yml, .aiderignore) -- tool-specific configuration

MCP and Repomix

All built-in kits also auto-generate Repomix configuration:

  • repomix.config.json -- Repomix settings for context generation
  • .repomixignore -- files to exclude from Repomix context

These work with any AI tool that accepts context files.