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

@kim05/pi-autoprompt

v0.1.2

Published

A Pi extension that automatically continues with required follow-up coding tasks.

Readme

pi-autoprompt

English | 한국어

pi-autoprompt makes Pi include direct goal-continuation follow-up task candidates in the final assistant response, then lets you select one after the session turn ends or automatically continues after a timeout. It does not make an extra LLM call. If there is no useful immediate follow-up work, it stops.

Commands

/autoprompt on                 # Enable automatic follow-up execution and loop mode
/autoprompt off                # Disable automatic follow-up execution for the current runtime
/autoprompt now                # Run autoprompt once now
/autoprompt status             # Show current status (default timeout=10s)
/autoprompt timeout 15         # Set selection timeout in seconds
/autoprompt loop on            # Enable continuous follow-up execution
/autoprompt loop off           # Disable continuous follow-up execution for the current runtime
/autoprompt mode normal        # Suggest practical follow-ups that continue the current goal
/autoprompt mode conservative  # Suggest only follow-ups required to finish the explicit request
/autoprompt cancel             # Cancel the pending automatic follow-up
/autoprompt history            # Show recent automatic follow-up history
/autoprompt help               # Show command help
/autoprompt doctor             # Show cache decision / usage debug info
/autoprompt reset-stats        # Reset cache statistics

Loop

Autoprompt and loop mode are default-on after startup/reload. After an autoprompt follow-up finishes, if the final response contains more goal-continuation follow-up candidates, pi-autoprompt keeps sending the next selected candidate.

The current loop stops automatically when there is no useful immediate follow-up task.

If cacheRead is missing or the prompt cache hit rate is below 50%, pi-autoprompt shows a warning but keeps the loop running while follow-up candidates exist.

When there is no useful immediate follow-up task, pi-autoprompt stops the current loop but keeps the saved loop setting enabled for future turns.

Doctor

/autoprompt doctor shows cache debugging values in one report:

  • currentCacheKey, sessionId
  • lastRawUsage
  • Extracted cacheRead, cacheWrite, totalInputTokens
  • cacheHitRate
  • Hints for possible causes when cacheRead=0

Persisted settings

The following values are stored under piAutoprompt in Pi's global settings.json, so they survive /reload:

  • timeoutSeconds
  • mode
  • history

enabled and loopEnabled are intentionally default-on after startup/reload. Use /autoprompt off or /autoprompt loop off to disable them for the current runtime.

Cost note

loop on can keep the coding agent running through multiple follow-up tasks. Turn it off with /autoprompt loop off when needed.