Skip to content
Agentmart
Submit a tool

npm-search

Search for npm packages to solve problems instead of writing custom code.

Skill by yokuze

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yokuze-npm-search

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Search for npm packages to solve problems instead of writing custom code. Use when the user needs functionality that likely exists as a package, or when evaluating whether to build vs. use an existing solution.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/npm-search

What's inside

Skill name
npm-search
Description
Search for npm packages to solve problems instead of writing custom code. Use when the user needs functionality that likely exists as a package, or when evaluating whether to build vs. use an existing solution.
License
MIT
Instructions
70 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# NPM Search

Before writing custom code to solve a problem, check if an npm package already exists.
This saves time, reduces bugs, and leverages community-tested solutions.

## When to use this skill

   * The project has a package.json file and uses NPM/Node
   * User asks for functionality that sounds like a common problem (date formatting,
     validation, HTTP requests, etc.)
   * You're about to write > 100 lines of utility code
   * A package that solves the problem is not already in package.json
   * User explicitly asks to find a package

## How to search

Run `npm search` with relevant keywords:

```bash
npm search <keywords> --long
```

The `--long` flag shows additional details including description, author, date, version,
and keywords.

### Search tips

- Use multiple keywords to narrow results: `npm search date format timezone --long`
- Try synonyms if initial search yields poor results
- Search for the problem, not the solution (e.g., "csv parse" not "string split comma")

## Evaluating packages

When presenting options to the user, consider:

1. **Popularity** - Higher download counts generally indicate reliability and community
   support
2. **Maintenance** - Check the publish date; prefer packages updated within the last year
3. **Fit** - Does it solve the exact problem without excessive overhead?

### Present to user

When the user is looking for a package, include:

   * Package name
   * Description
   * Version
   * Weekly downloads (if available via `npm view <pkg> --json`)
   * Last publish date
   * License

### Acceptable trade-offs

For niche problems, less popular or less recently maintained packages are acceptable if:

   * They solve the specific problem well
   * No better alternatives exist
   * The code is simple enough to fork/maintain if needed

## Example workflow

1. User asks: "I need to validate email addresses"
2. Check if a package is already in package.json. If not:
   1. Search: `npm search email validate --long`
   2. Evaluate top results for popularity and maintenance
   3. Recommend 1-3 options with rationale
   4. If user approves, install with `npm install --save-exact <package>` (or --save-dev
      if it's a dev dependency)

From yokuze/aix-config, MIT.

Signals

Stars
1
Forks
1
Open issues
0
Last commit (this folder)
Feb 14, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yokuze

Cite this page

npm-search skill. Agent Mart. https://agentmart.dev/skills/yokuze-npm-search (last updated 2026-10-24)