GitHub - KrystianJonca/lnai: Unified AI configuration management CLI

1 min read Original article ↗

Skip to content

Navigation Menu

LNAI Logo

npm version npm downloads build status license GitHub stars

LNAI

Stop maintaining separate config files for every AI coding tool. Define once in .ai/, sync everywhere.

LNAI Demo

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

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 configs

Documentation

Full guides and configuration reference at lnai.sh

License

MIT


If you find LNAI helpful, please star us on GitHub!

Sponsor this project