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-stef/superpowers-adapter

v0.3.7

Published

Bridges the superpowers skill system to pi's extension API with TodoWrite, Task, and Skill tools.

Readme

@pi-stef/superpowers-adapter

A pi extension that bridges the superpowers skill system to pi's extension API.

Why This Extension Exists

Pi ships with 4 built-in tools: read, bash, edit, write. The superpowers skill system expects additional tools that pi doesn't provide natively:

| Tool | Pi Built-in | Superpowers Needs | Provided By | |------|-------------|-------------------|-------------| | TodoWrite | No | Yes | This extension | | Skill | No | Yes | This extension | | Agent | No | Yes | @tintinweb/pi-subagents |

The superpowers using-superpowers skill explicitly requires:

  1. "Use the Skill tool" to load skill instructions
  2. "Never use the Read tool on skill files" — the Skill tool must be used instead

While pi natively supports skill discovery (listing them in the system prompt), superpowers workflows depend on calling the Skill tool directly.

Installation

# 1. Install superpowers (official skill pack)
pi install https://github.com/obra/superpowers

# 2. Install this extension
pi install npm:@pi-stef/superpowers-adapter

Tools

TodoWrite

Track implementation tasks with status progression.

Parameters:

  • todos (array, required) — Array of todo items, each with:
    • id (string) — Unique identifier
    • content (string) — Task description
    • status (string) — One of: pending, in_progress, completed
    • priority (string, optional) — One of: high, medium, low

Example:

TodoWrite({
  todos: [
    { id: "1", content: "Design API", status: "completed" },
    { id: "2", content: "Implement", status: "in_progress", priority: "high" },
    { id: "3", content: "Write tests", status: "pending" }
  ]
})

Skill

Load skill instructions by name. Discovers skills from standard pi skill directories.

Parameters:

  • skill (string, required) — Skill name (e.g., brainstorming, test-driven-development)

Discovery paths (searched in order):

  • <cwd>/.pi/skills/
  • <cwd>/.agents/skills/
  • ~/.pi/agent/skills/
  • ~/.agents/skills/
  • Workspace packages: <cwd>/packages/<pkg>/skills/
  • Locally installed packages: <cwd>/node_modules/<pkg>/skills/ (any scope)
  • Globally installed packages: ~/.pi/agent/npm/node_modules/<pkg>/skills/ (any scope)
  • Recursively under ~/.pi/agent/git/ (depth 10)

Limitation: The YAML frontmatter parser handles simple key: value pairs only. Nested values, multi-line values, and quoted strings with complex escaping are not supported.

Commands

| Command | Description | |---------|-------------| | /todos | Display current todo list with progress | | /todo-clear | Reset all todos |

Architecture

src/
  types.ts           — Shared type definitions
  tools/
    todo-write.ts    — TodoWrite tool + state management
    skill.ts         — Skill discovery, parsing, loading
  commands.ts        — /todos and /todo-clear
  index.ts           — Extension entry point + lifecycle hooks

The extension auto-injects the using-superpowers skill content into the system prompt via the before_agent_start lifecycle hook. This ensures the LLM receives superpowers instructions without manual configuration.

Troubleshooting

"using-superpowers skill not found" → Install superpowers: pi install https://github.com/obra/superpowers

Skills not discovered → Check that skill directories contain SKILL.md files with valid YAML frontmatter.

Security

This extension has read-only filesystem access. It reads SKILL.md files from standard pi directories. No network calls, no process execution, no file writes.

License

MIT