frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LNAI – Define AI coding tool configs once, sync to Claude, Cursor, Codex, etc.

https://github.com/KrystianJonca/lnai
14•iamkrystian17•1h ago

Comments

iamkrystian17•1h ago
I've been using Claude Code, Cursor, and Codex on the same projects. Each tool has its own config format: Claude wants `.claude/`, Cursor wants `.cursor/`, Codex wants `.codex/`. Every time I updated a skill/rule, I had to update it in 3+ places. Usually I'd forget one, and my tools would give inconsistent suggestions. LNAI is a CLI that lets you define your AI configs once in a `.ai/` directory:

.ai/ ├── AGENTS.md ├── rules/ ├── skills/ └── settings.json # MCP servers, permissions

Run `lnai sync` and it exports to native formats for 7 tools: Claude Code, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf, and Codex. The interesting part is it's not just copying files. Each tool has quirks:

- Cursor wants `.mdc` files with `globs` arrays in frontmatter - Gemini reads rules at the directory level, so rules get grouped - Permissions like `Bash(git:*)` become `Shell(git)` for Cursor - Some tools don't support certain features (e.g., Cursor has no "ask" permission level). LNAI warns but doesn't fail

Where possible, it uses symlinks. So `.claude/CLAUDE.md` → `../.ai/AGENTS.md`. Edit the source, all tools see the change immediately without re-syncing.

Usage:

npm install -g lnai lnai init # Creates .ai/ directory lnai validate # Checks for config errors lnai sync # Exports to all enabled tools

It's MIT licensed. The code is TypeScript with a plugin architecture, each tool is a plugin that implements import/export/validate. GitHub: https://github.com/KrystianJonca/lnai Docs: https://lnai.sh

Would appreciate feedback, especially from anyone else dealing with this config hell problem.

OsamaJaber•23m ago
Nice. The config fragmentation across tools is a real annoyance Does it handle conflicts if tools expect different formats for the same setting?
iamkrystian17•11m ago
Yes, the tool takes that into account and transforms mcps/permissions/rules to different tool formats. Sadly some tools might not support fine-grained permissions (e.g. Codex) in which case a warning will be displayed but everything else will get transformed/symlinked. Additionally you can put per-tool overrides in ‘.ai/{codex/claude/cursor/etc.}/‘ if needed and lnai will automatically symlink those overrides to respective tools.
anupamchugh•6m ago
This solves distribution well. Curious about the change propagation story though - what happens when you update your .ai/ source and tools have cached/transformed versions?

I ran into this building a spec/skill sync system [1] - the "sync once" model breaks down when you need to track whether downstream consumers are aware of upstream changes.

  [1] https://github.com/anupamchugh/shadowbook

Europe's tech sovereignty watch (74% of EU companies depend on US tech services)

https://proton.me/business/europe-tech-watch
2•giuliomagnifico•2m ago•0 comments

A11yJSON: A standard to describe the accessibility of the physical world

https://sozialhelden.github.io/a11yjson/
1•robin_reala•6m ago•0 comments

Show HN: Maths Worksheet Generator – Fun printable worksheets for kids

https://maths.antfie.com
1•antfie•6m ago•0 comments

How to Convert OST Files to PST

https://apps.microsoft.com/detail/9p62fq9z8x7p?hl=en-US&gl=US
1•tieanderson•6m ago•1 comments

The API Tooling Crisis: Why developers are abandoning Postman and its clones?

http://efp.asia/blog/2025/12/24/api-tooling-crisis/
1•birdculture•9m ago•0 comments

EU-based transactional email service

https://lettermint.co
1•Aldipower•10m ago•0 comments

How to Evaluate an Online Tarot Platform (and What Most Users Overlook)

https://medium.com/@enrique_15267/how-to-evaluate-an-online-tarot-platform-and-what-most-users-ov...
1•astroideal•13m ago•0 comments

Erys: Terminal Interface for Jupyter Notebooks

