/npms-io:npms-suggestfrom npms-io
Get npm package name suggestions and autocomplete from NPMS.io. Use when the user asks for package name suggestions, wants to autocomplete a package name, or search for packages by name pattern.
Ships in npms-io. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Get package name suggestions and autocomplete from NPMS.io based on a search query.
npx tsx scripts/suggest.ts <query> [options]
| Argument | Required | Description |
|---|---|---|
query | Yes | Search query (minimum 2 characters) |
| Option | Description |
|---|---|
--size=N | Number of suggestions to return (default: 25, max: 250) |
--no-cache | Bypass cache and fetch fresh data from API |
Suggestions for "react" (25 results)
------------------------------------
1. react
Score: 1000000
URL: https://www.npmjs.com/package/react
2. react-dom
Score: 950000
URL: https://www.npmjs.com/package/react-dom
3. react-redux
Score: 923000
URL: https://www.npmjs.com/package/react-redux
...
Top 10 suggestions:
react, react-dom, react-redux, react-router, react-scripts,
react-native, react-hook-form, react-query, react-test-renderer
npx tsx scripts/suggest.ts <query> [options]
Options:
--size=N - Number of suggestions to return (default: 25, max: 250)--no-cache - Bypass cache and fetch fresh data from APIRun from the npms-io plugin directory: ~/.claude/plugins/cache/npms-io/
GET https://api.npms.io/v2/search/suggestions?q={query}
| Parameter | Required | Description |
|---|---|---|
q | Yes | Search query (minimum 2 characters) |
Get suggestions:
https://api.npms.io/v2/search/suggestions?q=react
Scoped packages:
https://api.npms.io/v2/search/suggestions?q=@babel
The response contains an array of package suggestions:
[
{
"name": "react",
"score": 1000000,
"searchScore": 1000000
},
{
"name": "react-dom",
"score": 950000,
"searchScore": 950000
}
]
Fields:
name - Package namescore - Package quality score (higher is better)searchScore - Relevance to the search query (higher is better)@scope/ prefix to search within a scopeSuggestions are cached for 1 hour. The package registry changes relatively slowly, and suggestion results remain stable for reasonable periods.
Use the --no-cache flag to bypass the cache.
npms-analyze to analyze specific package qualitynpms-compare to compare multiple packagesnpm-search for full-text search by keyword and descriptionFind exact package name:
npx tsx scripts/suggest.ts react
Find packages starting with a prefix:
npx tsx scripts/suggest.ts react-
Search within a scope:
npx tsx scripts/suggest.ts @babel/
npx tsx scripts/suggest.ts @types/react
Find packages containing a term:
npx tsx scripts/suggest.ts express
npx tsx scripts/suggest.ts router
Discover packages when you know part of the name:
npx tsx scripts/suggest.ts redux
Implement autocomplete for package input:
npx tsx scripts/suggest.ts --size=10 reac
Find related packages by name pattern:
npx tsx scripts/suggest.ts router
Explore packages in a specific scope:
npx tsx scripts/suggest.ts @babel/
npx tsx scripts/suggest.ts @types/
- to find packages with specific prefixes@scope/ to browse scoped packagesnpms-analyze to review package quality before usingnpms-compare to evaluate multiple packages| Feature | npms-suggest | npm-search |
|---|---|---|
| Searches | Package names only | Names, descriptions, keywords |
| Speed | Very fast (name-only) | Slower (full-text) |
| Results | Name-based matches | Semantic matches |
| Best for | Autocomplete, name discovery | General package search |
npm-searchWhat SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/npms-analyzeAnalyze npm package quality using NPMS.io scores for quality, popularity, and maintenance. Use when the user asks for package quality analysis, NPMS scores, or package evaluation metrics./npms-compareCompare multiple npm packages side-by-side using NPMS.io quality scores. Use when the user asks to compare packages, evaluate alternatives, or choose between multiple options.npx claudepluginhub mearman/marketplace --plugin npms-ioOther plugins' skills for the same job