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

skill-activate

v0.1.4

Published

Improve Claude Code skill activation reliability with one command.

Readme

skill-activate

npm version GitHub Repo GitHub stars License: MIT Node.js >=18

Star the repo: https://github.com/realsahilsaini/skill-activate

Claude Code can miss relevant skills when responding to prompts.

skill-activate installs a forced-eval hook and rewrites skill descriptions so Claude evaluates and activates relevant skills before every response.

One-line install

npx skill-activate install

Revert to original state anytime:

npx skill-activate uninstall

Follow development and contribute: https://github.com/realsahilsaini/skill-activate

Reliability impact

  • Before: skill activation can be inconsistent for relevant prompts.
  • After install: prompts are forced through explicit skill evaluation and activation before implementation.

How it works

  • Rewrites each skill description into a directive format with clear triggers and a hard activation instruction.
  • Installs a UserPromptSubmit hook that injects a mandatory evaluation-and-activation sequence before every prompt.
  • Patches Claude settings safely and idempotently, then validates everything with a readable report.

Commands

| Command | What it does | | --- | --- | | npx skill-activate install | Full setup: rewrite descriptions, install hook, patch settings, validate | | npx skill-activate scan | Detect and list installed SKILL.md files only | | npx skill-activate uninstall | Remove hook wiring and restore all .bak files under skills | | npx skill-activate status | Verify if hook is present and correctly wired |

How this works under the hood

skill-activate uses Claude Code's UserPromptSubmit lifecycle hook to prepend a mandatory instruction block on each user message. That block forces Claude to:

  1. Evaluate each available skill (YES or NO with reason)
  2. Activate every YES skill through Skill() immediately
  3. Only then continue with implementation

Reference: Anthropic Claude Code hooks docs: https://docs.anthropic.com/en/docs/claude-code/hooks

Output example

skill-activate setup report
───────────────────────────────────────
✓ Claude Code detected at ~/.claude
✓ Hook installed: ~/.claude/hooks/skill-forced-eval-hook.sh (executable)
✓ settings.json patched (UserPromptSubmit wired)
✓ 3 skills found and descriptions rewritten:
    → express-skill.md
    → mongoose-skill.md
    → jwt-auth-skill.md
✓ Backups saved as .bak files

Activation consistency improved with forced-eval hook.
───────────────────────────────────────
Restart Claude Code to apply changes.

Development

npm install
npm test
node bin/cli.js install

How to contribute

  1. Fork the repo and create a feature branch.
  2. Run tests locally (npm test) before opening a PR.
  3. Add or update tests for behavior changes.
  4. Keep changes local-only (no external API dependencies).
  5. Open a PR with a clear before/after summary.

If this helped you, please star and watch the repo for updates:

  • Star: https://github.com/realsahilsaini/skill-activate/stargazers
  • Watch: https://github.com/realsahilsaini/skill-activate/watchers
  • Issues: https://github.com/realsahilsaini/skill-activate/issues

Compatibility

  • Node.js 18+
  • macOS and Linux (native shell hook execution)
  • Windows with WSL for shell hook execution

Troubleshooting

  • Error: Unknown skill: ... : This usually means the skill id was normalized (for example, algorithmic-art changed to algorithmic art). Re-run npx skill-activate@latest install to apply the newest compatibility behavior. Version 0.1.2+ automatically creates compatibility aliases for hyphenated and underscored skill ids.

License

MIT