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

@devlensio/skill

v0.2.1

Published

Installer for the DevLens Agent Skill — adds the /devlens skill (architecture, diagrams, security analysis, impact, summaries) to Claude Code, Cursor, and other AI coding tools.

Readme

@devlensio/skill

Installs the DevLens Agent Skill (/devlens) into your AI coding tool. The skill teaches the agent to drive the DevLens CLI — querying a precomputed code graph (nodes, typed edges, technical/business/security summaries) instead of grepping and reading whole files.

Install

# Install into the AI tools detected in this project (defaults to Claude Code if none found)
npx @devlensio/skill install

# Force a specific tool
npx @devlensio/skill install --harness=cursor

# Install into your home directory instead of the current project
npx @devlensio/skill install --global

# Re-copy after an update / overwrite an existing install
npx @devlensio/skill update          # or: install --force

# See whether your install is up to date
npx @devlensio/skill check

Requires the DevLens CLI itself: npm install -g @devlensio/cli. Behind a corporate proxy? set NODE_EXTRA_CA_CERTS to your org root CA.

After installing, reload your tool and type /devlens — e.g. /devlens architecture, /devlens security-analysis, /devlens diagram.

Supported tools

| Harness | Project skills dir | Global (--global) dir | | :-- | :-- | :-- | | Claude Code | .claude/skills/devlens/ | ~/.claude/skills/devlens/ | | Cursor | .cursor/skills/devlens/ | ~/.cursor/skills/devlens/ | | Kilo Code | .kilo/skills/devlens/ | ~/.kilocode/skills/devlens/ | | opencode | .opencode/skills/devlens/ | ~/.config/opencode/skills/devlens/ | | pi | .agents/skills/devlens/ | ~/.pi/agent/skills/devlens/ |

Without --harness, the installer auto-detects which tools are in use from their marker dirs (.claude, .cursor, .kilo/.kilocode, .opencode, .pi/.agents) and installs to each. (.agents/skills/ is a shared convention also read by Kilo Code and opencode.)

Claude Code users can alternatively install via the plugin marketplace:

/plugin marketplace add devlensio/devlensOSS
/plugin install devlens@devlensio

For maintainers

How this package is built

The skill content has one source of truth: plugins/devlens/skills/devlens/ in this repo (the Claude plugin). This installer package does not keep its own copy in git. Instead, a copy is generated at publish time:

  • scripts/bundle-skill.mjs copies that source skill into packages/skill-installer/skill/.
  • It runs automatically on the prepack npm lifecycle hook (i.e. before npm pack / npm publish).
  • skill/ is gitignored — it only exists transiently during a publish.

This is why the package can't just reference ../../plugins/...: an npm tarball can only contain files inside the package directory, so the skill must be bundled in.

package.json fields that matter

  • bin ({ "skill": "bin/skill.mjs" }) — declares the executable. This is what makes npx @devlensio/skill … resolve to and run bin/skill.mjs.
  • files (["bin/", "skill/"]) — the whitelist of what ships in the tarball. Paths are relative to this package.json, so bin/ = packages/skill-installer/bin/ and skill/ = packages/skill-installer/skill/. scripts/ is intentionally not listed — bundle-skill.mjs is a build-time tool and must not ship.
  • prepack script — runs bundle-skill.mjs to populate skill/ before packing.

So bin/skill.mjs runs on the user's machine; scripts/bundle-skill.mjs runs on the publisher's machine. Same package, two roles.

Releasing a new version

The skill product is versioned independently of the @devlensio/cli. The version lives in two files that must stay identical:

  • packages/skill-installer/package.json → drives npx @devlensio/skill update
  • plugins/devlens/.claude-plugin/plugin.json → gates Claude /plugin update

Stamp both at once from the repo root:

node scripts/set-skill-version.mjs 0.2.0

Then publish each channel:

# npx installer
cd packages/skill-installer && npm publish        # prepack rebundles skill/; first publish: --access public + 2FA

# Claude plugin
git commit -am "skill 0.2.0" && git push           # users update via /plugin update

Do not add these versions to the CLI's scripts/set-version.mjs — keeping them separate ensures a CLI release never bumps the skill.