Skip to main content

Installation

skill-system.json at the repository root is the distribution manifest. It declares one inventory root and nine possible harness targets:

Read the current release, target IDs and detection rules directly from skill-system.json; the generated catalog supplies the corresponding inventory. The manifest's nine targets use copy mode.

Every target's mode is "copy" — never "symlink". This is a deliberate, repo-wide rule: symlinks need Developer Mode or elevation on Windows, exactly what this pack exists to avoid requiring. Each target also carries a detect list (e.g. [".claude", "command:claude"]) so the generator only materializes a harness's skill directory when that harness is actually present.

Install native KBD and knowledge helpers​

Run npm run install:native in a durable checkout, then add its printed bin directory to the harness PATH. This downloads the checked Mini version's prometheus and pk executables for this CPU and OS and verifies SHA-256 before installation. A missing asset uses the pinned Cargo source. Select a single tool or destination with node scripts/install-native.mjs pk --bin-dir <directory>. Optional service executables can be selected individually. Compose continues to pull its configured images.

Choose a service provider​

Start with npm run services -- plan to inspect service selection before applying it. On a machine that already runs a compatible service, select reuse. Choose docker for a container under Mini's ownership or off for a file-only workflow. Mini resolves release image digests for the host's Linux container architecture. Native service supervision uses launch agents on macOS and systemd user services on Linux. Windows users can choose Docker Desktop's Linux containers or reuse a compatible endpoint. For a conflict, inspect the owner and select its endpoint or a free port. Examples and ownership.

Generating the distribution​

Complete all phase production before generation or validation. Use isolated output paths and homes for local integration; command availability is not authorization to change a live harness.

node scripts/generate-skill-system-distribution.mjs # writes dist/ and both marketplaces
node scripts/generate-skill-system-distribution.mjs --check # verifies, exits non-zero on drift

This reads skill-system.json, scans the declared skills/ inventory, and produces:

  • .claude-plugin/marketplace.json and .agents/plugins/marketplace.json — one plugin listed (itself), per lib/distribution/marketplace.mjs.
  • dist/plugins/claude/prometheus-skills-mini/ and dist/plugins/codex/prometheus-skills-mini/ — full plugin packages, including .claude-plugin/plugin.json / the Codex manifest, the copied skills/, hooks/hooks.json, scripts/hook-entry.mjs, and a .mcp.json.

Every copy in the package builder (lib/distribution/package-builder.mjs) builds into a temp directory first and only then atomically swaps it into the real output path — the same build-then-replace pattern the full pack's own generator uses, so a failed or interrupted generation never leaves a half-written dist/ tree.

Byte stability across a Windows checkout is handled by lib/distribution/canonical-bytes.mjs: when core.autocrlf=true has rewritten a tracked file's line endings, this module proves the on-disk bytes are exactly the committed blob with CRLF folded to LF, and substitutes the original LF blob so a Windows rebuild does not rewrite hundreds of files no one actually edited.

Making skills into slash commands​

skill-system.json and the plugin packages make skills available; they don't by themselves make /kbd-analyze typeable in Claude Code. That's a separate generator:

node scripts/generate-commands.mjs # writes to ~/.claude/commands (default)
node scripts/generate-commands.mjs --output <dir> # override, e.g. for tests
node scripts/generate-commands.mjs --uninstall

It reads every SKILL.md's frontmatter and writes one command file per skill, each pointing at an absolute path to that skill's SKILL.md.

The install-scope rule​

openspec/config.yaml states a binding constraint: this pack is never installed natively on a machine that already has the full skill pack installed — not into $HOME/.agents, $HOME/.claude, or anywhere else on that machine. A full install is recognized by any of: the prometheus CLI on PATH, ~/.prometheus/setup-state.json, a kbd-process-orchestrator skill directory under ~/.claude/skills or ~/.agents/skills, or an ai.prometheus.* service unit. On such a machine, this pack may run only inside the-boss application's own internal data directory. lib/platform/full-pack.mjs implements the detection (read-only by construction — it decides whether writing is safe, so it must never write itself), and lib/doctor/scope.mjs reports a violation as a doctor failure with no auto-fix, since removing a user's files is not an idempotent operation.

Copying skills into a project's home-directory tree​

lib/doctor/skills.mjs documents the companion concern: this pack's skills should also live under <home>/.agents/skills/<name> and <home>/.claude/skills/<name> so tools other than the-boss can find them. Because this writes under the user's home directory, it only ever writes to those two roots, only for names the pack actually has, refuses any name that is not a single plain directory component, never deletes, and refuses outright when lib/platform/full-pack.mjs detects a native full-pack install.

Project UI routing and teams​

Distribution makes skill payloads available. Project adoption also needs managed instructions, the UI protocol and an active-team record. Follow UI/UX routing and adoption for bootstrap or separate UI/creator commands. The generated catalog records the included portable UI entries. Local helpers run directly with Node 22+ and bundled assets; they need neither optional service. The full-pack anti-shadowing constraint still applies.

Proposal-only creator export does not install a project team; normal project creation finishes with install-project. Writing definitions does not prove native discovery or invocation.