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

@uxmaltech/collab-cli

v0.1.10

Published

CLI for collaborative architecture and delivery workflows.

Readme

collab-cli

Orchestration CLI for collaborative workflows with canonical architecture. Manages the complete lifecycle: from initial repository setup to Docker infrastructure, AI provider configuration, and architectural canon synchronization.

Collab Ecosystem

graph TD
    DEV[Developer] --> CLI[collab-cli<br><i>infrastructure</i>]

    subgraph APP["collab-laravel-app"]
        CHAT[collab-chat-ai-pkg<br><i>Chat UI</i>]
        CORE[collab-core-pkg<br><i>Discovery Agent</i>]
        PM[collab-project-manager-pkg]
        CHAT -- interface --> CORE
    end

    DEV -- "chat · GOV-R-001" --> CHAT

    CLI -- canon-sync --> CA[collab-architecture<br><i>framework canon</i>]
    CLI -- docker compose up --> MCP[collab-architecture-mcp<br><i>NebulaGraph · Qdrant</i>]
    CA -- seed + ingest --> MCP

    CORE -- research --> MCP
    CORE -- "Epic + Stories" --> GH[GitHub Issues]

    GH -- "GOV-R-002" --> REPOS[Target Repos]
    REPOS -- "merge → GOV-R-003" --> BCA[collab-app-architecture<br><i>application canon</i>]
    BCA -- ingest --> MCP

    style CLI fill:#4a9eff,stroke:#2b7de9,color:#fff
    style APP fill:#e8f4f8,stroke:#4a9eff

| Repository | Role | Relation to this repo | |------------|------|----------------------| | collab-architecture | Framework canon | Framework-level rules, patterns, and governance | | collab-app-architecture | Application canon | Application-specific rules, patterns, and decisions | | collab-cli | Orchestrator CLI | This repo — infrastructure CLI — canon sync, init, domain generation | | collab-architecture-mcp | MCP server | NebulaGraph + Qdrant — indexes canon for AI agents | | collab-laravel-app | Host application | Laravel app that installs the ecosystem packages | | collab-chat-ai-pkg | AI Chat package | Chat UI and prompt admin | | collab-core-pkg | Issue orchestration | AI agent pipeline for issue creation | | collab-project-manager-pkg | Project manager | Project management functionality |

Prerequisites

| Requirement | Version | Notes | |-------------|---------|-------| | Node.js | >= 20 | Required | | npm | >= 10 | Required | | git | any | Required for install script | | Docker | any | Indexed mode only |

Installation

npm (global):

npm install -g @uxmaltech/collab-cli
collab --version

npx (ephemeral):

npx @uxmaltech/collab-cli --help

Installer script (latest-main):

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/uxmaltech/collab-cli/main/install.sh)"

Local development:

npm install && npm run build
bin/collab --help

Uninstall:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/uxmaltech/collab-cli/main/uninstall.sh)"

Quick start

collab init                          # interactive wizard
collab init --yes                    # automatic mode (file-only, defaults)
collab init --yes --mode indexed     # automatic with Docker infrastructure
collab init --resume                 # resume from last failed stage

Operation modes

| Aspect | File-only | Indexed | |--------|-----------|---------| | Description | Agents read .md files directly | Agents query NebulaGraph + Qdrant via MCP | | Docker | Not required | Required (Qdrant, NebulaGraph, MCP server) | | MCP | No | Yes — endpoint http://127.0.0.1:7337/mcp | | Wizard stages | 8 | 15 | | Use case | Small projects, no Docker, quick start | Multi-repo ecosystems, large canons |

Transition heuristic: Consider indexed mode when the canon exceeds ~50,000 tokens (~375 files).

Commands

| Command | Description | |---------|-------------| | collab init | Onboarding wizard (complete setup) | | collab compose generate | Generate docker-compose files (consolidated | split) | | collab compose validate | Validate compose files via docker compose config | | collab infra up\|down\|status | Manage infrastructure services (Qdrant + NebulaGraph) | | collab mcp start\|stop\|status | Manage MCP runtime service | | collab up | Full startup pipeline (infra → MCP) | | collab seed | Preflight check for infrastructure before seeding | | collab doctor | System diagnostics: config, health, and versions | | collab end | Finalize work: create PR with governance references and canon sync | | collab update-canons | Download/update canon from GitHub |

Global options

