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

@fatboy-coder/ppgp

v0.1.3

Published

Portable Persistent Goal Protocol CLI and Agent Skill for long-running coding-agent continuity.

Downloads

45

Readme

Portable Persistent Goal Protocol (PPGP)

Open, vendor-neutral continuity protocol for coding agents: persistent goals, recoverable state, verified work, clean handoffs.

Source version: v0.1.3 (this tree; see package.json)
Latest published release: GitHub Releases · npm
Status: experimental, maintainer-tested, adversarially exercised under documented scenarios
License: MIT

What it is

Long-running coding agents lose their working context: sessions end, context is compacted, one agent replaces another. PPGP keeps the minimum state a fresh agent needs in repository-visible files, so work resumes from the repository instead of from a human retelling the story.

It does not replace model memory, Git, tests or MCP. It is a small control protocol around them: one ACTIVE_GOAL state with thirteen fields (the reference CLI stores it in docs/ACTIVE_GOAL.md), a goal lifecycle, an inner verify-and-record loop, and rules for evidence, blockers, handoff and closure.

Try it

Inside any Git repository:

npx @fatboy-coder/ppgp init
npx @fatboy-coder/ppgp goal "Ship one verified milestone"
npx @fatboy-coder/ppgp status
npx @fatboy-coder/ppgp doctor

goal scaffolds docs/ACTIVE_GOAL.md; status and handoff read it back; doctor checks the repository. The CLI is a deterministic helper. distill and close are agent-performed protocol operations because they require judgement.

Install the Agent Skill into an Agent Skills-compatible client:

npx skills add https://github.com/Fatboy-coder/ppgp/tree/main/skills/ppgp

Manual install: open the latest GitHub Release, download its versioned ppgp-v*.zip, and copy the ppgp directory into your client's skills location. Platform-specific routes (Claude, Codex, Gemini, Cursor, Copilot and others) are in docs/COMPATIBILITY.md.

Core model

GOAL
  |
  v
THINK -> FREEZE -> EXECUTE -> HARDEN -> SHIP -> DISTILL -> CLOSED
                     ^                    |
                     |                    v
              RETRIEVE -> ACT -> VERIFY -> DELTA
CONSTITUTION   long-lived authority and constraints
ROADMAP        project direction, deferred goals
MEMORY         durable decisions, invariants and lessons
ACTIVE_GOAL    temporary working memory for exactly one goal
GIT            forensic history and implementation evidence

ACTIVE_GOAL is conformant when all thirteen fields of SPEC §3.4 are present. The CLI is tolerant about how they are written (header level, bold, KEY: lines) and strict about which are missing: exit 0 conformant, 2 partial, 1 malformed or missing. Prepared is not done; started is not done; agent confidence is not evidence.

The protocol is SPEC.md. The compact agent-facing reference is skills/ppgp/references/PPGP.md.

Versions

  • Source version is the version in package.json, mirrored in SPEC.md, the skill metadata and CITATION.cff. It identifies this tree, released or not.
  • Published versions are only what GitHub Releases and npm actually list, with their dates. The source tree never records publication state, so a tagged tree never goes stale.
  • 0.x releases are experimental and may change incompatibly. Cite the exact version you evaluated.

What comes next is in ROADMAP.md.

Evidence and research

PPGP does not claim to invent agent memory, outperform other systems, reduce tokens by a fixed percentage or eliminate human review. Its claims are narrow and meant to be falsified:

  • docs/EVALUATION.md — how to evaluate PPGP and what to record.
  • benchmarks/ — paired A/B recovery protocol, result schema, deterministic pilot fixture.
  • research/ — dated, non-normative validation records, including the 2026-09-23 adversarial validation of v0.1.2.

Recovery failures, overhead reports and negative results are welcome through the issue forms.

Repository map

SPEC.md                 the protocol (normative)
skills/ppgp/            canonical Agent Skill; .agents/ and plugins/ are drift-tested mirrors
bin/ppgp.js             dependency-free CLI helper
test/                   regression suite and fixtures
benchmarks/             evaluation protocol, schema, pilot fixture
docs/                   compatibility, distribution, evaluation guide; ACTIVE_GOAL.md while a goal is open
research/               dated evidence records
CHANGELOG.md ROADMAP.md CONTRIBUTING.md CITATION.cff

Machine manifests at the root (plugin.json, gemini-extension.json, .claude-plugin/, .codex-plugin/) exist for agent platforms and need no reading.

Contributing and citing

CONTRIBUTING.md covers tests, the CLI, mirror synchronization, the self-hosting rule and releases. Cite with CITATION.cff, naming the exact version.

PPGP was first published on 2026-08-24 in the Fatboy-coder/fatboy-coder repository under /ppgp; this repository is its canonical home. It is an independent open-source project, not affiliated with or endorsed by any agent vendor.