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

phewsh

v0.15.55

Published

Turn intent into action. Structure your thinking, execute your next step.

Readme

phewsh

Turn intent into action. Structure your thinking, execute your next step.

Install

npm install -g phewsh

Quick Start

phewsh status       # Project · Next · Work · Record at a glance
phewsh next add "ship the feature"
phewsh next criteria 1 file dist/app.js
phewsh next start 1
phewsh codex        # verified brief → native tool → automatic postflight

No API key needed

phewsh is not another agent — it's the layer that uses the ones you already have. If Claude Code, Codex CLI, Gemini CLI, Cursor Agent, or OpenCode is installed, phewsh runs through it on its own login (your Claude subscription, ChatGPT plan, Google account):

phewsh ai run "what should I build next?"     # auto-uses an installed agent CLI
phewsh ai run -p codex "..."                  # pin one explicitly
phewsh ai providers                           # see what's installed

API keys (OpenRouter, Anthropic, Groq, …) and PHEWSH pooled credits remain available as alternatives — phewsh login --set-key.

One package, one system

Everything ships in phewsh — the CLI (intent authoring, sync, bridges, receipts, dispatch) and the MCP server. phewsh mcp setup wires the bundled server into Claude Code / Cursor / any MCP client via phewsh mcp serve --stdio: an interactive agent session gets your project's briefing, task queue, and enforcement gate over stdio, and shares state with the bridges (~/.phewsh/). No second install.

Rule of thumb: phewsh serve = dispatch tasks to your agents. phewsh mcp setup = your agents pull tasks from PHEWSH mid-session.

Ambient — continuity without launching phewsh

phewsh ambient on

A consent screen shows exactly what changes. Phewsh then keeps one canonical generated core aligned across CLAUDE.md, AGENTS.md, GEMINI.md, and .cursorrules, while preserving human-authored content outside its managed blocks. Claude Code also receives a session-start brief and leaves a one-line metadata breadcrumb (never transcript contents) in ~/.phewsh/ambient-sessions.jsonl. phewsh ambient status shows the ledger; phewsh ambient off removes Phewsh-managed blocks without deleting your notes.

Live Execution

Connect the web app to your local machine for real-time task execution:

phewsh serve

This starts a bridge on localhost:7483. Open phewsh.com/intent and go to the Work tab — you'll see a green "Live" indicator. Agent tasks get a "Run Live" button that executes on your machine through whichever agent CLIs you have installed: Claude Code, Codex, Gemini, Cursor Agent, OpenCode. PHEWSH detects them automatically and every run leaves a receipt (phewsh receipts).

Interactive Shell

phewsh

Inside the shell:

/init       Create .intent/ artifacts
/clarify    AI-assisted artifact generation
/push       Sync local to cloud
/pull       Sync cloud to local
/context    View loaded artifacts
/help       All commands

The prompt includes a compact status rail with the current folder, route, loaded .intent/ files, and approximate context size. Multi-line pastes and single-line pastes of 300+ characters collapse after submission:

[pasted 1,284 chars · 12 lines · Ctrl+O to expand]

Press Ctrl+O to inspect the last submitted paste and Esc to clear input or cancel an in-flight provider turn.

The four answers

Phewsh keeps the same four answers available to you and every harness:

  • Project — what you are building and why (.intent/)
  • Next — the current task and accepted success criteria (.intent/next.json)
  • Work — the active native session and evidence-backed verification view
  • Record — what happened, what was kept, and what was learned

The lifecycle is explicit: intent → criteria → verified brief → native tool → observed evidence → verdict → approved reconciliation → every other tool inherits the updated truth.

All Commands

phewsh                    # The front door — routes through your installed agents
phewsh setup              # Guided setup: pick your default route (60 seconds)
phewsh status             # Git status for AI continuity
phewsh next               # Queue work and define success criteria
phewsh work               # Current work + verification + human review
phewsh truth              # Read-only source-of-truth audit
phewsh brief              # Verified state + accepted work contract
phewsh watch              # Sync native harness files + optional cloud mirror
phewsh ambient on         # Automatic cross-tool continuity, with consent
phewsh outcomes           # Decision record — what was kept, reverted, or failed
phewsh serve              # Live execution bridge for web app
phewsh clarify            # AI-assisted artifact generation
phewsh intent --init      # Create .intent/ without entering the shell
phewsh intent --status    # Check artifact state
phewsh ai run "prompt"    # One-shot AI with .intent/ context
phewsh login              # Authenticate + set API key
phewsh push               # Sync local .intent/ to cloud
phewsh pull               # Sync cloud to local
phewsh mcp setup          # Configure MCP server for agent connectivity
phewsh mcp serve          # Coordination bridge — route work to live agents
phewsh receipts           # Proof trail — what agents actually did, with evidence
phewsh update             # Update phewsh to the latest version
phewsh style              # Build your style identity

Receipts

Every task that runs through PHEWSH leaves evidence on your machine — sessions, results, blockers, gate checks, spend — in ~/.phewsh/. See it:

phewsh receipts           # merged timeline, newest first
phewsh receipts --json    # machine-readable, for agents and scripts

The same trail is visible at phewsh.com/intent/receipts while a local bridge is running (phewsh serve or phewsh mcp serve — the first executes tasks directly via Claude Code, the second routes them to live connected agents; both record identical receipts).

Outcomes

A receipt says what ran. An outcome says what became of it. Every routed action in a session records a decision; label it when you actually know — seconds later or three weeks later:

# in a session, right after a response: type 1-4
# 1 kept · 2 reverted · 3 superseded · 4 failed

phewsh outcomes           # totals, kept-rate by route and mode, recent decisions
phewsh outcomes label     # label anything still pending

Over time this becomes the record no platform keeps for you: which decisions held up, which model is most reliable for which kind of work, and where your effort actually went.

Sync

CLI and web (phewsh.com/intent) share the same cloud via Supabase.

phewsh login        # authenticate
phewsh push         # upload .intent/ to cloud
phewsh pull         # download from cloud

Cloud sync is manual. Local harness projections self-heal automatically from the same canonical .intent/ source.

Web app

phewsh.com/intent

License

MIT