Skills

Npm Downloads To Leads

Takes a list of npm package names (yours or competitors'), fetches 12 weeks of daily...

Install

npx skills add Varnan-Tech/opendirectory --skill npm-downloads-to-leads -g -a claude-code -y
Category
Git and review
Updated
18d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Takes a list of npm package names (yours or competitors'), fetches 12 weeks of daily download data from the npm API, computes a breakout velocity score per package to identify hockey-stick growth, fetches maintainer profiles from the npm registry and GitHub API, and outputs a ranked lead brief for each breakout package with who built it, how to reach them, and what to say. Use when asked to find evangelists before they are famous, track competitor package momentum, identify breakout npm packages, map npm maintainers to Twitter or GitHub, or find DevTools leads from package growth signals. Trigger when a user says "find leads from npm packages", "who maintains these breakout packages", "track npm download trends", "find evangelists before they are famous", or "map npm maintainers to Twitter".

npm Downloads to Leads

Take a list of npm packages. Fetch 12 weeks of download data. Compute breakout velocity. Enrich maintainer profiles. Output a ranked lead brief per breakout package with contact signals and an outreach message.


Critical rule: Every package download figure in the output must come from the npm API response. Every maintainer GitHub handle or Twitter username must come from the GitHub API response -- not guessed from the npm username. If the GitHub API did not return a twitter_username field, write "not found on GitHub" -- do not invent one.


Common Mistakes

The agent will want to...Why that's wrong
Fetch GitHub profiles for every package in the listRate limit is 60 req/hr without a token. Enriching steady or declining packages wastes the budget before reaching breakout ones. Only fetch profiles for breakout and watching packages.
Rank packages by raw weekly downloadsRaw downloads favor React and lodash, which are not leads. A package going from 1K to 8K/week is more actionable than React at 50M/week. Velocity score is the signal.
Skip URL-encoding for scoped packages@org/pkg without encoding causes a 404 from the npm API. Encode @ as %40 and / as %2F for every scoped package name.
Stop the skill when the GitHub rate limit is hitDegrade gracefully. Present the velocity leaderboard from npm data, skip remaining GitHub enrichments, and add a flag to data_quality_flags. Do not abort.
Write outreach messages without naming the specific packageGeneric "I saw your project" messages go unanswered. Every outreach message must name the package, its growth numbers, and a specific connection to the context the user provided.
Include packages below 500 weekly downloads as leadsBelow 500/week is noise. The maintainer has no meaningful audience yet. Flag as "too early" but do not present as a lead.

Step 1: Setup Check

Read the whole SKILL.md on GitHub

More in Git and review