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

encourage-loop

v0.1.6

Published

Gentle guardrails for long-running coding agents.

Readme

EncourageLoop

Gentle guardrails for long-running coding agents.

EncourageLoop helps Codex keep moving without drifting. It gives long-running coding tasks a lightweight plan cursor, evidence gates, handoff notes, and gentle nudges.

It is not a whip. It is not a daemon. It does not shame the agent or inject commands into your terminal. It simply keeps the work aligned with the current plan and makes “done” evidence-based.

Why

Long-running coding agents are useful, but they can drift:

  • they forget the current phase,
  • skip validation,
  • stop after a small chunk,
  • claim completion too early,
  • expand scope,
  • or lose continuity across sessions.

EncourageLoop adds a small project-local harness:

.encourage/cursor.md
.encourage/cursor.json
.encourage/state.jsonl
.encourage/validations.jsonl
.encourage/handoff.md

MVP features

  • encourage init --plan <path> — create a project-local plan cursor.
  • encourage status [--json] — show current stage, next task, warnings, and git state.
  • encourage checkpoint — record progress and update the cursor.
  • encourage validate — catch fake-done states before an agent claims completion.
  • encourage nudge — generate a concise steering prompt.
  • encourage handoff — generate a continuation prompt for the next Codex turn.
  • Codex skill included under both skills/encourage-loop and .agents/skills/encourage-loop.
  • Codex plugin manifest included under .codex-plugin/plugin.json.

What this is not

  • Not an autonomous agent framework.
  • Not a background daemon.
  • Not a Claude/Codex whip clone.
  • Not keyboard injection.
  • Not automatic merge/release.
  • Not an LLM judge.
  • Not a replacement for tests or review.

Core loop

Plan → Cursor → Work → Evidence → Validate → Checkpoint → Handoff

Quick start

npm install
npm test
node bin/encourage.js init --plan plans/v0.1-mvp-execplan.md
node bin/encourage.js status
node bin/encourage.js nudge
node bin/encourage.js validate
node bin/encourage.js handoff

After installing globally or with npm link:

encourage init --plan plans/v0.1-mvp-execplan.md
encourage status
encourage checkpoint --stage R0 --status in_progress --evidence "Created CLI skeleton" --next "Run npm test"
encourage validate
encourage handoff

Use with Codex App

  1. Open this repository in Codex App.
  2. Let Codex read AGENTS.md and START_CODEX.md.
  3. Start with the prompt in prompts/codex-startup.md.
  4. For long-running implementation turns, explicitly invoke the skill:
$encourage-loop Continue the current MVP plan from .encourage/cursor.md. Do the next atomic task only, validate, checkpoint, and report evidence.

If you have not installed the plugin yet, Codex should still see the repo-scoped skill in .agents/skills/encourage-loop/SKILL.md.

Repository shape

bin/                  CLI entrypoint
src/                  Deterministic CLI implementation
schemas/              Cursor and event schemas
skills/               Skill packaged for plugin distribution
.agents/skills/       Repo-scoped skill for direct Codex use
.codex-plugin/        Plugin manifest
.agents/plugins/      Local marketplace example
plans/                MVP execution plan and cursor contract
prompts/              Codex startup and driver prompts
docs/blueprints/      Harness and product blueprints
harness/              Fixtures and smoke scripts
tests/                Node built-in test runner tests
examples/             Dogfood examples, including WinChronicle

Product principles

  • Keep it small and deterministic.
  • Prefer evidence over vibes.
  • Treat plans as contracts, not scripts.
  • Let the agent adapt locally, but never silently drift.
  • Do not claim done without validation evidence.
  • Do not merge or release without explicit user approval.

Development

npm test
npm run lint
node harness/scripts/run-harness.js

Project status

Current published release and maintenance-candidate facts are tracked in docs/project-status.md. Use that page to distinguish released package evidence from repository readiness notes before preparing any future release.

Release

Release remains manual-only. See docs/release-checklist.md before any tag, publish, or GitHub release action. For versions after v0.1.0, start with docs/future-release-preparation.md and the current docs/project-status.md.

License

MIT