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

@vibe-x/agent-better-checkpoint

v0.3.4

Published

Semantic Git checkpoint commits for AI coding sessions

Downloads

36

Readme

Agent Better Checkpoint (ABC)

One-line install, zero config. Turns AI agent edits into transparent, queryable Git commits.

npx @vibe-x/agent-better-checkpoint

Agent Better Checkpoint

That's it. Your AI coding assistant (Cursor, Claude Code) will now auto-commit every meaningful edit with semantic messages and structured metadata — no more opaque checkpoints.


The Problem

AI coding assistants create "checkpoints" as you work, but these are black-box snapshots:

  • Unreadable — no meaningful commit messages
  • Unnavigable — can't browse or diff individual changes
  • Unqueryable — no way to filter, search, or trace back

The Solution

Agent Better Checkpoint replaces them with real Git commits:

checkpoint(api): add user registration endpoint

Implement POST /api/users with email/password validation.
Includes bcrypt hashing and duplicate email check.

Agent: cursor
Checkpoint-Type: auto
User-Prompt: 帮我实现用户注册接口,需要邮...要密码加密

Each commit follows Conventional Commits and carries structured metadata via Git Trailers — queryable with standard Git tools:

git log --grep="^checkpoint("                          # all checkpoints
git log --format="%(trailers:key=Agent,valueonly)"     # by agent
git log --grep="User-Prompt:.*registration"            # by prompt keyword

Works with Your Favorite Git Tools

Since every checkpoint is a standard Git commit, the entire Git ecosystem is at your disposal — what was once a hidden, platform-specific checkpoint becomes a first-class citizen you can browse, search, diff, and rebase.

| Tool | Type | What You Get | |------|------|-------------| | GitLens | VS Code / Cursor Extension | Inline blame, file history, visual commit graph, interactive rebase — see who (you or the AI) changed what and when, right in the editor | | lazygit | Terminal UI | Fast keyboard-driven staging, diff browsing, cherry-pick, and rebase across checkpoint commits | | tig | Terminal UI | Lightweight ncurses Git log viewer, great for quickly scanning checkpoint history | | GitHub / GitLab Web UI | Web | Browse, compare, and share checkpoint history online after pushing |

For example, with GitLens in Cursor you can hover any line to see which checkpoint introduced it and the original user prompt, view all checkpoints for a file in a timeline, or search commits by checkpoint( prefix and User-Prompt trailer content.


How It Works

Three components, fully automatic after install:

| Component | What it does | |-----------|-------------| | SKILL.md | Instructs the AI to commit after each meaningful edit, with proper format | | Commit Script | Appends Git Trailers (agent, type, user prompt) and runs git commit | | Stop Hook | Safety net — reminds the AI to commit if anything is left uncommitted |

User gives task → AI edits code → AI calls checkpoint script → Git commit with trailers
                                                              ↗
                              Conversation ends → Stop hook checks for uncommitted changes

Installation

Prerequisites

Quick Install

npx @vibe-x/agent-better-checkpoint

Auto-detects your OS and AI platform. Or specify explicitly:

npx @vibe-x/agent-better-checkpoint --platform cursor
npx @vibe-x/agent-better-checkpoint --platform claude

Project-only Install

Install only into your project (no global changes). Uses Cursor's project-level skills and hooks:

cd /path/to/your/project
npx @vibe-x/agent-better-checkpoint --platform cursor --target .

Creates: .cursor/skills/, .cursor/hooks.json, .vibe-x/agent-better-checkpoint/. Commit these with your repo.

Uninstall project-only:

npx @vibe-x/agent-better-checkpoint --uninstall --target .

Via skills.sh

npx skills add alienzhou/agent-better-checkpoint

The AI agent will auto-bootstrap the runtime scripts on first use.

What Gets Installed

Global (no --target):

| Location | Content | |----------|---------| | ~/.vibe-x/agent-better-checkpoint/scripts/ | Commit script (checkpoint.sh / .ps1) | | ~/.vibe-x/agent-better-checkpoint/hooks/stop/ | Stop hook (check_uncommitted.sh / .ps1) | | ~/.cursor/skills/ or ~/.claude/skills/ | SKILL.md — AI agent instructions | | ~/.cursor/hooks.json or ~/.claude/settings.json | Stop hook registration |

Project-only (--target .):

| Location | Content | |----------|---------| | <project>/.cursor/skills/agent-better-checkpoint/ | SKILL.md | | <project>/.cursor/hooks.json | Stop hook (Cursor only) | | <project>/.cursor/hooks/ | check_uncommitted.sh | | <project>/.vibe-x/agent-better-checkpoint/ | checkpoint.sh, config.yml |

Uninstall

npx @vibe-x/agent-better-checkpoint --uninstall

Platform Support

| Platform | OS | Status | |----------|----|--------| | Cursor | macOS, Linux, Windows | ✅ | | Claude Code | macOS, Linux, Windows | ✅ |


Contributing

See CONTRIBUTING.md for development setup, testing, and publishing instructions.

License

MIT