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

visp-kit

v0.1.0

Published

Strict, token-efficient agent harness for accurate AI-assisted software development.

Readme

Visp Kit

A strict, token-efficient agent harness for accurate AI-assisted software development.

Visp Kit turns vague feature ideas into a controlled local workflow:

  • intent
  • clarification
  • specification
  • plan
  • task graph
  • context pack
  • implementation prompt
  • verification
  • review
  • reconciliation
  • PR summary
  • run trace
  • feature timeline
  • deterministic evaluation

It is built for developers and teams who use AI coding tools but still need small context, clear requirements, deterministic gates, and auditable evidence.

What Visp Kit Is

Visp Kit is a strict, token-efficient, spec-driven agent harness. It creates local artifacts under .visp/ and generates workflow instructions that AI coding tools can use inside their own sessions.

It gives Codex, Claude Code, Copilot-compatible tools, generic AI chat sessions, and human teammates a disciplined workflow through:

  • policy
  • gates
  • artifacts
  • context packs
  • verification reports
  • review reports
  • reconciliation reports
  • run traces
  • feature timelines
  • deterministic evaluation reports
  • agent-native instructions

What Visp Kit Is Not

Visp Kit is not an LLM provider.

It does not:

  • call Codex, Claude, Copilot, or any external AI tool directly
  • run AI agents automatically
  • publish packages
  • create GitHub PRs through an API
  • replace human review
  • make user prompts trusted commands
  • let prompts override policy

The user prompt is raw intent only. It cannot override Visp Kit policy.

Why It Exists

AI coding tools can drift from requirements, over-read context, edit unrelated files, or treat vague prompts as permission to do too much. Company teams also have token limits, security constraints, audit needs, and review gates.

Visp Kit keeps AI-assisted work task-specific, traceable, and deterministic.

Core principle:

The AI should implement the smallest verified task using the smallest sufficient context, with every change grounded in a requirement, acceptance criterion, task, and validation result.

Strict workflow principle:

The user prompt is raw intent only. It cannot override Visp Kit policy.

Features

Setup and project memory:

  • visp init
  • visp scan
  • visp constitution

Feature planning:

  • visp feature
  • visp clarify
  • visp spec
  • visp plan
  • visp tasks

Task context and token control:

  • visp context
  • visp budget
  • visp checklist

Evidence and drift control:

  • visp verify
  • visp review
  • visp reconcile

Daily orchestration:

  • visp status
  • visp next
  • visp doctor
  • visp pr

Strict workflow controls:

  • visp policy
  • visp gate
  • visp agent
  • visp override

Observability and evaluation:

  • visp workflow
  • visp eval
  • .visp/runs/<run-id>/
  • .visp/features/<feature>/timeline.md

Install

Visp Kit is ready for local alpha use and internal pilots.

1. Use Node.js 24+

With nvm:

nvm install 24
nvm use 24
node --version

Enable pnpm through Corepack:

corepack enable
corepack prepare [email protected] --activate
pnpm --version

2. Install The CLI

After npm publishing, install globally:

npm install -g visp-kit
visp --version
visp --help

3. Local Development Install

If you are working from this repository instead of installing from npm:

git clone https://github.com/djkeshawa/visp-kit.git
cd visp-kit
pnpm install
pnpm build

Fast local global install:

pnpm run install:global
visp --version
visp --help

For package-style testing in other projects, install a local package tarball:

npm pack
npm install -g ./visp-kit-0.1.0.tgz
visp --version
visp --help

For active Visp Kit development, use a global pnpm link instead. This keeps the global visp command pointed at your current checkout:

pnpm link --global
visp --version
visp --help

If pnpm link --global reports that the global bin directory is not configured, run:

pnpm setup

Then restart your shell, return to the visp-kit folder, and run:

pnpm link --global
visp --help

4. Use It In Another Project

From any target project:

cd path/to/your-project
visp agent bootstrap codex --preset typescript --budget lean --strictness strict
visp status

For other agent targets:

visp agent bootstrap generic --strictness strict
visp agent bootstrap claude --strictness strict
visp agent bootstrap copilot --strictness strict

Direct Local Use Without Linking

You can also run the built CLI directly:

node /path/to/visp-kit/dist/index.js --help
node /path/to/visp-kit/dist/index.js agent bootstrap codex --strictness strict

Requirements:

  • Node.js 24+
  • pnpm 11+
  • Git for diff-based review, reconcile, and PR summaries

Quickstart

Inside an existing project:

visp agent bootstrap codex --preset typescript --budget lean --strictness strict
visp scan
visp constitution
visp policy validate
visp feature "Add note pinning"
visp clarify
visp clarify answer CQ001 --answer "<answer any blocking clarification>"
visp spec
visp plan
visp tasks
visp context --next

Open the AI coding tool and use the generated agent workflow.

