Prometheus Context Bootstrap
skills/prometheus-context-bootstrap/SKILL.md: installs compact, layered Prometheus agent context
into a project with Node-only, copy-mode behavior. Use when initializing or refreshing
AGENTS.md, CLAUDE.md, path-scoped Rust or TypeScript rules, and project-local Rust skill
routing on Windows, macOS, or Linux. Do not use it for global skill installation or for
replacing operator-owned project prose.
Compatibility declared in frontmatter: Node.js LTS (>=22); no shell, Python, symlinks, or executable bit required.
lib/context-bootstrap/bootstrap.mjs
The implementation module backing this skill. It is invoked via:
node scripts/prometheus-context-bootstrap.mjs --path "../My Project" --dry-run
node scripts/prometheus-context-bootstrap.mjs --path "../My Project"
node scripts/prometheus-context-bootstrap.mjs --path "../My Project" --check
Per package.json, these are wired as npm run context:bootstrap and npm run context:check.
UI routing and existing teams
Bootstrap now installs the portable UI catalog into project .agents/skills and
.claude/skills, merges UI routing pointers and preserves a project
.agents/UI_UX_PROTOCOL.md override. It also adopts resolvable existing teams through
creator's install-project: an explicit selection wins, a sole team is selected, and
ambiguous teams require an explicit choice. It does not invent a new team.
Select ambiguous teams with creator --team <id> before rerunning bootstrap. Existing
native files, permissions and ownership are preserved; missing definitions and discovery
instructions are installed. No native agents are launched. All code uses relevant team roles;
only UI work loads UI guidance. With delegation unavailable, use sequential role instructions
and report that limit.
See UI/UX routing and adoption for commands, Zed instruction precedence, recovery, optional-services behavior and the full-pack anti-shadowing constraint. Use the full pack's bootstrap on full-pack machines; mini belongs in The Boss's internal data directory there.
Relationship to this repo's own rules layer
This pack's own CLAUDE.md/AGENTS.md are themselves generated by rules/build.mjs from
rules/src/ — the same layered-rules architecture (Prometheus Rules Architecture v4) that
prometheus-context-bootstrap installs into other projects. See
Windows Constraints for how that architecture is applied to
this repository itself.
See also
- Windows Constraints
- Doctor — verifies installed context alongside services and tools.