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

@by-lua/lspec-subagents

v1.0.5-beta.2

Published

L-Spec Subagents — 9 specialized agents for PI.dev with centralized model config (inspired by oh-my-opencode-slim). Forked from @tintinweb/pi-subagents.

Readme

lspec-subagents

9 specialized sub-agents for PI.dev — standalone extension with centralized configuration model.

Inspired by oh-my-opencode-slim. Fork of @tintinweb/pi-subagents — default agents (general-purpose, Explore, Plan) completely removed, only the 9 L-Spec agents exist.

Install, Update, Uninstall

# Install
pi install npm:@by-lua/lspec-subagents

# Update
pi update npm:@by-lua/lspec-subagents

# Uninstall
pi uninstall npm:@by-lua/lspec-subagents

Alternative (Git): curl -fsSL https://raw.githubusercontent.com/by-lua/lspec-subagents/main/install.sh | bash

Agents

  • orchestrator — Central L-Spec workflow coordinator (claude-sonnet-4)
  • explorer — Fast codebase navigation, read-only (gpt-4o-mini)
  • librarian — External docs and APIs research (claude-sonnet-4)
  • oracle — Senior architect, code review, read-only (claude-opus-4)
  • designer — UI/UX specialist (claude-sonnet-4)
  • fixer — Fast task implementation (claude-sonnet-4)
  • observer — Visual analysis (images, PDFs, screenshots) (gpt-4o-mini, vision-capable)
  • council — Multi-model consensus (spawns councillors) (claude-opus-4)
  • councillor — Individual council member (gpt-4o-mini)

Centralized Model Configuration

Models are placeholders ({{model:orchestrator}}) resolved at runtime via JSON.

How to configure

Create lspec-model-config.json in:

  • Global: ~/.pi/agent/lspec-model-config.json
  • Project: .pi/lspec-model-config.json (overrides global)
{
  "agents": {
    "orchestrator": "claude-sonnet-4",
    "explorer": "gpt-4o-mini",
    "librarian": "claude-sonnet-4",
    "oracle": "claude-opus-4",
    "designer": "claude-sonnet-4",
    "fixer": "claude-sonnet-4",
    "observer": "gpt-4o-mini",
    "council": "claude-opus-4",
    "councillor": "gpt-4o-mini"
  }
}

You can use any model available from your provider. The observer requires a model with vision.

💡 Tip: After changing a model in the "Agent types" UI, run /reload in the PI chat to apply the change — this forces the agents list to re-read the model config.

Resolution order

  1. Project (.pi/lspec-model-config.json) — highest priority
  2. Global (~/.pi/agent/lspec-model-config.json)
  3. Built-in defaults (claude-sonnet-4, gpt-4o-mini, claude-opus-4)

How to use

In PI, use the Agent tool with the agent type:

Agent(agent_type="explorer", prompt="Find all React components in src/")
Agent(agent_type="orchestrator", prompt="Run L-Spec Discovery for the auth feature")

Or customize agent .md files in .pi/agents/ to override defaults.

Differences from original pi-subagents

  • 9 L-Spec agents built into code (not override by .md)
  • Zero default agents — general-purpose/Explore/Plan removed from source
  • Model placeholders ({{model:orchestrator}})
  • Centralized JSON config (project + global + defaults)
  • Fallback changed from general-purpose to orchestrator
  • Standalone extension — does not depend on npm package @tintinweb

Manual installation (without npm)

pi install git:github.com/by-lua/lspec-subagents          # standalone extension
git clone --depth 1 https://github.com/by-lua/lspec-subagents.git /tmp/lspec-sub
cp /tmp/lspec-sub/.pi/agents/*.md ~/.pi/agents/          # .md overrides
cp /tmp/lspec-sub/lspec-model-config.example.json ~/.pi/agent/lspec-model-config.json
rm -rf /tmp/lspec-sub

Update / Uninstall

# Update
curl -fsSL https://raw.githubusercontent.com/by-lua/lspec-subagents/main/update.sh | bash

# Uninstall
curl -fsSL https://raw.githubusercontent.com/by-lua/lspec-subagents/main/uninstall.sh | bash

Removes extension + 9 agent .md files. Preserves lspec-model-config.json.

License

MIT — fork of @tintinweb/pi-subagents (MIT).

test