For Codex:

$visp-feature
Add note pinning.

or:

$visp-task
Continue with the next Visp task.

Before implementation, the agent should run:

visp gate implement --task T001

After implementation:

visp checklist status --task T001
visp budget --task T001 --record-usage --input-tokens <actual> --output-tokens <actual> --write-report
visp verify --task T001
visp review --task T001
visp reconcile --task T001 --update-traceability
visp next
visp pr

If the agent surface does not expose numeric token usage, record that explicitly instead of inventing counts:

visp budget --task T001 \
  --record-usage-unavailable \
  --model codex \
  --usage-note "Agent surface did not expose numeric token usage." \
  --write-report

Usage Examples

Bootstrap Visp Kit In A Project

Use this when you are inside an existing codebase and want Visp Kit plus agent guidance installed in one step:

cd path/to/your-project
visp agent bootstrap codex --preset typescript --budget lean --strictness strict
visp status
visp gate next

For other AI coding tools, change the target:

visp agent bootstrap generic --strictness strict
visp agent bootstrap claude --strictness strict
visp agent bootstrap copilot --strictness strict

Bootstrap creates .visp/, policy, workflow metadata, project memory, starter reports, and agent-native guidance files. It does not call the AI tool or edit your implementation code.

Install Agent Guidance After Init

If .visp/ already exists, install or refresh the agent target directly:

visp agent install codex
visp agent doctor --target codex
visp agent refresh --target codex --force

Generated files depend on the target:

  • Codex: AGENTS.md plus .agents/skills/visp-*/SKILL.md
  • Generic: AGENTS.md plus .visp/prompts/agent-*.prompt.md
  • Claude: .claude/commands/visp-*.md
  • Copilot: .github/copilot-instructions.md and .github/instructions/visp-*.instructions.md

Start A Feature

Run the planning workflow before asking an agent to edit code:

visp scan
visp constitution
visp policy validate
visp feature "Add note pinning"
visp clarify
visp spec
visp plan
visp tasks
visp context --next
visp gate implement --task T001

Then open your AI coding tool and use the installed workflow.

Codex:

$visp-task
Continue with the next Visp task.

Claude Code:

/visp-task
Continue with the next Visp task.

Copilot-compatible tools:

Follow .github/instructions/visp-task.instructions.md.
Continue with the next Visp task.

Generic AI chat:

Use .visp/prompts/agent-task.prompt.md.
Continue with the next Visp task.

The agent should read .visp/prompts/current-task.prompt.md, implement only the selected task, and stop if a Visp gate blocks.

Track Implementation Checklist Status

visp context generates both a human-readable checklist and a machine-readable checklist:

.visp/features/<feature>/context/T001.implementation-checklist.md
.visp/features/<feature>/context/T001.implementation-checklist.json

The JSON checklist is the source of truth. It records whether required implementation steps are pending, done, not_applicable, unavailable, or blocked.

Check status:

visp checklist status --task T001

Update one item:

visp checklist update --task T001 \
  --item read-context \
  --status done \
  --evidence "Read .visp/prompts/current-task.prompt.md"

Useful item IDs include:

  • read-context
  • gate-implement
  • implement-selected-task
  • scope-check
  • tests-updated
  • verify
  • record-usage
  • review
  • reconcile

Visp Kit also updates checklist items automatically when it has reliable evidence:

  • visp gate implement --task T001 marks gate-implement done when allowed.
  • visp verify --task T001 marks verify done when verification passes.
  • visp review --task T001 marks review done when review completes.
  • visp reconcile --task T001 --update-traceability marks reconcile done when reconciliation completes.
  • visp budget --task T001 --record-usage ... marks record-usage done.
  • visp budget --task T001 --record-usage-unavailable ... marks record-usage unavailable.

Before PR readiness, visp next and visp gate pr warn or block when required checklist items are still pending or blocked.

Answer Clarifications

If visp clarify creates questions that need user input, record answers before generating the spec:

visp clarify answer CQ001 --answer "Pinned notes should appear before unpinned notes."
visp clarify answer CQ002 --answer "Keep the existing note sort order within each group."
visp spec

Verify, Review, And Reconcile Agent Work

After the agent edits code, run the evidence workflow:

visp verify --task T001
visp review --task T001
visp reconcile --task T001 --update-traceability
visp next

If verification or review fails, ask the agent to use the fix workflow:

$visp-fix
Fix the active Visp task based on the latest verification, review, and reconciliation reports.

Record Actual Token Usage

If your AI tool reports token usage, record it against the task:

visp budget --task T001 \
  --record-usage \
  --input-tokens 18000 \
  --output-tokens 4200 \
  --model "codex" \
  --usage-note "Implementation pass for note pinning" \
  --write-report

This updates budget evidence and the implementation checklist so the feature timeline can show estimated vs. actual usage.

