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

@kyaulabs/prism-core

v0.3.1

Published

KYAULabs coding harness — language-agnostic core (pi)

Downloads

527

Readme

@kyaulabs/prism-core

The language-agnostic core of the prism coding harness for pi.

prism re-expresses a disciplined engineering pipeline — brainstorm → spec → plan → TDD → verify → review — as pi-native skills, prompt templates, and one safety extension, run by a single pi agent. This package is the language-neutral half; install it globally so it runs in every project.

What it provides

  • Pipeline & discipline skillsbrainstorming, grilling, to-spec, writing-plans, executing-plans, tdd, verification-before-completion, code-review, architect, wayfinder, finishing-a-development-branch, …
  • Collapsed-agent skillsconsult, from-issue, debug, explore, resolve-merge-conflicts, tracker-operator, docs-writer, and the review trio (code-review / spec-review / standards-review / test-audit).
  • Prompt templates (slash commands) — /check, /issue, /pr, /release, /router, /security, /doctor, /prime, /teach, …
  • The safety extension — a tool_call gate that enforces a credential-path deny floor and an rm -rf safe-zone policy, with an independent denial circuit breaker and fatal failed-commit latch.
  • Research skillswebsearch, searxng (CLI-shell; no MCP).
  • The always-on AGENTS.md + APPEND_SYSTEM.md, deployed to ~/.pi/agent/ by install-global.sh so the core is "always running".
  • The managed prism-tool launcher, backed by the installed core package and verified against mandatory Semgrep and OCR readiness.
  • Managed lockstep npm releases/setup discovers publishable root and declared-workspace packages, displays the exact package list, and installs the Core-owned release configuration plus canonical workflow only after explicit enablement and displayed-diff mutation approval. Package-release setup remains independent of language adapters. The operation lock records its owner PID in .pi/prism-tool/package-release.lock; after a crash, a human must verify that PID is no longer running before removing that exact lock file. Prism does not auto-remove an existing lock.

Install

Semgrep >=1.173.0 <2.0.0 and OCR >=1.9.1 <2.0.0 must already be installed. Configure OCR directly with its own provider/model commands; Prism never reads or writes its credentials.

From a Prism checkout, install the local core without registry access:

bash packages/prism-core/scripts/install-global.sh

To install the published npm package, approve registry access independently:

PRISM_CORE_SOURCE=npm:@kyaulabs/prism-core \
  bash packages/prism-core/scripts/install-global.sh \
  --network-approved=yes

The installer performs offline doctor --local-only readiness only. It never creates an OCR-consent record or runs ocr llm test. After installation, run /setup to inspect or grant global standing OCR consent and complete live readiness.

The installer deploys prism-tool to ${PRISM_BIN_DIR:-$HOME/.local/bin} and does not edit shell startup files or PATH. It refuses to overwrite or remove an unrelated executable. Remove only a Prism-owned launcher with:

bash packages/prism-core/scripts/install-global.sh --uninstall-launcher

A readiness failure leaves the installed package, launcher, and context resources available for remediation but does not report toolchain GO. After a successful install, run pi in any trusted project. Authenticate with /login for your provider. Model and thinking selection is yours at any time — Ctrl+P cycles models, Shift+Tab sets thinking; the harness prescribes nothing (ADR-0067). Run /setup to write your own session defaults and manage standing OCR consent.

Adapter

For PHP/Aurora web projects, add the stack adapter per-project:

pi install -l npm:@kyaulabs/prism-php-web

Toolchain readiness

The package declares its owned tools in toolchain.json: bundled core tools (commitlint, git-cliff) resolve through prism-tool; Semgrep >=1.173.0 <2.0.0 and OCR >=1.9.1 <2.0.0 are mandatory external prerequisites that Prism verifies but never installs, configures, or authenticates (ADR-0063). Registry access and consumer mutation remain separate operation-specific approvals. /setup manages one explicit global standing OCR consent covering only connectivity checks and reviewed-code egress through the dedicated prism-tool code-review ocr operation (ADR-0074). Full /doctor validates that consent before one live ocr llm test; local-only readiness and installation remain offline. Revoke through /setup with prism-tool consent revoke-ocr. CI provisions compatible Semgrep/OCR releases only to construct its ephemeral verification environment and never creates a consent record.

Approval-free operational boundaries

Ordinary and release commits use one standalone prism-tool commit create call. The launcher owns attribution, commitlint, hooks, signing, and HEAD verification. A failed, unsafe, ambiguous, or non-exclusive commit attempt aborts the agent and blocks every tool until the human runs /reload; Prism never retries automatically.

After implementation and ADR-0027 artifact cleanup, the finishing-a-development-branch skill pauses once for finalization acceptance. One acceptance authorizes one synchronization, attestation, full /check, four-axis review, SHA revalidation, and automatic /pr preparation attempt. The first accepted review creates a bounded review chain with all four axes. After a Blocking repair, fresh acceptance reviews only the continuous repair delta and records closure evidence. Advisory findings do not block /pr and need no waiver. Base or history changes, discontinuity, malformed state, or a HEAD mismatch invalidate the chain and require a new complete initial review. Existing branches without chain state follow that initial-review path; Prism never migrates session-only evidence. Chain state is untracked under .pi/prism-tool/code-review/. /pr does not create issues or mutate GitHub. Any failed gate stops before /pr and requires fresh finalization acceptance after repair.

/pr remains preparation-only: humans push, create pull requests, and merge.

License

AGPL-3.0-only. See NOTICE for the full attribution chain (obra/superpowers, mattpocock/skills, anthropics/skills, glebis/claude-skills, @earendil-works/pi-coding-agent).