npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

agents-ln

v0.2.9

Published

Unify, normalize, and synchronize AI coding agent instruction files using symbolic links

Readme

agents-ln

One instruction file. Every AI coding agent reads it.

npm version License: MIT


Claude Code reads CLAUDE.md. Cursor reads .cursorrules. Gemini CLI wants GEMINI.md. If you use more than one agent, you're either copy-pasting instructions or letting them drift.

agents-ln keeps a single _AGENTS.md and symlinks it to wherever each agent looks.

Install

npm install -g agents-ln

Requires Node.js ≥ 18. Both agents-ln and aln are available as commands after install.

What it touches: symlinks in your project root + ~/.config/agents-ln/config.yaml on first run. No network calls, no hooks, no daemons.
Undo: agents-ln clean removes all managed symlinks. npm uninstall -g agents-ln removes the tool.


Quickstart

echo "# Project instructions" > _AGENTS.md
agents-ln init    # pick which agents to enable
agents-ln sync    # create symlinks
→ created  CLAUDE.md                          → _AGENTS.md
→ created  AGENTS.md                          → _AGENTS.md
→ created  GEMINI.md                          → _AGENTS.md
→ created  .cursorrules                       → _AGENTS.md
→ created  .windsurfrules                     → _AGENTS.md
→ created  CONVENTIONS.md                     → _AGENTS.md
→ created  .github/copilot-instructions.md    → ../_AGENTS.md

Edit _AGENTS.md once. Every agent picks it up.


Supported Agents

| Agent | File | Config dir | |-------|------|------------| | Claude Code | CLAUDE.md | .claude/ | | Codex CLI | AGENTS.md | .codex/ | | OpenCode | AGENTS.md | .opencode/ | | Hermes | AGENTS.md | .hermes/ | | Gemini CLI | GEMINI.md | .gemini/ | | Cursor | .cursorrules | .cursor/ | | Windsurf | .windsurfrules | .windsurf/ | | GitHub Copilot | .github/copilot-instructions.md | .github/ | | Aider | CONVENTIONS.md | .aider/ |

Custom paths: add any file to the links array in .agents-ln.yaml.


Commands

| Command | What it does | |---------|-------------| | agents-ln init | Create .agents-ln.yaml, pick agents interactively | | agents-ln sync | Create or fix all configured symlinks | | agents-ln check | Validate symlinks, exit non-zero if broken | | agents-ln clean | Remove managed symlinks (never deletes _AGENTS.md) | | agents-ln doctor | Diagnose environment, config, and provider detection | | agents-ln add skill <url> <name> | Install a skill from a GitHub repo into _agents/skills/ | | agents-ln remove skill <name> | Remove a skill from _agents/skills/ and unregister it from config |

Common flags for sync: --dry-run, --force, --backup, --quiet, --verbose.

Add a _agents/ directory to your project and sync also links each agent's config dir to it:

project/
├── _agents/            ← one shared config directory
│   ├── skills/
│   └── agents/
├── .claude ───────────→ ./_agents/
├── .cursor ───────────→ ./_agents/
├── .opencode ─────────→ ./_agents/
└── .gemini ───────────→ ./_agents/

Skills, snippets, and per-provider config are shared across all agents automatically.

Project config (.agents-ln.yaml):

source: _AGENTS.md
links:
  - CLAUDE.md
  - AGENTS.md
  - GEMINI.md
  - .cursorrules
  - .github/copilot-instructions.md

skills:
  my-skill:
    name: my-skill
    source: https://github.com/user/repo

Global fallback: ~/.config/agents-ln/config.yaml — same format, auto-created with defaults on first sync.

Discovery order: project config → global config → auto-create.

| State | Default | |-------|---------| | Link missing | Create it | | Link correct | Skip (idempotent) | | Points to wrong target | Error — use --force | | Regular file in the way | Error with size + date — use --force or --backup | | Broken symlink | Remove and recreate |

All symlinks are relative — portable across machines, contributors, and CI.


Development

git clone https://github.com/luciancaetano/agents-ln && cd agents-ln
npm install
npm run dev -- sync --dry-run
npm test
npm run build

To add a new provider, edit src/agents_list.ts — it's the only file that needs to change.


License

MIT