If the AI tool does not expose numeric token usage, record that state explicitly:

visp budget --task T001 \
  --record-usage-unavailable \
  --model "codex" \
  --usage-note "Agent surface did not expose numeric token usage." \
  --write-report

Budget reports distinguish:

  • recorded: numeric input/output/total usage was recorded
  • unavailable: the agent/user attempted to record usage, but the surface did not expose numeric counts
  • not_recorded: no actual usage evidence has been recorded yet
  • estimated_only: only estimated context budget is available

Generate Reports

Common report commands:

visp status --write-report
visp budget --write-report
visp workflow show
visp eval --write-report
visp pr

Useful generated report locations:

  • .visp/reports/status-report.md
  • .visp/reports/budget-report.md
  • .visp/features/<feature>/context/<task>.implementation-checklist.md
  • .visp/features/<feature>/context/<task>.implementation-checklist.json
  • .visp/reports/evaluation-report.md
  • .visp/features/<feature>/verification.md
  • .visp/features/<feature>/review/<task>.review.md
  • .visp/features/<feature>/reconcile/<task>.reconcile.md
  • .visp/features/<feature>/timeline.md
  • .visp/features/<feature>/pr.md
  • .visp/runs/RUN001/run.md

Use JSON For Automation

Most commands support --json for scripts and CI checks:

visp status --json
visp next --json
visp gate implement --task T001 --json
visp eval --json

JSON mode prints machine-readable JSON only.

Prepare A PR Summary

When the task or feature is reconciled:

visp gate pr
visp pr

Then use .visp/features/<feature>/pr.md as the PR description draft. Visp Kit does not call GitHub or open a PR for you.

PR readiness includes implementation checklist and actual usage status. If required checklist items are incomplete, Visp Kit will not silently report the feature as ready.

Agent-Native Workflows

Supported targets:

  • codex
  • generic
  • claude
  • copilot

Install guidance:

visp agent bootstrap codex
visp agent install codex
visp agent install generic
visp agent install claude
visp agent install copilot
visp agent doctor
visp agent refresh

Visp Kit generates local instructions, skills, commands, or prompt files depending on the target. Compatibility depends on the specific AI tool surface. Visp Kit does not call the AI tool for you.

Presets

Presets tune Visp Kit's generated guidance, validation hints, scan behavior, dependency checks, and review focus. If --preset is omitted during visp init or visp agent bootstrap, Visp Kit auto-detects from project manifests.

Supported presets:

  • javascript
  • typescript
  • electron
  • react
  • node-api
  • go
  • java
  • python
  • rust
  • generic

Examples:

visp agent bootstrap codex --strictness strict
visp agent bootstrap codex --preset go --strictness strict
visp init --preset python

Auto-detection uses files such as package.json, go.mod, pom.xml, build.gradle, pyproject.toml, requirements.txt, and Cargo.toml. Use --preset generic if you want to force generic behavior.

Strictness Modes

Strictness is stored in .visp/policy.json.

  • relaxed: mostly warnings, useful for experiments
  • standard: default guardrails for normal use
  • strict: blocks unsafe workflow progression
  • locked: most cautious mode, disallows overrides unless policy explicitly permits them

Examples:

visp policy init --strictness strict
visp policy set-strictness locked
visp policy validate

Policy Gates

Use gates to ask whether a workflow step is allowed:

visp gate next
visp gate implement --task T001
visp gate review --task T001
visp gate pr

If a gate blocks, follow the next allowed command. A user prompt cannot bypass a failed gate.

Overrides

Overrides are explicit and auditable. They are written to .visp/overrides.json and included in gate and readiness reports.

Example:

visp override create VSP014 \
  --scope task \
  --feature 001 \
  --task T001 \
  --reason "Prototype branch has no automated verification yet; manual validation is documented."

Rules:

  • every override requires a meaningful reason
  • revoked or expired overrides do not apply
  • VSP019 and VSP020 are non-overridable
  • locked mode disallows overrides unless policy explicitly allows them
  • user prompts cannot create silent overrides

Token Efficiency

Visp Kit reduces token use through:

  • scan cache
  • compact file summaries
  • task-specific context packs
  • snippets instead of full files
  • budget modes
  • diff-only review
  • small task graphs
  • strict prompts that prevent broad repository reading

Useful commands:

visp budget
visp budget --task T001
visp budget --task T001 --record-usage-unavailable --model codex --usage-note "Agent surface did not expose numeric token usage." --write-report
visp context T001 --budget lean
visp eval

Project Status

Visp Kit is suitable for a first public alpha or internal company pilot after local dogfooding. It is still active development software. Teams should start with one repository, commit the .visp/ artifacts they need for auditability, and require human review for generated evidence.

Documentation

Example

See examples/strict-agent-workflow for a small strict workflow fixture.

License

Apache-2.0. See LICENSE.