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

@theholocron/cli

v3.24.4

Published

The Holocron CLI — a pluggable, capability-based orchestrator for spinning up and operating software projects.

Readme

@theholocron/cli

The Holocron CLI — a pluggable, capability-based orchestrator for spinning up and operating software projects.

Install

pnpm add -g @theholocron/cli@alpha
holocron --help

Config file

Holocron reads holocron.config.{json,js,ts} from the project root (priority: json → js → ts).

JSON (simplest):

// holocron.config.json
{
  "name": "my-app",
  "providers": {
    "vault": ["1password", { "vault": "my-app" }],
    "source": "github",
  },
}

JS/TS — use defineConfig for autocomplete and type-checking:

// holocron.config.ts
import { defineConfig } from "@theholocron/cli";

export default defineConfig({
  name: "my-app",
  providers: {
    vault: ["1password", { vault: "my-app" }],
    source: "github",
  },
});

Auto-derived fields

name and repo.name are optional. When absent, Holocron fills them in at load time:

| Field | Derived from | Fallback | | ----------- | ---------------------------------------------------- | ------------------ | | name | package.jsonname field (scope stripped) | directory basename | | repo.name | git remote get-url origin (parsed to owner/repo) | not set |

A minimal config — for repos with a package.json and a GitHub remote — only needs providers:

repo options

Additional repo fields recognised by holocron setup:

| Field | Type | Description | | ----------------- | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | repo.teams | Array<string \| { slug, permission }> | GitHub teams granted repo access. String shorthand defaults to push (Write). holocron setup also writes .github/CODEOWNERS for teams with push/maintain/admin. | | repo.topics | string[] | GitHub topics set on the repository. | | repo.protection | "balanced" \| "strict" \| "none" | Branch-protection preset applied by holocron setup. | | repo.properties | RepoProperties | Org-level custom property values synced to the GitHub dashboard. |

Skills installer

holocron setup can install shared skills from @theholocron/skills into the local repo:

export default defineConfig({
  agent: "claude", // "claude" | "codex" | "gemini"
  skills: ["git-safety", "pr-workflow"], // skill names from @theholocron/skills
  providers: { source: "github" },
});

Skills are copied to .agents/skills/<name>/ and symlinked at the agent's expected path (e.g. .claude/skills/<name>). All installed paths are added to a managed block in .gitignore automatically.

{ "providers": { "source": "github" } }

Set name explicitly whenever the derived value would be wrong: content repos without a package.json (e.g. .github) will fall back to the directory basename, which may not match what your vault or deployment provider expects as a project identifier.

Shareable configs

Level 1 — per-capability config packages. Reference a published package in any provider slot and Holocron resolves its bundled { provider, options } automatically. Per-project options merge on top (project wins):

providers: {
  vault: '@acme/holocron-vault',                     // preset only
  source: ['@acme/holocron-github', { repo: 'x' }], // preset + override
}

A capability config package exports a CapabilityConfigPackage default:

import type { CapabilityConfigPackage } from "@theholocron/cli";
export default {
  provider: "1password",
  options: { vault: "acme-app" },
} satisfies CapabilityConfigPackage;

Level 2 — whole-config presets. Because the config file can be JS/TS, a shared base is an import:

// holocron.config.ts
import { acmeConfig } from "@acme/holocron-config";
export default acmeConfig;

Auth — fine-grained tokens

Each GitHub capability resolves its own fine-grained PAT so a compromised credential only affects that feature. Store them once in the OS keyring (macOS Keychain, Windows Credential Manager, libsecret on Linux):

holocron auth set github.read     ghp_xxx  # clone + CI run listing
holocron auth set github.issues   ghp_xxx  # issue management
holocron auth set github.sync     ghp_xxx  # sync-github workflow templates
holocron auth set github.release  ghp_xxx  # semantic-release
holocron auth set github.admin    ghp_xxx  # setup, secrets, environments

The resolution chain per capability is:

--token flag → HOLOCRON_<FEATURE>_TOKEN env var → keyring("github.<feature>")

See docs/tokens.md for required PAT scopes per feature.

Additional auth subcommands:

holocron auth check github.read   # re-verify a stored token
holocron auth unset github.read   # remove a stored token
holocron auth list                # show all stored providers

What's in here

  • src/capabilities/ — the 14 capability interfaces that providers implement
  • src/config.ts — config schema, defineConfig, resolveConfig, CapabilityConfigPackage
  • src/load-config.tsloadConfig — reads JSON/JS/TS config files
  • src/define-config.tsdefineConfig typed pass-through
  • src/loader.tsPluginLoader — dynamic-imports plugins, resolves capability config packages, builds the capability registry
  • src/cli.ts — yargs entry, dispatches subcommands
  • src/commands/setup, sync, doctor, deploy, secret set, secrets sync, npm publish-initial, sync-github, upgrade node, plugin create, auth

Status

Published on npm under the alpha dist-tag. APIs may still shift before stable v2.0.0. Design in .notes/archive/tech-architecture.spec.md.