Skip to content

yg init integrates with your AI tool by creating or updating the right instruction file — so the agent knows how to use the repo's semantic memory.

PlatformFile created/updated by yg initTouches user files?
Cursor.cursor/rules/yggdrasil.mdc❌ No
Claude CodeCLAUDE.md (single @... line)⚠️ Minimal (1 line)
GitHub Copilot.github/copilot-instructions.md (append section)⚠️ Appends a section
Cline.clinerules/yggdrasil.md❌ No
RooCode.roo/rules/yggdrasil.md❌ No
CodexAGENTS.md (append section)⚠️ Appends a section
Windsurf.windsurf/rules/yggdrasil.md❌ No
Aider.aider.conf.yml (adds read: entry)⚠️ Minimal (1 line)
Gemini CLIGEMINI.md (single @... line)⚠️ Minimal (1 line)
AmpAGENTS.md (single @... line)⚠️ Minimal (1 line)
Generic.yggdrasil/agent-rules.md❌ No

Notes:

  • "No" — yg init creates a dedicated Yggdrasil file.
  • "Minimal" — one line is added to an existing file.
  • "Append section" — a clearly delimited section is added; no existing content is modified.
  • Codex and Amp both write to AGENTS.md using different formats. Do not initialize both platforms simultaneously.