https://github.com/natibek/erys
1•gballan•15m ago•0 comments

Sealos – AI Native Cloud Cloud Operating System

https://github.com/labring/sealos
1•fanux•16m ago•0 comments

Remote Access to Long-Running AI Tasks: A Tmux and Tailscale Setup Guide

https://orangehill.dev/posts/how-to-remotely-monitor-your-claude-code-sessions-from-your-phone
1•tihomiropacic•16m ago•0 comments

Paris prosecutors raid France offices of Elon Musk's X

https://www.bbc.com/news/articles/ce3ex92557jo
6•vikaveri•18m ago•2 comments

Show HN: Nioh guide site – release info, beginner guides, and builds

https://nioh3.net/
1•tanjump•22m ago•0 comments

Show HN: Highguard Wiki – tier lists, wardens and weapons, beginner guides

https://highguard.app/
1•tanjump•23m ago•0 comments

Raw₿It – Visual Raw Transaction Builder and Script Debugger (Open-Source)

https://github.com/rawBit-io/rawbit
1•rawBit_io•25m ago•1 comments

The Vcdiff Generic Differencing and Compression Data Format (2002)

https://datatracker.ietf.org/doc/html/rfc3284
1•yagizdegirmenci•27m ago•0 comments

Even remote Pacific fish are full of microplastics

https://www.sciencedaily.com/releases/2026/02/260203020202.htm
2•ag220906•27m ago•0 comments

LLMs as the new high level language

https://federicopereiro.com/llm-high/
1•swah•27m ago•0 comments

Matchbox: A record matching and entity resolution orchestration tool

https://github.com/uktrade/matchbox
1•RobinL•33m ago•0 comments

European pensions are in dire need of reform

https://www.economist.com/graphic-detail/2025/12/01/european-pensions-are-in-dire-need-of-reform
2•simonebrunozzi•34m ago•1 comments

Show HN: Browser based state machine simulator and visualizer

https://svylabs.github.io/smac-viz/
1•sridhar87•34m ago•0 comments

U.S. Federal Data Is Disappearing

https://www.notus.org/trump-white-house/federal-data-is-disappearing
2•giuliomagnifico•34m ago•0 comments

The Human Web Is Becoming Agent Web

https://www.nibzard.com/agent-web
1•nkko•35m ago•0 comments

Sega Saturn Does Ray Tracing – and No, We're Not Joking

https://www.digitalfoundry.net/news/2026/02/sega-saturn-does-ray-tracing-and-no-were-not-joking
1•XzetaU8•36m ago•0 comments

Show HN: Launch Tabs Chrome extension to organize and open tabs with one click

https://chromewebstore.google.com/detail/launch-tabs/gapmfdmhicblofohehiflgdelmjmpogg
1•KodyBerns99•38m ago•0 comments

What is and is not considered thread safe by Excel

https://learn.microsoft.com/en-us/office/client-developer/excel/multithreaded-recalculation-in-excel
1•Someone•41m ago•0 comments

DatingX – Your AI Dating Co-Pilot

https://www.datingx.ai
1•ankit_sparks•43m ago•1 comments

DNS Explained – How Domain Names Get Resolved

https://www.bhusalmanish.com.np/blog/posts/dns-explained.html
2•okchildhood•44m ago•2 comments

The New Mexico cave expanding our search for alien life

https://www.bbc.com/future/article/20260130-how-deep-caves-are-transforming-our-search-for-extrat...
3•tigerlily•44m ago•0 comments

Cross-Region MSK Replication: K2K vs. MirrorMaker2

https://medium.com/lensesio/cross-region-msk-replication-a-comprehensive-performance-comparison-o...
1•andmarios•45m ago•1 comments

A (nearly) perfect USB cable tester

https://blog.literarily-starved.com/2026/02/technology-the-nearly-perfect-usb-cable-tester-does-e...
1•fanf2•45m ago•0 comments