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

@projeto-zero/cli

v1.1.3

Published

CLI scaffolder and swarm launcher for Claude Code agent workspaces

Readme

@projeto-zero/cli

Scaffolds Claude Code agent workspaces — subagents, skills, MCP connectors — and launches parallel Claude Code agent swarms.

Prerequisites

Requires the Claude Code CLI. Verify with:

claude --version

Install it from https://docs.claude.com/claude-code if it's missing.

Installation

Run the CLI without installing via npx (recommended for one-shot scaffolding):

npx -y @projeto-zero/cli init

Or install globally once and re-use the same binary across projects:

npm install -g @projeto-zero/cli

After a global install, the CLI is also available as antigravity <command> (legacy binary name retained for back-compat). All examples below use npx so they work without a global install.

Usage

The CLI is designed to act as an interactive "Setup Wizard" that provisions your project directories and installs essential files natively.

The standard workflow:

  1. init
  2. (Optional) info
  3. generate

Commands

init

Initialize the wizard with interactive prompts. It will ask for:

  • Your project's name.
  • Which Claude Code subagents to scaffold (coder, designer, auditor, mcp — selected by role, not by legacy display name).
  • Which MCP connectors to enable (if the mcp subagent is selected).
  • Whether to include Claude Code subagent + skill template files.

This command writes your choices to disk (persisted statelessly via conf package), but does not generate any files.

npx -y @projeto-zero/cli init

generate

Generates the project files based on the configuration persisted by the init command.

npx -y @projeto-zero/cli generate [options]

Options:

  • -d, --dir <path>: Provide a target directory. If no directory is supplied and there is no default loaded, you will be interactively prompted for the exact output directory location.

info

Shows a summary of your currently saved setup configuration without making any changes.

npx -y @projeto-zero/cli info

reset

Danger Zone. Completely clears the active configuration file saved by init. Prompts for final confirmation before doing so.

npx -y @projeto-zero/cli reset

swarm

Launches a parallel Claude Code agent swarm against the prompts in .agents/prompts/*.md. Dry-run is the default — agents only spawn when you pass --live. See docs/SWARM.md for safety defaults, grid layouts, and the --i-understand gate.

Note: generate creates .agents/prompts/ as an empty folder (with a .gitkeep). You populate it with your own *.md prompt files before running swarm.

npx -y @projeto-zero/cli swarm --count 3          # preview plan (dry-run)
npx -y @projeto-zero/cli swarm --count 3 --live   # actually spawn
npx -y @projeto-zero/cli swarm --count 2 --mode verify --live   # read-only review pass

Environment Variables

ANTIGRAVITY_CONFIG_DIR

The CLI caches your settings globally using conf. You can override the directory where these preferences are saved by providing the ANTIGRAVITY_CONFIG_DIR environment variable. This is highly recommended for CI/CD pipelines, sandboxes, or running isolated tests to prevent modifying your local development host's native configuration.

# Example overriding config structure
ANTIGRAVITY_CONFIG_DIR="/tmp/mock-cli-tests" npx -y @projeto-zero/cli init

Env var name retained from v1.0 for back-compat with existing pipelines. Renaming is tracked as a breaking change for a future major.


Example Trace

Here is an example trace of navigating through a fresh project scaffolding setup (selecting coder + auditor, templates enabled):

$ npx -y @projeto-zero/cli init
│
◇  Projeto Zero Interactive Setup
│
◇  What is your project name?
│  super-app
│
◇  Select Claude Code subagents to scaffold:
│  coder, auditor
│
◇  Include Claude Code subagent + skill template files?
│  Yes
│
◇  Configuration saved successfully!
│
└  Setup complete. You can now run "generate" or "info".

$ npx -y @projeto-zero/cli generate --dir ./src
│
◇  Code Generation
│
◇  Scaffold completed!
│
◇  Created 6 artifacts in ./src
│
└  Generated 6 artifacts in the target directory.

The 6 artifacts for a two-agent selection with templates enabled:

CLAUDE.md
.agents/coder.md
.agents/auditor.md
.agents/prompts/.gitkeep
skills/coder/SKILL.md
skills/auditor/SKILL.md

Formula: 2 + 2N artifacts — CLAUDE.md + .agents/prompts/.gitkeep + one .agents/<id>.md and one skills/<id>/SKILL.md per selected subagent. MCP connector files add one JSON per selected connector on top.


Troubleshooting

"No configuration found. Please run 'init' first."

You are trying to execute generate or info before establishing the configuration state. Solution: Simply run npx -y @projeto-zero/cli init to configure the wizard.

My setup failed for an unknown directory error

The generate command natively handles formatting against any path you provide, but if the location lacks write privileges or hits Windows OS restrictions cross-environment, you will observe an error trace. Provide an access-level path such as -d ./ or an elevated terminal check.

State mismatch crossing directories

Since the CLI saves state locally on your machine, running init on one project and generate without re-running init across another repo will inherit the previous config values. Use npx -y @projeto-zero/cli reset to safely purge settings before pivoting scopes.

Swarm says "no prompts discovered"

generate creates .agents/prompts/ as an empty folder. Author your own *.md prompt files there before running swarm, or pass an explicit glob via --prompts <pattern>.