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

@esso0428/pi-skill-tags

v0.1.2

Published

Inline skill tags with autocomplete for the Pi coding agent

Readme

@esso0428/pi-skill-tags

Inline Pi skills anywhere in a prompt with searchable $ autocomplete and compact, theme-aware tags.

Pi prompt editor showing inline skill tags

Features

  • Opens skill autocomplete when you type $
  • Finds loaded project, global, and temporary skills
  • Inserts explicit $[skill-name] tags
  • Renders known tags as width-preserving TUI chips
  • Expands tags into Pi's native skill format on submission
  • Loads repeated skills once and combines multiple skills into one invocation
  • Leaves unknown or unreadable tags unchanged

Example

Prompt editor
┌──────────────────────────────────────────────────────────────┐
│ Review this diff with ✦ review-code  then ✦ write-tests     │
└──────────────────────────────────────────────────────────────┘

Submitted prompt
<skill name="review-code + write-tests" location="multiple skills">
  …trusted instructions from both skills…
</skill>

Review this diff with review-code then write-tests

The chip is cosmetic. The underlying editor text remains $[review-code] or $[write-tests].

Install

From npm:

pi install npm:@esso0428/pi-skill-tags

From GitHub:

pi install git:github.com/esso0428/pi-skill-tags

From a local checkout:

pi install ./pi-skill-tags

Use -l with any pi install command for project-local package configuration. Restart Pi or run /reload after installation or updates.

Usage

  1. Type $ in the prompt editor.
  2. Continue typing to filter loaded skills.
  3. Select a suggestion, or write a tag directly as $[name].
  4. Submit the prompt normally.

Autocomplete labels each skill by scope:

  • Project skill — loaded from the current project's skill directories
  • Global skill — loaded from user-level skill directories
  • Temporary skill — loaded only for the current Pi invocation

Multiple tags collapse into one Pi skill invocation. Repeated tags load the skill only once:

Use $[review-code] on this diff, then $[write-tests] for the fix.

Unknown tags stay as plain text rather than being removed.

Compatibility

  • Pi 0.80.7 is the currently tested release.
  • Node.js 22.19 or newer is required for development and package installation.
  • The package declares Pi's coding-agent and TUI APIs as * peer dependencies, as required by the Pi package format.

Security

Skills are trusted instructions. When a tag is submitted, this extension reads that skill and places its instructions in the model context; those instructions can direct the model to run commands or modify files. Review skills and packages before using them. Pi extensions themselves run with full system access.

Limitations

  • Only loaded skills appear in autocomplete.
  • Tags use skill names containing letters, numbers, _, or -.
  • Unreadable skill files remain unexpanded.
  • The editor integration is intentionally narrow: it wraps only render() for cosmetic tag decoration and delegates all other editor behavior to the active editor.

Development

npm install
npm run setup-hooks
npm run check
npm pack --dry-run

Tests use Node's built-in test runner. TypeScript is loaded directly; no build output is published. The npm package allowlist contains only the two runtime source files and public documentation.

To test a checkout in Pi without copying it:

pi -e ./pi-skill-tags

Intentional main-branch release gate

This repo can enforce an intentional main push workflow through .githooks/pre-push:

  1. publish the version to npm first
  2. wait until npm can resolve that version
  3. push main

Enable it locally with:

npm run setup-hooks

You can manually verify the same rule without pushing:

npm run check:release-gate

If the hook blocks a push, the failure message is intentional and explains the required publish-first workflow. Temporary bypass is still possible with:

SKIP_NPM_GATE=1 git push

Release and publishing

  1. Update version in package.json and package-lock.json.
  2. Add the release notes to CHANGELOG.md.
  3. Run npm ci, npm run check, and npm pack --dry-run.
  4. Create a matching tag such as v0.1.0.
  5. Push the tag to GitHub. The publish workflow verifies that the tag matches the package version, then publishes with npm provenance and public access.

Configure the GitHub Actions secret NPM_TOKEN with an npm granular access token that has Read and write permission for @esso0428/pi-skill-tags and Bypass 2FA enabled. The first scoped publish must permit public access; publishConfig and the workflow both enforce it.

License

MIT