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

opencode-design-lab

v0.1.2

Published

An OpenCode plugin that generates multiple independent design proposals using different AI models, then systematically evaluates, compares, and ranks those designs in a reproducible and structured way.

Readme

OpenCode Design Lab

An OpenCode plugin that registers a primary design agent and model-specific subagents to generate and review designs directly to Markdown files.

Overview

Design Lab uses a file-first, multi-model workflow:

  • Dynamic model mapping: Subagents are created from your config
  • Correct model usage: Each subagent is bound to its configured model
  • File-first outputs: Designs and reviews are written to disk, not chat
  • Cross-review: The same model set reviews all designs in a single report

Installation

From npm (Future)

npm install opencode-design-lab

From Source

git clone https://github.com/HuakunShen/opencode-design-lab.git
cd opencode-design-lab
bun install
bun run build

Then add to your OpenCode config (~/.config/opencode/opencode.json):

{
  "plugin": ["opencode-design-lab"]
}

Configuration

Create a config file at ~/.config/opencode/design-lab.json or .opencode/design-lab.json:

{
  "design_models": ["claude-sonnet-4", "gpt-4o", "gemini-3-pro"],
  "review_models": ["claude-opus-4", "gpt-5-2"],
  "base_output_dir": ".design-lab",
  "design_agent_temperature": 0.7,
  "review_agent_temperature": 0.1
}

Configuration Options

| Option | Type | Default | Description | | -------------------------- | ---------- | ------------------ | ------------------------------------------------------------------------- | | design_models | string[] | Required | Models to use for design generation (min 2) | | review_models | string[] | design_models | Models to use for reviews. Defaults to all design models if not specified | | base_output_dir | string | .design-lab | Base directory for design lab outputs | | design_agent_temperature | number | 0.7 | Reserved for future use | | review_agent_temperature | number | 0.1 | Reserved for future use | | topic_generator_model | string | First design model | Reserved for future use |

Usage

1. Ask the primary agent to generate designs

Use the designer agent. Example prompt:

Ask all designer_model subagents to design a deepwiki clone. Output each design
as a Markdown file with the model name as the filename.

The primary agent will:

  • Create a run directory under .design-lab/YYYY-MM-DD-topic/
  • Delegate design generation to each designer_model_* subagent
  • Save designs to designs/*.md

2. Ask for cross-reviews

Use the same designer agent to trigger reviews:

Now ask the same set of models to review all designs. Each reviewer outputs one
Markdown report comparing all designs at once.

Review files are saved to reviews/review-*.md.

Output Structure

Each run creates a timestamped directory:

.design-lab/YYYY-MM-DD-topic/
├── designs/
│   ├── claude-sonnet-4.md
│   ├── gpt-4o.md
│   └── gemini-3-pro.md
└── reviews/
    ├── review-claude-opus-4.md
    └── review-gpt-5-2.md

Development

# Build the plugin (outputs to .opencode/plugins/design-lab.js)
bun run build

# Development with watch mode
bun run dev

# Run tests (vitest)
bun run test

# Format code with prettier
bun run format

# Type checking
bun run typecheck