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

@pi-unipi/subagents

v0.2.8

Published

Subagents for UniPi — parallel execution, file locking, workflow integration

Downloads

2,667

Readme

@pi-unipi/subagents

Parallel execution with file locking. Spawn background or foreground agents to work on tasks concurrently — research files, fix lint errors, run tests — while the main agent keeps going.

Two built-in agent types: explore for read-only research, work for file modifications with transparent locking. Define your own types as markdown files.

Commands

Subagents has no user commands. It's an agent tool package — the agent calls it directly.

Special Triggers

Workflow skills detect subagents and inject parallel strategies. When @pi-unipi/subagents is installed, these skills get enhanced:

| Skill | What Changes | |-------|--------------| | brainstorm | Parallel research for different approaches | | document | Parallel documentation of different modules | | gather-context | Parallel codebase exploration | | review-work | Parallel task verification | | scan-issues | Parallel scanning by category | | work | Parallel task execution (with file locking) |

Subagents registers with the info-screen dashboard, showing active agents and their status. The footer displays agent activity in its extension status segment.

Agent Tools

| Tool | Description | |------|-------------| | spawn_helper | Launch a sub-agent for parallel work | | get_helper_result | Check status and retrieve results from a background agent |

spawn_helper Parameters

| Parameter | Description | |-----------|-------------| | type | Agent type (explore, work, or custom) | | prompt | Task for the agent | | description | Short description (3-5 words) | | run_in_background | Return immediately, notify on completion | | max_turns | Max agentic turns before stopping | | model | Model override (e.g. "haiku", "sonnet") | | thinking | Thinking level (off, minimal, low, medium, high, xhigh) |

Foreground (blocks until done)

spawn_helper(
  type: "explore",
  prompt: "Find all auth-related files",
  description: "Research auth files"
)

Background (returns immediately)

spawn_helper(
  type: "work",
  prompt: "Fix all lint errors in src/",
  description: "Fix lint errors",
  run_in_background: true
)

Check Background Result

get_helper_result(agent_id: "helper_abc123")

Custom Agent Types

Create markdown files defining agent behavior:

# Global agents
~/.unipi/config/agents/reviewer.md

# Project agents
<workspace>/.unipi/config/agents/deployer.md

Configurables

// ~/.unipi/config/subagents.json
{
  "enabled": true,
  "maxConcurrent": 3,
  "types": {
    "explore": { "enabled": true },
    "work": { "enabled": true }
  }
}

| Setting | Default | What It Does | |---------|---------|--------------| | enabled | true | Enable/disable subagents | | maxConcurrent | 3 | Max agents running at once | | types.{name}.enabled | true | Toggle agent types |

License

MIT