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

ultra-builder-pro-cli

v0.13.0

Published

Multi-runtime installer for the Ultra Builder Pro agent engineering system — deploys commands, agents, skills, hooks, and MCP server to Claude Code, OpenCode, Codex CLI, and Kimi Code.

Readme

ultra-builder-pro-cli

Multi-runtime plugin suite + autonomous coding factory for the Ultra Builder Pro agent engineering system. It ships native plugins for Claude Code · OpenCode · Codex · Kimi Code and orchestrates PRD → dependency graph → parallel session execution → auto-merge with a single authoritative .ultra/state.db.

Version Tests License: MIT Node


(30-second demo GIF placeholder — to be added before v1.0)

What it does

  • Builds host-native plugins from one allowlist. Claude Code, OpenCode, Codex, and Kimi Code receive their own command/skill, agent, hook, and MCP representation. Install and uninstall are symmetric on every supported host; ubp --doctor verifies the installed asset hashes and host entry points without mutation.
  • Shares state across runtimes. .ultra/state.db (SQLite + WAL) is the authoritative source for baselines, changes, tasks, sessions, events, incidents, projection jobs, and telemetry. tasks.json and context markdown are generated projections, not handwritten.
  • Keeps memory ownership explicit. Ultra Builder Pro does not collect prompts, transcripts, observations, summaries, or cross-session memory. Install cloud-mem/claude-mem separately if persistent memory is wanted.
  • Runs real PRDs end-to-end. task.parse_prdlib/topo.cjs waves → .ultra/execution-plan.json → parallel worktree sessions → auto-merge back.
  • Keeps daily work convergent. /ultra-change creates a bounded delta and Context Manifest v2; the Context Spine assigns a role/gate, verifies required references, reports fresh-context budget pressure as advisory warnings, exposes one DB-derived breadcrumb, and routes a single next action. /ultra-deliver requires applied specification learning plus docs/test/two-axis review evidence before archive. /ultra-doctor reports incidents, projection lag, orphan sessions, and backup-first mechanical recovery. Incident changes additionally require a five-section diagnosis.md covering reproduction, hypotheses, root cause, regression test, and recovery.
  • Adopts existing repositories without pretending they are new. ultra-init classifies greenfield, brownfield, and monorepo scope. Brownfield adoption records current specifications, repository/runtime evidence, worktree snapshot, known-red verification, categorized gaps, unknowns, and explicit approval without rewriting application code. v4.4 and v4.5 projection-only projects have backup-first imports.
  • Keeps external context external. Memory and code-graph providers retain their own content; Ultra stores only provider/project/revision/status metadata references in a compiled change context.

Quickstart

# Install into one runtime (local = current project's config dir)
npx ultra-builder-pro-cli --claude   --local
npx ultra-builder-pro-cli --opencode --local
npx ultra-builder-pro-cli --codex    --local
npx ultra-builder-pro-cli --kimi     --local

# Or blanket-install to every supported runtime you have
npx ultra-builder-pro-cli --all --local

# Global (into the runtime's ~/.config-style dir)
npx ultra-builder-pro-cli --claude --global
npx ultra-builder-pro-cli --kimi   --global

# Uninstall (symmetric)
npx ultra-builder-pro-cli --all --local --uninstall

# Read-only installation provenance and drift diagnosis
npx ultra-builder-pro-cli --all --local --doctor
npx ultra-builder-pro-cli --all --local --doctor --json

After install, start a new host session/task and point it at the project. Claude Code and OpenCode expose native command forms. Codex exposes the same workflows as namespaced plugin skills such as $ultra-builder-pro:ultra-init, $ultra-builder-pro:ultra-plan, and $ultra-builder-pro:ultra-dev; command-map.json records the eleven legacy command mappings (ultra-review remains a directly invocable skill). Kimi Code uses native namespaced commands such as /ultra-builder-pro:ultra-init and /ultra-builder-pro:ultra-plan; run /reload or start a new Kimi session after install or update. See docs/RUNTIME-COMPAT-MATRIX.md for per-runtime capabilities.

