Vike integrates with AI agents via:

llms.txt

Vike's documentation index lives at vike.dev/llms.txt — a compact overview of Vike's docs for AI agents.

Most AI models are familiar and proficient with Vike. But for advanced Vike features AI can make mistakes.

Therefore, if your AI agent doesn't automatically load it (see Skill below), we recommend nudging your agent to read vike.dev/llms.txt whenever it uses Vike in an uncommon way.

Skill

Vike automatically adds the following skills/vike/SKILL.md to make AI agents (Claude Code, Codex, Cursor, Gemini CLI, ...) automatically aware of Vike's documentation.

---
name: "vike"
description: "Vike documentation index — a compact overview of Vike's docs. Consider consulting it, e.g. when using uncommon Vike APIs or when stuck on a Vike problem."
---
 
See https://vike.dev/llms.txt

Upon running the development server, Vike adds vike/SKILL.md to every existing skills/ directory (**/skills/*/SKILL.md, e.g. .agents/skills/) and automatically Git-commits it. If vike/SKILL.md is outdated, Vike updates it (and Git-commits the change).

Vike skips adding vike/SKILL.md if:

  • Your app doesn't contain any skills/ directory (unless you set +ai.skill to a list of directories)
  • The setting +ai.skill is false
  • You're in a CI environment
  • Your app isn't inside a Git repository

    If you .gitignore your skills directory, Vike still creates vike/SKILL.md but doesn't Git-commit it.

// pages/+config.js
 
export default {
  ai: {
    // Never add (nor update) vike/SKILL.md
    skill: false,
    // Add vike/SKILL.md to exactly these directories
    skill: ['.agents/skills', '.claude/skills']
  }
}
// pages/+config.ts
 
import type { Config } from 'vike/types'
 
export default {
  ai: {
    // Never add (nor update) vike/SKILL.md
    skill: false,
    // Add vike/SKILL.md to exactly these directories
    skill: ['.agents/skills', '.claude/skills']
  }
} satisfies Config

See also