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-load-skill

v1.2.4

Published

Pi extension for loading skills on demand from any location

Readme

pi-load-skill

Load your skills on demand from any location. Keep your pi agent lean — don't load all your skills when you don't need them, add only the ones you need for that session.

Features

  • Load skills on-demand: Load individual skills or entire skill directories from any path
  • Session-scoped: Skills persist in the session file and are restored automatically on /reload, /resume, /fork, and pi restart
  • Native injection: Loaded skills appear in the system prompt with name, description, and location — the agent can read the full skill content on demand
  • Unload skills: Remove loaded skills when no longer needed

Installation

Option 1: From npm

pi install npm:pi-load-skill

Option 2: Local development

pi -e ./extensions/load-skills.ts

Usage

Load Skills

Load all skills from a directory:

/load-skills ./path/to/skills-folder

Load a single skill:

/load-skills ./path/to/skill-folder

The extension will:

  1. Find all skills in the directory (or validate a single skill)
  2. Add them to pi's skill discovery system via resources_discover
  3. They appear in the <available_skills> section of the system prompt with their file location
  4. The agent can read the full skill content on demand using the read tool

List Loaded Skills

/list-loaded-skills

Unload Skills

Unload a specific skill:

/unload-skills skill-name

Unload all loaded skills:

/unload-skills

Example

# Start pi
pi

# In the pi session:
/load-skills ./my-skills

# Skills now appear in the system prompt — the agent can use them
What skills do you have available?

# Unload when done
/unload-skills

How It Works

  1. On /load-skills: Skills are validated, added to the in-memory map, a snapshot is appended to the session file via pi.appendEntry(), and pi reloads
  2. On any session transition (/reload, /resume, /fork, pi restart): session_start fires, the extension replays the current branch via ctx.sessionManager.getBranch(), finds the last pi-load-skill snapshot entry, and restores the map from it
  3. On /new: A fresh session has no prior entries — the map starts empty

Persistence Model

| Event | Skills in session | |------------------------|---------------------------------------------| | /load-skills | snapshot appended to session + reload triggered | | /unload-skills | snapshot appended to session + reload triggered | | /reload | branch replayed → skills restored ✓ | | /new | fresh session, no entries → map empty ✓ | | /resume | branch replayed → skills restored ✓ | | /fork | branch up to fork point replayed ✓ | | pi restart + resume | branch replayed → skills restored ✓ | | pi restart (no resume) | fresh session → map empty ✓ |

Skill Format

Skills must follow the Agent Skills standard:

---
name: my-skill
description: What this skill does and when to use it.
---

# My Skill

## Usage

Instructions for using the skill...

Requirements

  • pi >= 0.65.0
  • Node.js >= 18

License

MIT


Made with reespec and ❤️ in EU