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

okf-wiki

v0.3.0

Published

LLM Wiki CLI in OKF format

Downloads

322

Readme

okf-wiki

CI

Rust   Kernel powered by Rust

okf-wiki is a Rust CLI and portable Agent Skill for maintaining OKF-format markdown knowledge bases.

Install

Install the skill for a supported coding agent:

npx skills add vcastellm/okf-wiki

Run the CLI without a permanent installation from the directory that should become the bundle root:

npx okf-wiki init .

Until a crates.io release is published, install the CLI directly from the repository:

cargo install --git https://github.com/vcastellm/okf-wiki

Published GitHub releases are compatible with the crate's cargo-binstall metadata:

cargo binstall okf-wiki

Direct downloads use versioned archives from the repository's GitHub Releases page. Verify an archive against the accompanying SHA256SUMS file before extracting it. These stable archives and checksums are suitable inputs for a future Homebrew formula; this repository does not currently provide a tap.

Usage

okf-wiki <subcommand> [flags]

Subcommands:

  • init <bundle> scaffolds a new OKF wiki bundle.
  • ingest <source> --bundle <path> copies a raw source and creates a source page.
  • update <page> --bundle <path> updates timestamps, logs changes, and can append timeline entries.
  • truth <page> --bundle <path> rewrites a page body from standard input with provenance.
  • archive <page> --bundle <path> archives a page and can record a reversal.
  • diff [page] --bundle <path> shows git-backed bundle diffs.
  • lint --bundle <path> validates OKF frontmatter, links, sources, timelines, and duplicates.
  • search <query> --bundle <path> performs ranked search or a table-of-contents listing.
  • status --bundle <path> reports bundle health.
  • index <bundle> rebuilds directory indexes.
  • now prints an ISO-8601 UTC timestamp.
  • wire --agent <name> adds idempotent guidance for Claude, Codex, Cursor, Copilot, or Windsurf.

Bundle-scoped commands require --bundle <path>. Run them from the intended bundle root and pass --bundle ., for example okf-wiki status --bundle .. Relative bundle paths are resolved against the command's current working directory.

An optional okf-wiki.toml at the bundle root configures folder names. Absent config uses the default layout (raw/, sources/, notes/, entities/, concepts/). A partial config overrides only the keys it declares. The optional ignored list (default []) names additional root-level folders whose entire subtrees are excluded from load, search, lint, index, and status page counts; ignored folders are not created by init and are not ingest destinations. See skills/okf-wiki/references/okf-spec.md for the full [folders] schema.

Run okf-wiki --help or okf-wiki <subcommand> --help for complete flags.

Distribution

The single okf-wiki npm package contains a dependency-free JavaScript launcher and every supported native binary. The launcher selects its local binary at bin/native/<Rust target>/okf-wiki (or .exe on Windows); installation does not run a postinstall downloader or fetch binaries from the network. This avoids per-platform npm packages, at the cost of every npm installation downloading all supported binaries. Release automation builds:

  • Linux x64 and arm64 with glibc
  • Linux x64 and arm64 with musl
  • macOS x64 and arm64
  • Windows x64

GitHub Releases are the source of truth for native archives and checksums. The bundled npm package is assembled from those CI-built binaries and published with provenance. macOS binaries are signed and notarized when maintainer credentials are configured; release dry-runs do not require them.

The canonical Agent Skill is skills/okf-wiki/. It follows the portable SKILL.md, references/, and templates/ layout rather than maintaining agent-specific copies.

Development

cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test
node --test tests/npm/*.test.js
node scripts/check-version-sync.js
npm pack --dry-run

Local source execution remains available with cargo run -- <subcommand> [flags].