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

market-lens

v0.1.4

Published

Three investment research lenses: momentum (what's trending), contrarian (undervalued hidden gems), and balanced (Boglehead-style ETF portfolio). Works with Claude Code, Gemini CLI, OpenAI Codex, Cursor, and any Agent Skills-compatible harness.

Downloads

733

Readme

Investment Research Skills

Three autonomous investment research skills that crawl financial data sources and produce structured research briefs. Not financial advice.


Skills

| Skill | What it does | Data sources | |---|---|---| | invest-momentum | Finds what retail and institutional money is chasing right now | Reddit RSS, StockTwits, Finviz movers, ETF inflows | | invest-balanced | Builds a Boglehead-style core + satellite portfolio | r/Bogleheads, ETFDB category leaders, FRED rates, VIX | | invest-contrarian | Surfaces undervalued names Wall Street is ignoring | Reddit value subs, OpenInsider cluster buys, Finviz 52w-low, SEC 13D filings |


Install

Via skillpm (recommended)

npx skillpm install market-lens

Manual symlink

ln -s $(pwd)/skills/invest-momentum  ~/.claude/skills/invest-momentum
ln -s $(pwd)/skills/invest-balanced  ~/.claude/skills/invest-balanced
ln -s $(pwd)/skills/invest-contrarian ~/.claude/skills/invest-contrarian

Works with Claude Code, Gemini CLI, Cursor, VS Code Copilot, and any harness that supports SKILL.md.


How it works

Each skill runs two parallel agent waves:

  1. Scout wave — 3–4 sub-agents crawl distinct sources concurrently, return JSON pick arrays
  2. Analyst wave — 5 sub-agents deep-dive each ticker in parallel
  3. scripts/allocate.py splits a dollar amount across picks by weight
  4. scripts/generate_html.py writes reports/<timestamp>-<skill>.html + .json

Contrarian picks are scored on a 4-ingredient checklist: TAM expansion, supply constraint, ignored by Wall St, upcoming catalyst. Balanced weights: core slots 35/25/20%, satellite slots 12/8%.


Output

Reports land in reports/ as a styled HTML dashboard and a raw JSON file.


Directory layout

market-lens/
  skills/
    invest-momentum/
      SKILL.md
      agents/
        scout-reddit.md
        scout-stocktwits.md
        scout-finviz.md
        scout-etfflows.md
        analyst.md
    invest-balanced/
      SKILL.md
      agents/
        scout-reddit.md
        scout-etfdb.md
        scout-macro.md
        analyst.md
    invest-contrarian/
      SKILL.md
      agents/
        scout-reddit.md
        scout-insider.md
        scout-finviz.md
        scout-sec.md
        analyst.md
  scripts/
    allocate.py
    generate_html.py
  reports/