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

@mystilleef/vibe-cli

v0.4.2

Published

Metacognitive AI agent oversight — pure CLI with JSON I/O

Downloads

47

Readme

vibe-cli

Vibe check your agent's ideas, proposals, plans, or solutions for metacognitive flaws with a mentor agent.

Metacognitive oversight infrastructure for AI agents. Equips LLM coding harnesses with skills to consult mentor models, store persistent memory, and enforce constitutional rules.

Requirements

  • Bun >=1.0.0. The binary uses bun:sqlite and requires Bun.
  • Provider API key matching the selected settings.json entry.

Quick start

Step 1: Install binary

bun install -g @mystilleef/vibe-cli

Step 2: Configure mentor provider

  1. Install the bundled settings template:
vibe settings install
  1. Edit ~/.vibe-cli/settings.json to define the mentor provider, model, and credentials:
  • provider: active mentor provider entry name.
  • maxAttempts: refinement limit for vibe check.
  • providers[].spec: gemini, openai, or anthropic.
  • providers[].envVar: environment variable for provider key.
  • providers[].defaultModel: model fallback.
  • providers[].thinking: off, low, medium, high, or xhigh.
  1. Export matching API key (for example, GEMINI_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY).

Step 3: Install harness skills

Install bundled skills into your preferred LLM coding harness:

# Universal Agent Path (Default: ~/.agents/skills)
vibe skills install

# Claude Code
vibe skills install --target ~/.claude/skills

# Antigravity CLI
vibe skills install --target ~/.gemini/config/skills

Step 4: Load agent policy

Install the guide and load it into agent context:

# Install vibe-guide.md into project root
vibe guide install

Add the guide to AGENTS.md, CLAUDE.md, or paste its content into your agent's system prompt so agents know when and how to trigger vibe skills. Loading remains opt-in. The install command never alters context files automatically.

Harness skill workflows

Developers instruct coding agents via natural language.

For example, "Draft a proposal to fix the stutter issues when scrolling on the login page, vibe check it, then show for review."

The agent consults its policy, executes the underlying vibe binary, processes mentor feedback, and reports back.

NOTE: The agent uses the vibe-learn and vibe-constitution skills on-demand and by discretion. Users don't need to activate the learn and constitution skills.

vibe-check

Prompts mentor review before executing high-risk, ambiguous, or multi-step tasks.

  • Natural language: "Draft a proposal for schema migration, vibe check it, then show for review."
  • Slash command: /vibe-check
  • Execution loop:
    1. Developer requests action.
    2. Agent matches criteria in vibe-guide.md.
    3. Agent executes vibe check CLI binary under the hood.
    4. Agent processes mentor feedback (proceed: true/false, recommendations).
    5. Agent presents approved plan or adjusts strategy.

Storage

  • Data root: ~/.vibe-cli.
  • Settings file: ~/.vibe-cli/settings.json.
  • SQLite database: ~/.vibe-cli/vibe.db.
  • Autosessions: maps working directories to 4-hour local session scopes.
  • Tables store review history, learning entries, constitution rules, migrations, and import markers.

Agent protocol reference (CLI commands)

Coding agents execute these CLI commands behind the scenes. Developers can also run them manually for administrative tasks.

Check plan

vibe check \
  --goal "Update schema" \
  --plan "Run migration script, update ORM, run tests" \
  --uncertainty "No backup verified"
  • Returns JSON with proceed, confidence, reason, feedback, plan, and attempts.
  • Exit code 2 indicates non-proceeding verdict.

Record lesson

vibe learn \
  --type mistake \
  --category "Database" \
  --observation "Connection timeout during heavy load." \
  --solution "Increase retry backoff threshold."

Manage constitution rules

vibe constitution set --rule "Run test suite before commits."
vibe constitution get
vibe constitution reset --rule "Keep output concise."

Manage skills

skills list and skills install print readable text by default. Pass --json to emit the prior machine-readable payload for automation.

vibe skills list --target ~/.gemini/config/skills
vibe skills install --target ~/.claude/skills
vibe skills install --force

# Automation consumers
vibe skills list --target ~/.gemini/config/skills --json
vibe skills install --target ~/.claude/skills --json

Manage guide

guide list and guide install print readable text by default. Pass --json to emit the prior machine-readable payload for automation.

vibe guide list
vibe guide install

# Automation consumers
vibe guide list --json
vibe guide install --json

Query and maintenance

vibe list all --json
vibe prune --duplicates --yes
vibe session
vibe verify --provider gemini --model gemini-3.5-flash

Development

bun check
bun coverage
bun run build
bun verify
  • bun check: Biome check/write plus TypeScript --noEmit.
  • bun coverage: Bun test suite with coverage settings.
  • bun verify: complete verification pipeline.

Project layout

  • src/cli.ts: Commander command registration edge.
  • src/tools/: plan gate, learning, constitution, demo, prune orchestration.
  • src/utils/: settings resolution, provider dispatch, SQLite persistence, schema projections.
  • skills/: bundled agent skills (vibe-check, vibe-learn, vibe-constitution).
  • docs/vibe-guide.md: operational policy for harness agent context.
  • tests/: Bun test suite.

Credits

Original project: vibe-check-mcp by Pruthvi Bhat.