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

@nebulesstech/openspec-schemas

v1.8.0

Published

Copyable OpenSpec workflow schemas and optional companion adapters

Downloads

302

Readme

OpenSpec Custom Schemas

Copyable workflow schemas for OpenSpec. OpenSpec provides the built-in spec-driven workflow. This package adds nine focused alternatives for different delivery styles.

Provenance

This repository is a Nebuless-maintained fork and extension of Hari Krishnan's OpenSpec Custom Schemas, originally published by Hari Krishnan. The upstream baseline content uses five named schemas: minimalist, event-driven, spec-driven-with-adr, behaviour-driven, and intent-driven. Fission-AI/OpenSpec is the underlying OpenSpec platform, not the source of this schema collection.

Fork additions include:

  • npm package and openspec-schemas CLI
  • intent-driven-engineering, intent-driven-superpowers, compound-intent-driven, and intent-driven-design
  • Compound lifecycle adapters and OpenSpec lifecycle companion skills
  • source-aware skill installer
  • guarded schema switching and managed skills
  • opt-in MCP catalogs
  • opsx-schema CLI and optional view

Choosing a Schema

Start with spec-driven for most projects. Choose intent-driven when complex work needs observable behaviour, technical design, and durable architecture decisions. Each linked schema guide covers fit, activation, stage gates, and companion skills.

| Schema | Artifact flow | Choose when | |---|---|---| | spec-driven (built-in) | proposal -> specs -> design -> tasks | General-purpose OpenSpec workflow | | behaviour-driven | proposal -> (specs, design) -> tasks | Observable behaviour carries the intent, without durable ADRs | | spec-driven-with-adr | proposal -> specs / design -> adr -> tasks | Standard specs need durable Architecture Decision Records | | intent-driven | proposal -> (specs, design) -> adr -> tasks | Complex work needs behaviour specs, design, and durable decisions | | intent-driven-engineering | proposal -> (specs, design) -> adr -> tasks | Intent-driven work needs source-aware engineering skills and phase guidance | | intent-driven-superpowers | proposal -> (specs, design) -> adr -> tasks | Intent-driven work uses Superpowers implementation, debugging, review, and verification skills | | compound-intent-driven | proposal -> (specs, design) -> adr -> tasks | Intent-driven work uses Compound Engineering's core loop with OpenSpec lifecycle helpers and safe continuation adapters | | intent-driven-design | journey -> proposal -> (specs, design) -> adr -> tasks | Product, UI, or platform work needs discovery evidence, explicit user decisions, and durable architecture records | | event-driven | event-storming -> event-modeling -> specs -> design -> asyncapi -> tasks | Event-centric or AsyncAPI-first systems | | minimalist | specs -> tasks | Small, well-scoped, low-risk changes |

intent-driven builds on behaviour-driven with an ADR artifact. Both use OpenSpec Markdown delta specs. It also subsumes spec-driven-with-adr with richer behaviour specs and companion skills. Choose behaviour-driven when durable ADRs aren't needed.

Schemas define artifact workflows. They don't run acceptance tests. The behaviour-driven, intent-driven, intent-driven-engineering, and intent-driven-superpowers packages declare the optional spec-as-source companion skill for fenced-Gherkin authoring and executable acceptance testing.

Install a Schema

This checkout packages version 1.8.0. Check npm view @nebulesstech/openspec-schemas version dist-tags for published channels. Package core targets Node >=20; the locked full toolchain for OpenSpec requires Node.js >=20.19.0. Nub and an initialized OpenSpec project are required. opsx-schema view additionally requires Node.js >=26.4, Linux x64 glibc, a non-dumb TTY, and the optional OpenTUI runtime. The package manifest retains @opentui/[email protected] and [email protected] as optional dependencies for package-manager installs.

Install and activate a schema from your project directory:

nub dlx --minimum-release-age-exclude=@nebulesstech/openspec-schemas -p @nebulesstech/openspec-schemas@latest openspec-schemas install <schema-name> -t . -i

Each package includes a skills.txt manifest. Companion skills and Compound host adapters are optional. compound-intent-driven adds OpenSpec lifecycle companions for explore, propose, apply, sync, and archive, plus /opsx-ce-* adapters. OpenSpec CLI state remains lifecycle authority: continuation commands act only on an explicit selection, and archive remains user-controlled. See the agent install guide for complete prerequisites, install choices, collision rules, skills, adapters, and local or unreleased fallback.

