Cortex
Universal context engine — compiles a single .cortex/ config into native files for 9 AI coding tools, so your repo context stays DRY.
Developer ToolsAI ContextConfig ManagementJavaScriptCLI
The Problem
Every AI coding tool — Cursor, Windsurf, Claude Code, Copilot, and more — expects its own context file format. Maintaining .cursorrules, CLAUDE.md, .windsurfrules, and others means duplicating the same project context across 9+ files.
What I Built
Cortex is a universal context engine that lets you define your project context once in a .cortex/ directory and compiles it into native config files for every supported AI tool.
- Single Source of Truth — One config directory, 9+ tool outputs
- Compile & Sync — Run
cortex compileto generate or update all tool-specific files - Extensible Format — Add new tool targets without changing your source context
- CLI-First — Lightweight command-line tool that fits into any workflow
Architecture
Built as a JavaScript CLI tool with:
- Template-driven compilation for each target format
- File watcher for auto-recompile on context changes
- Plugin system for adding new AI tool targets