← Catalog

pi-skill-hub

Safe provenance-aware Pi skill discovery, inventory, preview, and management hub.

ExtensionSkill

Install

Install with PiG

pig install npm:pi-skill-hub

Install with Pi

pi install npm:pi-skill-hub
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.

pi-skill-hub

npm version License Platform

ko-fi

image `pi-skill-hub` is a Pi extension for provenance-aware skill discovery, inventory, preview, and management. It keeps skill mutations preview-first so installs, adoptions, removals, and updates can be reviewed before they touch local files.

Capabilities

  • Searches supported remote skill providers from inside Pi.
  • Inventories local and external skill roots with provenance metadata.
  • Opens a unified /skill-hub modal workspace with Browse, Inventory, Install, Update, Sources, and Remove panes.
  • Uses terminal-size-aware modal sizing so the workspace expands on large terminals and stays bounded on small terminals.
  • Builds explicit install, adopt, discovered source binding, manual source URL binding, update, refresh, and remove plans before applying changes.
  • Requires confirmation tokens for every mutating flow.
  • Writes debug logs only to the extension-local debug/ directory when debug is enabled.

Installation

npm package

pi install npm:pi-skill-hub

Git repository

pi install git:github.com/MasuRii/pi-skill-hub

Local extension folder

Place this folder in one of Pi's extension discovery paths:

~/.pi/agent/extensions/pi-skill-hub
.pi/extensions/pi-skill-hub

Usage

Open the unified modal workspace:

/skill-hub

The workspace contains internal panes for:

PanePurpose
BrowseSearch configured remote providers, preview remote SKILL.md content, and install after confirmation.
InventoryInspect discovered local/external skills and start unmanaged-skill adoption.
InstallInstall directly by skill ID, skills.sh URL, GitHub URL, or provider reference.
UpdateCheck/apply staged updates and refresh inventory drift/provenance status.
SourcesDiscover, bind, or auto-bind provider provenance for local skills.
RemoveRemove clean managed local skills after preview and confirmation.

Use ←/→ or Tab/Shift+Tab to move between panes, ↑/↓ to choose a pane action, Enter to run it, and Esc to close. Supplying legacy subcommand text after /skill-hub opens the modal workspace instead; feature flows now live inside the panes.

Mutating flows stay preview-only until their confirmation prompt is accepted with the generated token.

Configuration

Runtime configuration is stored at the extension root:

~/.pi/agent/extensions/pi-skill-hub/config.json

The package includes config/config.example.json as a starter template. Missing path settings default to:

SettingDefault
localSkillRoot~/.pi/agent/skills
externalSkillRoots~/.agents/skills
updateStagingRootdata/update-staging under the extension root

Configuration options:

KeyTypeDefaultPurpose
debugbooleanfalseEnables file-only debug logs under debug/debug.log.
providers.skillsShbooleantrueEnables skills.sh provider search.
providers.skillsMpbooleantrueEnables Skills Marketplace provider search.
maxSearchResultsnumber20Limits provider search results.
requestTimeoutMsnumber10000Bounds provider and remote preview requests.
apiKeys.githubstringunsetOptional GitHub API key for source previews and update staging requests.
apiKeys.skillsMpstringunsetOptional SkillsMP API key for authenticated/AI provider search; SKILLSMP_API_KEY remains supported.
localSkillRootstringhome defaultOverrides the managed local skill root.
externalSkillRootsstring[]home defaultAdds read-only external inventory roots.
updateStagingRootstringextension data defaultControls update staging location.

Development

npm install
npm run build
npm run lint
npm run test
npm run check
npm run package:dry-run

The extension uses a root index.ts for Pi discovery and keeps implementation modules under src/.

Publishing

The package metadata follows the same publish-ready shape used by established Pi extensions:

  • entrypoint: index.ts
  • package exports: . → ./index.ts
  • Pi extension manifest: pi.extensions
  • published files: source, README, changelog, license, and config template
  • runtime data/, debug/, dist/, and test artifacts excluded from npm publication

License

MIT