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

@cvsz/zagents-generator

v0.1.4

Published

Library/core package for the ZAgents Generator. Pair with `zagents` for the CLI. Re-exports scaffold(), validate(), and the deterministic-analysis pipeline from `zagents` so consumers can `import { scaffold } from '@cvsz/zagents-generator'` without shelli

Readme

@cvsz/zagents-generator

Library / core package for the ZAgents Generator. Pair with zagents for the CLI.

What this is

The library half of the dual-package model. If you want to run the generator, use zagents. If you want to import it from your own code, use this package.

# Run it (CLI)
npx zagents my-bot --template vertical:coding

# Import it (library)
npm install @cvsz/zagents-generator
import {
  scaffold,
  validateHarnessName,
  HOSTS,
  TEMPLATES,
} from '@cvsz/zagents-generator';

// Generate a gemini programmatically:
const result = await scaffold({
  name: 'my-bot',
  template: 'vertical:coding',
  host: 'claude-code',
  targetDir: '/tmp/my-bot',
  force: true,
  generatorVersion: '0.1.0',
});
console.log(`wrote ${result.files.length} files`);

What's exported

| Group | Exports | |---|---| | Scaffold pipeline | scaffold, parseArgs, main, detectRufloProject, templateDir | | Catalog surface | HOSTS, TEMPLATES, loadCatalog, formatCatalog | | Rendering | render, extractVarReferences, validateHarnessName, walkTemplate, asFileMap, writeAtomic | | Manifest / fingerprinting | emptyManifest, sha256, fingerprintFiles, diffFingerprints | | Types | Host, TemplateId, CatalogEntry, CliArgs, ScaffoldOptions, ScaffoldResult, TemplateVars |

The full per-subcommand surface (validate / sbom / audit / score / genome / threat-model / …) lives in zagents. We re-export the generation primitives here; per-subcommand commands stay CLI-only because they assume the gemini has already been written to disk and is being inspected.

How the dual-package model works

  ┌─────────────────────────────────┐
  │ zagents                       │   ← the published CLI
  │  • bin: zagents, gemini      │     `npx zagents`
  │  • full implementation          │     `npx zagents score ./my-bot`
  │  • full JS API                  │
  └────────────┬────────────────────┘
               │ depends on
  ┌────────────┴────────────────────┐
  │ @cvsz/zagents-generator │   ← this package: thin re-export
  │  • no bin                       │     `import { scaffold } from …`
  │  • re-exports the library API   │
  └─────────────────────────────────┘

One source of truth. Two published names. The wrapper has no implementation — if logic ever leaks into this package, it's a bug.

When to use which

  • zagents — you want the command-line tool, full subcommand surface, marketplace plugin, Codex skills.
  • @cvsz/zagents-generator — you're embedding the generator in a build script, a web service, or another tool, and don't want the bin baggage.

Version pinning

This package always depends on the same minor version of zagents. A patch release of zagents doesn't bump us automatically — we cut a matching patch and re-publish so the dependency stays tight.

License

MIT — see LICENSE.