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

agenv-cli

v2.2.0

Published

Generate portable AI workspace configs for any web development project — one manifest for Copilot, Claude, Codex, and MCP.

Readme

agenv

npm version license

Generate portable AI workspace configs for any web development project — one manifest for Copilot, Claude, Codex, MCP, Cursor, and Windsurf.

Define one canonical ai-workspace.json manifest, then generate tool-specific configuration files for all six targets from a single source of truth.

Quick Start

# Install once:
npm install -g agenv-cli

# Then in any web project directory:
agenv init --yes
agenv generate

That's it. agenv inspects your repo, creates ai-workspace.json, and generates tool-specific files for your enabled targets.

What It Does

  1. Inspects your repo — detects framework, package manager, existing AI config files
  2. Creates ai-workspace.json — a single manifest describing your AI workspace
  3. Plans which files to generate based on your targets and setup mode
  4. Generates shared docs, prompts, and tool-specific files (AGENTS.md, copilot-instructions, .claude/, .mcp.json)

Supports seven project types: dashboard, web-app, api-service, full-stack, library, cli-tool, and mobile.

Install

npm install -g agenv-cli
agenv --help

Commands

| Command | Description | |---|---| | agenv init | Create ai-workspace.json from repo inspection + interactive prompts | | agenv init --yes | Non-interactive mode with recommended defaults | | agenv generate | Generate all planned files from the manifest | | agenv generate --dry-run | Preview what would be generated without writing | | agenv generate --force | Overwrite files modified outside agenv | | agenv diff | Show what generate would change | | agenv doctor | Validate manifest and repo compatibility | | agenv templates list | List available starter templates |

How It Works

agenv init          →  ai-workspace.json (your manifest)
agenv generate      →  AGENTS.md, .github/copilot-instructions.md,
                       .claude/*, .mcp.json, docs/ai-prompts/*
agenv diff          →  preview changes before writing
agenv doctor        →  validate everything is consistent

Generated files include a header comment so agenv knows which files it manages. Files you edit by hand are protected from overwrite (unless you use --force). Backups are created in .agenv-backups/ before any overwrite.

Supported Targets

| Target | Output | |---|---| | codex | AGENTS.md | | copilot | .github/copilot-instructions.md | | claude | .claude/README.md, .claude/skills/*.md, .claude/agents/*.md, .claude/settings.local.json | | mcp | .mcp.json, .mcp.local.json | | cursor | .cursor/rules/context.mdc, .cursor/rules/coding-style.mdc, .cursor/rules/framework.mdc, .cursor/rules/code-review.mdc | | windsurf | .windsurf/rules/context.md, .windsurf/rules/coding-style.md, .windsurf/rules/framework.md, .windsurf/rules/code-review.md |

Project Types

| Type | Description | |---|---| | dashboard | Internal data/admin dashboard | | web-app | Consumer-facing web application | | api-service | Backend API service | | full-stack | Combined frontend + backend (e.g. Next.js full-stack) | | library | Reusable npm package or component library | | cli-tool | Node.js command-line tool | | mobile | React Native / Expo mobile app |

MCP Presets

Built-in presets with trust annotations: filesystem, github, fetch, memory, postgres, sqlite, puppeteer, sequential-thinking, notion, stripe, atlassian.

Select presets during agenv init or add them to generated.mcpPresets in your manifest. Non-safe presets include _trustLevel and _trustNote annotations in .mcp.json.

Documentation

| Doc | Purpose | |---|---| | Getting Started | Contributor onboarding | | Product Requirements | Product goals and scope | | Technical Requirements | Architecture and technical design | | CLI Spec | Command contract and flag reference | | Manifest Spec | Manifest schema and field definitions | | Output Map | Which files are generated and when | | Adapter Contract | How adapters work |

Contributing

See CONTRIBUTING.md for setup, development commands, and PR guidelines.

Security

See SECURITY.md for the vulnerability reporting policy.

npm install
npm run build
npm test
npm run typecheck

License

MIT