Start with ultra-init in both new and existing projects. An empty project opens a draft greenfield baseline. An existing codebase opens an adopting brownfield baseline; inspect current behavior, call baseline.record, then approve it through baseline.converge before normal planning or delivery. Existing active work may continue while adoption drift is visible. A new incident requires an explicit break-glass approver and leaves a blocking reconciliation gap at archive; new ordinary work always requires a healthy ready baseline.

Three-layer architecture

| Layer | Purpose | When it's used | |-------|---------|----------------| | skill (skills/ultra-*/) | Knowledge — prompts, workflows, prose | Runtime's native skill/prompt loader picks them up after install | | MCP (mcp-server/) | Authoritative state — reads/writes .ultra/state.db via stdio JSON-RPC | Primary path for task / session / event / plan operations | | CLI (ultra-tools, bin/*) | Selected initialization, recovery, diagnostics, and orchestration surfaces | ultra-tools task init-project, ultra-tools system doctor, ubp-orchestrator run |

The layers share one .ultra/state.db, but the CLI is not a mirror of every MCP tool: continuous change mutations are MCP-only and fail closed. See docs/ARCHITECTURE.md for the full contract and spec/cli-protocol.md for the 36 live contracts. Review, impact discovery, skill resolution, and user interaction stay on each Host's native surfaces; the generated Codex capability map documents those replacements without advertising non-existent MCP tools.

The package boundary is deliberate: twelve public Ultra workflow skills, four internal review-rule skills, host-specific collaboration companions, and the minimal host bootstrap required by Kimi. Browser, deployment, skill-discovery, and framework guidance belong to their original plugins.

Runtime capability matrix

| Feature | Claude Code | OpenCode | Codex CLI | Kimi Code 0.26+ | |------------------------------|:-----------:|:--------:|:---------:|:---------------:| | Custom commands | ✅ | ✅ | ✅ | ✅ (namespaced) | | Skill loader | ✅ | ✅ | ✅ (personal plugin) | ✅ (native plugin) | | MCP server (stdio) | ✅ | ✅ | ✅ (plugin .mcp.json) | ✅ (mcpServers) | | Workflow hooks | ✅ (native plugin) | ✅ (native JS plugin) | ✅ (native plugin) | ✅ with documented compact limitation | | Sub-agents | ✅ | ✅ | ✅ (9 native TOML agents) | ✅ via Agent / AgentSwarm prompt templates | | Session worktree isolation | ✅ (driven by orchestrator/session-runner.cjs) | ✅ | ✅ | ✅ | | Parallel dispatch + auto-merge | ✅ (ubp-orchestrator run) | ✅ | ✅ | ✅ |

Full details in docs/RUNTIME-COMPAT-MATRIX.md (10 sections, with per-runtime deviations called out).

Typical workflow

# 1. Bootstrap project state (the ultra-init skill completes adoption and approval)
ultra-tools task init-project --project-name myapp --mode auto

# Projection-only projects from prior releases use one backup-first import:
ultra-tools migrate --from=4.4 --to=4.5 --source-dir .
ultra-tools migrate --from=4.5 --to=12.0 --source-dir .

# 2. Record and converge the greenfield/brownfield baseline, then turn accepted
#    behavior into a task graph (normally driven by ultra-init/research/plan)

# 3. Run the plan — parallel sessions, auto-merge back to main on success
ubp-orchestrator run

# 4. Monitor cost, progress, and runtime health
ultra-tools status
ultra-tools status --cost --since 24h
ultra-tools session list --json
ultra-tools system doctor

Or let the skills drive it. In Codex, invoke $ultra-builder-pro:ultra-init$ultra-builder-pro:ultra-plan$ultra-builder-pro:ultra-dev$ultra-builder-pro:ultra-test$ultra-builder-pro:ultra-review$ultra-builder-pro:ultra-deliver; after the baseline is delivered, daily work starts with $ultra-builder-pro:ultra-change, while $ultra-builder-pro:ultra-status reads the compact authoritative breadcrumb. Kimi uses the corresponding /ultra-builder-pro:ultra-* namespace. Other runtimes retain their native command form.

CLI surface

| Binary | Purpose | |--------|---------| | ultra-builder-pro-cli / ubp | Installer — --claude / --opencode / --codex / --kimi / --all, --local / --global, --uninstall; read-only install checks via --doctor [--json] | | ubp-orchestrator | Session dispatch daemon — run, start, stop, status | | ultra-tools | State-layer CLI — task, session, status, db, migrate; explicit legacy-memory archive/prune migration | | ubp-handbook | Preview/apply the managed Ultra contract in CLAUDE.md / AGENTS.md, with backup |

Verification

npm install
npm run test:all
python3 -m pytest hooks/tests -q
npm audit
# Or run the complete publish gate:
npm run verify:release

Individual suites: test:state, test:orch, test:spec, test:rest.

Troubleshooting

  • state.db locked: close any ubp-orchestrator daemon, then ultra-tools db integrity. SQLite WAL tolerates readers + one writer; two writers require orchestrated access (see docs/STATE-DB-ACCESS-POLICY.md).
  • git/config.lock contention during parallel run: Node's single-thread execFileSync serializes worktree creation, so this shouldn't happen — but if you see it, ubp-orchestrator status will list stale worktrees and node -e "require('./orchestrator/worktree-manager.cjs').releaseAll(process.cwd())" cleans them up.
  • Installed commands don't show up: check the runtime's actual config dir (ultra-builder-pro-cli --<runtime> --local writes to the host-specific project dir such as ./.claude, ./.opencode, or ./.kimi-code; --global writes to the user-level dir). The install log prints the exact target path. Restart Claude Code/OpenCode or start a new Codex task after changing an installed plugin. In Kimi Code, run /reload or start a new session.
  • Kimi MCP reports a native-module ABI error: Kimi 0.26/0.27 embeds a different Node ABI from the package installer. The generated plugin intentionally runs the MCP with env node; keep a Node.js >=22 executable on PATH when starting Kimi.
  • Installed hook/MCP path is missing or stale: run npx ultra-builder-pro-cli --<runtime> --local --doctor first. It compares the recorded install provenance with current asset hashes and validates the host-specific hook, MCP, plugin, and runtime-manifest entry points. Reinstall only after preserving the degraded report as evidence.
  • Projection tasks exist but state.db has no tasks: run the exact v4.4 or v4.5 ultra-tools migrate command returned by MCP, verify the backup and imported counts, then run ultra-init to replace the compatibility row with a reviewed brownfield baseline.
  • Old or corrupt state.db: ultra-tools system doctor is read-only; ultra-tools system doctor --repair upgrades supported schemas with two backup checkpoints. A corrupt database is never overwritten automatically. After explicit owner approval, restore a verified managed copy with ultra-tools system restore --backup <path> --confirm REPLACE_CORRUPT_ULTRA_STATE, or preserve the corrupt DB and legacy projection before rebuilding authority with ultra-tools system rebaseline --project-name <name> --confirm REBASELINE_CORRUPT_ULTRA_STATE.
  • Legacy Ultra memory data remains on disk: inspect first with ultra-tools legacy-memory inspect, archive with ultra-tools legacy-memory archive, then prune only with the explicit confirmation token printed by the command. Nothing is deleted implicitly.
  • MCP tool errors with ANTHROPIC_API_KEY missing: task.parse_prd and task.expand need a real LLM key at runtime. Set ANTHROPIC_API_KEY or OPENAI_API_KEY before invoking those tools; all other MCP tools work without any LLM credential.

Documentation

| Doc | What's in it | |-----|--------------| | docs/PLAN.zh-CN.md | Historical 12-phase plan and decision log with a current-boundary overlay | | docs/ROADMAP.md | One-page English roadmap + phase status | | docs/ARCHITECTURE.md | Single-page system architecture | | docs/AGENT-CONTEXT.md | Canonical runtime context contract | | docs/USER-HANDBOOK-CONTRACT.md | Shared user-handbook policy and host renderings | | docs/RUNTIME-COMPAT-MATRIX.md | Per-runtime capability matrix | | docs/STATE-DB-ACCESS-POLICY.md | Multi-process write contract | | docs/COMMIT-HASH-BACKFILL.md | Two-commit task-completion flow | | CHANGELOG.md | v0.1 → current release notes |

License

MIT — see LICENSE.