LNAI
Stop maintaining separate config files for every AI coding tool. Define once in .ai/, sync everywhere.
Why LNAI?
- One source of truth — Write your project rules, MCP servers, and permissions once
- Works with your tools — Syncs to native formats each tool actually reads
- Stay in sync — Update
.ai/ and run lnai sync to propagate changes instantly
- Automatic cleanup — Orphaned files are removed when configs change
Supported Tools
| Claude Code | .claude/ |
| Codex | .codex/ |
| Cursor | .cursor/ |
| Gemini CLI | .gemini/ |
| GitHub Copilot | .github/copilot-instructions.md |
| OpenCode | .opencode/ |
| Windsurf | .windsurf/ |
Quick Start
npm install -g lnai
lnai init
lnai validate
lnai sync
Documentation
Full guides and configuration reference at lnai.sh
License
MIT
If you find LNAI helpful, please star us on GitHub!