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

@justyork/repo-mind

v0.9.0

Published

Unified docs/ workspace for humans (UI) and AI agents (MCP) — Confluence in your repo

Downloads

1,285

Readme

RepoMind

Unified project knowledge in docs/ — wiki, architecture, ADR, stack, and glossary live in your repository. Humans edit via a Confluence-style UI; AI agents query the same files through MCP. No Confluence or Notion required.

Status

v0.6.1 — live A/B eval (repo-mind ab-eval) for kill-switch proof on real docs/. Also: create_draft MCP, publish --pr (0.6.0). Prior: WYSIWYG editor, keyboard nav, domain labels.

| Artifact | Location | |----------|----------| | Product roadmap | docs/product/wiki/roadmap.md | | Full product vision | idea.md | | docs/ pivot spec | .gstack/projects/repo-mind/specs/2026-06-21-repomind-docs-root-pivot.md | | Design system | DESIGN.md |

Install

npm install -g @justyork/repo-mind

CLI command remains repo-mind (bin alias unchanged).

Quick start

# From npm
npx -y @justyork/repo-mind init
npx -y @justyork/repo-mind setup

# From this repo (local dev)
npm install && npm run build
node dist/cli.js init
node dist/cli.js setup

Then ask your agent a project question — it should call search_docs / get_doc via MCP against the same docs/ you edit in the UI.

CLI commands

| Command | Description | |---------|-------------| | repo-mind init | Scaffold docs/ with example structured pages | | repo-mind setup | Configure Cursor/Claude MCP + CLAUDE.md snippet | | repo-mind check | Validate frontmatter schema and related: links | | repo-mind prepare | Add frontmatter to legacy markdown (--all for batch) | | repo-mind sync-links | Convert markdown links to wikilinks; sync related: | | repo-mind export | Write agents-export.md flat dump to repo root | | repo-mind publish | Publish active drafts to docs/; --pr opens a GitHub pull request | | repo-mind mcp | Start the MCP stdio server | | repo-mind ui | Confluence-style workspace over docs/ (127.0.0.1:3847) | | npm run ab-demo | Validate A/B demo fixture (repo checkout only) | | repo-mind ab-eval | Live A/B eval on project docs/ (skyforge dogfood gate) |

Cursor skill

Agent skill for authoring docs/domains (product, technical, game-design, analytics, …), frontmatter, structure, wikilinks: .cursor/skills/repomind-docs/ (structure.md). Copy to ~/.cursor/skills/repomind-docs/ for other projects.

Web UI

Confluence-style workspace over docs/:

npm run build
repo-mind ui              # http://127.0.0.1:3847
repo-mind ui --port 4000 --cwd /path/to/project

# Local development (uses this repo's dist/, includes latest .env loader):
npm run ui
node dist/cli.js ui

repo-mind ui loads REPOMIND_* variables from the nearest .env (starting at cwd and the docs project root). If you installed @justyork/repo-mind globally, run npm link in this repo after npm run build so repo-mind ui uses the local build.

  • Catalog tree — docs by domain (Product, Technical, …) and type
  • Prepare — recursively find markdown without frontmatter; add schema in one click
  • Drafts + Publish — SQLite drafts, publish to docs/*.md
  • Health — schema check, publish queue, export agents-export.md
  • Graph — full-page view at /graph.html
  • Ask — documentation assistant (BYOK): floating chat button, natural-language Q&A with source links
  • Theme — light (default) / dark toggle

Binds 127.0.0.1 only. MCP reads published files in docs/ only (not SQLite drafts).

Ask assistant (BYOK)

Click the chat icon in the bottom-right corner to open the documentation assistant. Answers are grounded in published docs/ via the same retrieval path as MCP (search_docsget_doc). Each answer includes links to source pages (?slug=).

Configure your provider API key in Ask → Settings (stored in browser localStorage only) or set a team default:

Or set a team default in project .env (loaded automatically by repo-mind ui):

REPOMIND_ASK_API_KEY=sk-...
REPOMIND_ASK_PROVIDER=openai
REPOMIND_UI_PASSWORD=your-password

| Variable | Description | |----------|-------------| | REPOMIND_ASK_API_KEY | Optional server default API key | | REPOMIND_ASK_PROVIDER | openai (default) or anthropic | | REPOMIND_ASK_MODEL | Override model (default: gpt-4o-mini / claude-3-5-haiku-latest) |

MCP tools

  • list_docs — filter by type, status, tag
  • search_docs — ranked full-text search
  • get_doc — fetch one doc by slug
  • get_glossary_term — resolve glossary entries
  • explore_graph — BFS over related: links
  • create_draft — create a SQLite draft for human review (gated on kill-switch pass)

CI

Add to GitHub Actions or pre-commit:

- run: npx @justyork/repo-mind check

Development

npm install
npm run build
npm test

gstack workflow

This repo is developed with gstack. Project artifacts live in .gstack/projects/repo-mind/ (versioned in git). Set GSTACK_HOME=.gstack when working in this repo (see .env).

Roadmap

See docs/product/wiki/roadmap.md for v4.0–v4.2 phases. v4.2 agent write shipped in 0.6.0 (gated); next: v4.0 prove closure (dogfood + hallucination scoring).

License

MIT