| Option | Description | |--------|-------------| | --cwd <path> | Working directory for collab operations | | --dry-run | Preview actions without side effects | | --verbose | Detailed command logging | | --quiet | Reduce output to results and errors only | | -v, --version | Show CLI version |

AI providers

| Provider | Env var | CLI detection | Default models | |----------|---------|---------------|----------------| | Codex (OpenAI) | OPENAI_API_KEY | codex | o3-pro, gpt-4.1, o4-mini | | Claude (Anthropic) | ANTHROPIC_API_KEY | claude | claude-sonnet-4, claude-opus-4 | | Gemini (Google) | GOOGLE_AI_API_KEY | gemini | gemini-2.5-pro, gemini-2.5-flash | | Copilot (GitHub) | — | gh | GitHub Copilot backend |

Auto-detection: Providers are detected automatically if their env var is set or their CLI is in PATH.

MCP snippets: During collab init, MCP configuration files are generated per provider (claude-mcp-config.json, gemini-mcp-config.json) to connect agents to the MCP server.

Wizard pipeline (collab init)

File-only (8 stages)

  1. Preflight checks (docker, node, npm, git)
  2. Environment setup (.collab/config.json)
  3. Assistant setup (AI provider configuration)
  4. Canon sync (download collab-architecture from GitHub)
  5. Repo scaffold (docs/architecture and docs/ai structure)
  6. Repo analysis (basic structure and dependency analysis)
  7. CI setup (GitHub Actions templates)
  8. Agent skills setup (skills and prompts registration)

Indexed (15 stages)

Phase A — Local setup (stages 1-8): Same as file-only, but repo analysis uses AI.

Phase B — Infrastructure (stages 9-12):

  1. Compose generation (docker-compose.yml or split files)
  2. Infra startup (Qdrant + NebulaGraph via Docker)
  3. MCP startup (MCP service + health checks)
  4. GitHub setup (branch model, protections, CI workflows)

Phase C — Ingestion (stages 13-15):

  1. MCP client config (provider snippets)
  2. Graph seeding (initialize graph with architecture data)
  3. Canon ingest (ingest collab-architecture into Qdrant/Nebula)

Useful flags:

  • --resume — resume from last incomplete stage
  • --force — overwrite existing config
  • --skip-analysis — skip code analysis
  • --skip-ci — skip CI generation
  • --skip-github-setup — skip GitHub branch model and workflow configuration
  • --providers codex,claude — specify providers

Workspace mode

For multi-repo ecosystems, collab-cli automatically detects the workspace root and allows repository selection:

collab init --repos repo-a,repo-b,repo-c

When run from a directory containing multiple repos, the wizard presents repository selection interactively.

Finalizing work (collab end)

Create a pull request with governance references and optional canon sync:

collab end                              # create PR from current branch to development
collab end --dry-run                    # preview PR without creating it
collab end --title "feat: add login"    # override PR title
collab end --base development           # specify target branch (default: development)
collab end --skip-canon-sync            # skip canon sync PR generation

Context detection: Automatically parses issue numbers from branch names (e.g., feature/42-add-login links to issue #42). In indexed mode, the PR body includes GOV-R-001 phase checklist and governance references.

Canon sync (indexed mode): When architecture changes are detected (docs/architecture/), a separate PR is created in the business-canon repo to complete Phase 5 (Canon Sync) of GOV-R-001.

Local development

| Script | Description | |--------|-------------| | npm run build | Compile TypeScript to dist/ | | npm run lint | ESLint on src/**/*.ts | | npm run format | Prettier (check) | | npm run format:write | Prettier (write) | | npm test | Build + run tests | | npm run test:e2e | E2E with Docker (collab init --mode indexed → MCP tool call) | | npm run typecheck | TypeScript without emit | | npm run pack:dry-run | Verify npm package contents |

Project structure

bin/                     # executable entrypoint (bin/collab)
src/
  cli.ts                 # main entry point, registers commands
  commands/              # command hierarchy (init, compose, infra, mcp, up, seed, doctor)
  lib/                   # shared utilities (config, orchestrator, health, providers, executor)
  stages/                # pipeline stages (preflight, canon-sync, repo-analysis, graph-seed...)
  templates/             # compose and CI templates
tests/                   # integration and orchestration tests
scripts/                 # auxiliary scripts (test runner)
docs/
  release.md             # distribution and versioning strategy
  ai/                    # AI agent context (brief, domain map, module map)
  architecture/          # architectural knowledge
ecosystem.manifest.json  # cross-repo compatibility ranges

Governance and releases

License

MIT