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

arch-insight

v0.2.2

Published

Multi-platform distribution tooling for the arch-insight skill.

Readme

Arch Insight

English | 中文 | 日本語

A Agent Skill that turns source repositories into design judgment — not rewriting docs, but distilling design philosophy.

Use it to study other people's projects: quickly understand design intent, extract borrowable patterns, and see tradeoffs clearly. And you don't need to re-scan the entire repo in every new conversation.

Why This Skill Exists

Using LLMs to analyze other people's codebases typically runs into these problems:

  • Token waste — scanning the whole repo each time burns through context fast
  • Repeated work — every new conversation starts from zero, re-scanning code you've already read
  • Shallow analysis — you get module lists and flowcharts, but no design reasoning or code evidence
  • Style mismatch — the AI's default writing style is nothing like yours
  • No guidance — you don't know what to ask the AI to analyze, and the AI doesn't know what to look for

arch-insight solves these through phased intake, focused context packing, style alignment, and prompts that push for judgment rather than restatement.

When to Use

  • Studying an open-source project to understand its design intent, not just file structure
  • Judging which patterns are borrowable and which to avoid, for your own project design
  • Generating structured architecture reports for team onboarding or knowledge archiving
  • Writing a technical deep-dive article grounded in source code evidence
  • Creating a repo overview to quickly build a reading map
  • Comparing design approaches across multiple reference repos

When Not to Use

  • Explaining a single file or debugging
  • Routine code review
  • Just drawing call graphs without caring about design philosophy
  • Full-architecture code mapping or exhaustive function analysis

Installation

Recommended (interactive)

npx arch-insight install-release

Platform-specific (non-interactive / CI)

npx arch-insight install-release --platform codex --platform claude

Update

npx arch-insight update --platform codex

| Platform | Install Path | | ----------- | --------------------------------------------- | | Claude Code | Auto marketplace registration | | Codex | ~/.codex/skills/arch-insight/ | | Gemini | ~/.gemini/skills/arch-insight/ | | OpenCode | ~/.config/opencode/skills/arch-insight/ | | Pi | ~/.pi/agent/skills/arch-insight/ | | Kiro | ~/.kiro/skills/arch-insight/ | | Cursor | ~/.cursor/plugins/local/arch-insight/ |

Restart the respective platform after installation.

Usage

Explicit invocation:

Use the arch-insight skill to analyze this repository and generate architecture documentation.

Natural language invocation:

Study the core abstractions and design tradeoffs of this project — I want to reference it for my own architecture design.
Generate a narrative article about the architecture of this codebase.
Give me a source code overview of this repo — I want to quickly build a reading map.

The Skill auto-detects output format from your wording:

  • "blog style" / "publishable long-form" / "like that article" → Narrative Article
  • "overview" / "repo tour" / "source map" → Repo Overview
  • "main report + appendices" / "template output" → Analysis Package
  • Unclear → minimal inference, will not default to Analysis Package

Outputs

Analysis Package

| File | What It Answers | | -------------------------- | ---------------------------------------------- | | ARCHITECTURE_REPORT.md | System overview and overall assessment | | DESIGN_PHILOSOPHY.md | What design principles the author insists on | | CORE_ABSTRACTIONS.md | What the system's "language" is | | MAIN_FLOW.md | Which path best reveals architectural intent | | TRADEOFFS.md | Benefits, costs, alternatives, and boundaries | | BORROWABLE_PATTERNS.md | What other teams can genuinely take away |

Article Modes

  • Narrative Article → single NARRATIVE_ARTICLE.md — opinionated, design-focused, considers migration cost
  • Repo Overview → single REPO_OVERVIEW_ARTICLE.md — fact-dense, scannable, with source paths and reading navigation

Examples

You can reference sample outputs in examples/. Use examples that match your target language.

Workflow

The Skill follows a phased pipeline:

Analysis Package

  1. Repo Intake — determine scope, project type, source and version anchors
  2. Design Philosophy Brain Dump — system mental model, core abstractions, design principle hypotheses
  3. Ecosystem Atlas (on demand) — only for monorepo / multi-service / platform scenarios
  4. Architecture Report — main report + 5 learning appendices

Narrative Article

  1. Repo Intake
  2. Design Philosophy Brain Dump
  3. Narrative Article — single long-form piece with opinions, design lessons, and migration assessment

Repo Overview

  1. Repo Intake
  2. Design Philosophy Brain Dump
  3. Repo Overview Article — fact-dense, clearly structured, scannable, with source paths and reading navigation

When a style sample is provided, the Agent establishes a Style Contract (audience, tone, structural density, evidence format, prohibitions) before writing. The contract takes priority over template defaults.

Design Principles

  • Why before What — understand the problem before explaining the structure
  • Main flow over directory tree — defining paths are more valuable than folder layouts
  • Core abstractions before implementation details — identify the language before reading the grammar
  • Evidence first — every judgment cites a code path
  • Honest about tradeoffs — every design conclusion covers benefits, costs, alternatives, and boundaries
  • Output makes people smarter, not longer — readers learn something, not just see more words
  • Focus, don't exhaust — design philosophy and borrowable patterns over full-architecture code mapping

Limitations

  • Large monorepos may require focusing analysis on key directories
  • Runtime behavior (concurrency models, actual data flows) needs logs, tests, or tracing — pure static analysis is insufficient
  • Dynamic imports, reflection, code generation, and framework magic reduce analysis accuracy
  • Generated reports should be reviewed by project maintainers
  • Multi-repo input defaults to comparative design reference, not full ecosystem audit

Release

For maintainers, follow the standardized release process in docs/RELEASE.md.

Directory Structure

.agents/
├── plugin.json
└── skills/arch-insight/
    ├── SKILL.md                   # Skill entry point (for Agent consumption)
    ├── references/
    │   ├── RUNNER.md              # Execution manual and output contract
    │   ├── prompts/               # Phased analysis prompts
    │   └── templates/             # Report and appendix templates
    └── examples/

Star History

License

MIT