Schemas may also include a strict read-only mcp.yaml catalog. After explicit approval, install selected catalog entries with --mcp and -a; see the agent install guide for host detection, safe config behavior, and Pi guidance.

Inspect Project State

The project plans to migrate to a new CLI surface with a TUI. That migration is not part of version 1.8.0; use the commands below for this release. Migration instructions will accompany the new interface when it is ready.

opsx-schema is additive. Existing openspec-schemas commands remain compatible for schema listing, validation, installation, and verification. Use opsx-schema for project state and guarded operations:

opsx-schema inspect
opsx-schema inspect --change <change-id> --json
opsx-schema doctor --json
opsx-schema skills inspect --schema <schema-name> --profile default --json
opsx-schema handoff <change-id> <schema-name> --json

Read commands support --json. JSON writes one object to stdout with schemaVersion, command, ok, data, diagnostics, mutations, and nextActions. Errors use a nonzero exit status. Commands don't expose secrets, tokens, or unsafe hidden switches.

Schema activation and skill changes are guarded. opsx-schema enable previews by default and needs --yes to update openspec/config.yaml. Skill install, enable, and disable preview by default and need --apply; --force only replaces safe unmanaged directories at declared targets and never bypasses managed drift, symlink, or ownership checks. handoff is a metadata-only dry run unless --apply is present, and incompatible graphs need --allow-incompatible.

opsx-schema view is optional. Archived records are unavailable from its active snapshot. It requires stable Node.js >=26.4, Linux x64 glibc, a non-dumb TTY, --experimental-ffi, and optional @opentui/core and web-tree-sitter dependencies. View is read-only until a displayed action is previewed and explicitly confirmed. Incompatible handoffs reject by default; acknowledgement requires a separate explicit control and a new preview before exact confirmation. It doesn't replace inspect or doctor.

For persistent Node.js 26 view use, declare the package and both pinned runtime dependencies in the consumer package manifest before the first Nub install:

{
  "dependencies": {
    "@nebulesstech/openspec-schemas": "1.8.0"
  },
  "optionalDependencies": {
    "@opentui/core": "0.5.11",
    "web-tree-sitter": "0.25.10"
  }
}

Keep the consumer lockfile and use nub install --frozen-lockfile for repeats. A bare local tar Nub install may omit package optional edges; schema-copy nub dlx does not create a persistent view runtime. Core commands remain Node >=20 and support --no-optional when OpenTUI is not needed. Use $(mise where node@26)/bin/node --experimental-ffi scripts/test-opsx-view-native.mjs for the Node 26 runtime.

After Installation

Run opsx-schema view for the isolated terminal runtime bootstrap. On an unsupported host, use opsx-schema inspect --json or opsx-schema doctor.

The package installer copies the selected schema into your project. With -i, it also updates the existing top-level schema: value in openspec/config.yaml.

Read the selected schema's linked guide before starting work. It explains:

  • when the workflow fits
  • how its artifacts depend on one another
  • what belongs in each artifact
  • which companion skills are available
  • how to validate the schema

OpenSpec remains responsible for schema validation, artifact instructions, and workflow lifecycle. This package supplies schema files and optional companion resources.

To change the schema for work that hasn't started or is already in progress, keep the project default separate from the change-local pinned schema. Completed changes stay historical; start a new change with the new schema. See Changing a Change's Schema for the dry-run and apply workflow.

Package Scope

Schema folders are self-contained and copyable. Each contains:

schema.yaml
README.md
skills.txt
mcp.yaml (optional)
templates/

The published CLI installs those folders. It doesn't install OpenSpec, Node, Nub, agent hosts, or other runtimes.

Hand Off to a Coding Agent

Send your agent this prompt:

Read https://raw.githubusercontent.com/Nebuless/openspec-schemas/refs/heads/main/AGENT_INSTALL.md and follow the instructions.

Add a schema name to the prompt if you've already chosen one. Otherwise, the guide asks the agent to list available schemas and confirm one before install.

More Documentation

Optional Resources