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

@astrofoundry/pi-astro

v0.14.6

Published

Personal pi customizations (extensions, skills, prompts, themes) for the pi coding agent.

Downloads

5,388

Readme

@astrofoundry/pi-astro

Personal customizations for the pi coding agent — registers an astro_agent tool, a grimoire docs tool, a caveman compressed-output toggle, an astro-footer status bar, 8 curated subagents, 4 skills, and an astro theme.

Full setup

1. Install pi

npm install -g @mariozechner/pi-coding-agent

2. Install this package

pi install npm:@astrofoundry/pi-astro

3. Install CLI prerequisites

# grimoire (required by the `grimoire` tool — docs lookup)
npm install -g @astrofoundry/grimoire

# Playwright CLI (required by the `playwright-cli` skill / tester-ui agent)
npm install -g @playwright/cli@latest

# Postman CLI (required by the `postman-cli` skill / tester-api agent)
npm install -g postman-cli

Optional: Raycast app, required only if you use the raycast-script-creator skill.

4. Activate the astro theme

Add to ~/.pi/agent/settings.json:

{ "theme": "astro" }

Or run /settings inside pi and select astro.

5. Verify

pi list           # package shows installed
pi                # launch; confirm [Extensions] lists astro-agents, grimoire, astro-footer

What's inside

Tools (LLM-callable):

  • astro_agent — delegate a task to a named subagent in an isolated pi subprocess
  • grimoire — search indexed technical documentation via the grimoire CLI
  • edit — replaces pi's built-in with batch multi-file edits + Codex-style patch mode, preflight validation, atomic rollback
  • gemini_image — generate or edit images via Google Gemini native models + Imagen 4; cost-estimated confirmation before every call

Extensions:

  • astro-agents — registers astro_agent + ships 8 bundled subagents
  • grimoire — registers grimoire tool
  • multi-edit — registers the enhanced edit tool
  • gemini-image — registers gemini_image tool (requires a Gemini API key; prompts and saves on first use)
  • security-guard — blocks/prompts destructive bash commands and sensitive file access; configure at ~/.pi/agent/security-guard.json (example written on first run); /security-guard status|reload|test
  • notify-on-stop — runs a shell command when the agent finishes a turn (sound, voice, desktop notification). Default: off. Enable with /notify on (state persists in ~/.pi/agent/notify-on-stop.json); disable with /notify off. macOS default command: plays the Glass system sound and speaks "Agent done" via say using the Samantha (Enhanced) voice. Linux default: notify-send "pi" "Agent done". Override the voice with PI_STOP_NOTIFY_VOICE=<voice-name> (macOS only; e.g. Alex, Karen, Daniel (Enhanced)). Replace the full command with PI_STOP_NOTIFY='afplay /System/Library/Sounds/Glass.aiff && say "Done"'. Hard-kill (overrides /notify on) with PI_STOP_NOTIFY_OFF=1. Commands: /notify [on|off|status|test]. See extensions/notify-on-stop/README.md for full details.
    • macOS voice install (required once for the default): open System Settings → Accessibility → Spoken Content → System Voice → Manage Voices…, expand English, check Samantha (Enhanced), click Done to download (~500 MB – 1 GB). Verify with say -v "Samantha (Enhanced)" hi. If the voice is missing, say errors silently and you'll only hear the Glass sound.
  • vscode-image — only active inside VS Code's integrated terminal (TERM_PROGRAM=vscode). Switches pi-tui's image output to the Kitty graphics protocol so images returned by tools like gemini_image render as real pixels instead of the [Image: …] text fallback. Requires enabling Terminal › Integrated: Enable Images in VS Code settings (off by default); restart the integrated terminal after flipping it. Disable with PI_VSCODE_IMAGE_OFF=1. /vscode-image prints current status.
  • astro-footer — two-line powerline-style footer (row 2 only when there's info to show). Row 1: pi · pretty-printed model · thinking · path · git branch + ± counts · tokens (in/out split) · cost (or (sub) for OAuth-authed plans) · context %/total + auto-compact AC. Row 2: subagent count · session time · session name · cache read/write · extension statuses. Auto-detects Nerd Fonts (iTerm/WezTerm/Kitty/Ghostty/Alacritty) with ASCII fallback. Env overrides: ASTRO_FOOTER_NERD_FONTS=0|1, ASTRO_FOOTER_PATH=basename|abbreviated|full. Toggle with /footer [on|off|status]. See extensions/astro-footer/README.md.
  • astro-snake/snake launches an in-pi Snake game (Astro-themed, theme-aware colours, speed ramp, no persistence). See extensions/astro-snake/README.md.
  • astro-welcome — pixel-art astronaut welcome screen (24-bit colour, twinkling starfield, rotating funny tagline, live stats) rendered on session start; auto-dismisses after 6 s, on first keystroke, or on first prompt submit. See extensions/astro-welcome/README.md.
  • caveman/caveman [lite|full|ultra|wenyan-lite|wenyan-full|wenyan-ultra|off|status] toggles a persistent compressed-output mode. No argument toggles between off and the default level (full). Active level is shown as a footer badge and survives /reload. The skill body at skills/caveman/SKILL.md is also available as a one-shot via /skill:caveman.

Bundled subagents (callable via astro_agent):

  • code-reviewer, google-tech-lead, spec-writer, tester-api, tester-ui, ui-architect, ui-design-system, ui-frontend-developer

Skills (loadable via /skill:<name>):

  • playwright-cli, postman-cli, raycast-script-creator, caveman

Theme:

  • astro — dark, gold accent, GitHub-dark-inspired

Usage

Delegate to a subagent:

use the code-reviewer agent to review src/routes/products.ts

Search docs:

look up Firestore batched writes in the docs

Invoke a skill explicitly:

/skill:playwright-cli

License

ISC