lnai
v0.6.0
Published
CLI tool that syncs a unified .ai/ config to native formats for AI coding tools
Maintainers
Readme
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 runlnai syncto propagate changes instantly
Supported Tools
| Tool | Config Generated |
| -------------- | --------------------------------- |
| 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 # Create .ai/ configuration
lnai validate # Check for errors
lnai sync # Export to native tool configsDocumentation
Full guides and configuration reference at lnai.sh
License
MIT
If you find LNAI helpful, please star us on GitHub!
