Project — 2026
ContextAI
Universal context engineering CLI for AI coding agents. Define your project's conventions, stack, and architecture in a single context.config.ts file, then generate AI-readable context files for multiple tools from that single source of truth.
How It Works
01
Run init
Interactive wizard detects your framework and creates context.config.ts with sensible defaults.
02
Describe your project
Add your stack, conventions, architecture, and rules you want every AI agent to follow.
03
Generate
Run generate once — or use watch mode to keep all output files in sync automatically.
04
Stay in sync
Validate and diff commands check that all AI context files reflect your latest config.
Supported Output Targets
OpenAI Codex / generic agents
AGENTS.md
Claude
CLAUDE.md
Cursor
.cursorrules
GitHub Copilot
.github/copilot-instructions.md
LLMs.txt
llms.txt
Kiro (AWS)
.kiro/steering/*.md
Windsurf
.windsurf/rules/*.md
Gemini CLI / Antigravity
GEMINI.md
Custom
any path via config
Commands
contextai initInteractive setup wizard
contextai generateGenerate output files from config
contextai generate --dry-runPreview output without writing files
contextai generate --format jsonOutput JSON IR to stdout
contextai validateCheck output files are fresh and well-structured
contextai diffShow diff between config and on-disk outputs
contextai watchWatch config for changes and regenerate automatically