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

opscanon

v0.1.0

Published

Turn messy company knowledge into verified agent skills and MCP-ready company brains.

Downloads

175

Readme

OpsCanon

Turn messy company knowledge into verified agent skills.

OpsCanon cleans fragmented docs, routes uncertainty to humans, and compiles approved operating knowledge into source-cited skills and MCP-ready company brains.

It is not enterprise search, a chatbot over documents, or generic document Q&A. It is a local-first operating-knowledge compiler for AI agents.

What It Does

  • Prepares messy exports into ai-ready-pack/ with cleaned sources, source inventory, duplicate/noise/staleness reports, review queues, unresolved questions, and a static dashboard.
  • Lets humans review and approve weak or uncertain knowledge before it becomes executable.
  • Builds a company-brain/ with operating model, workflow skills, action boundaries, quality score, eval report, freshness report, and read-only MCP server.
  • Keeps repo-readiness features as a secondary surface under opscanon repo.
  • Works deterministically without API keys. Optional LLM synthesis is used only when --llm is passed and OPENAI_API_KEY is present.

Install

npm install -g opscanon

Until the npm package is published, install the current public GitHub release:

npm install -g github:Keyroler1/opscanon#v0

For local development:

npm install
npm run build
node dist/cli.js --help

The compatibility binaries ai-repo-readiness and company-brain remain available during migration.

Five-Minute Demo

opscanon demo --out opscanon-demo

This creates:

  • raw-company-export/
  • ai-ready-pack/
  • approved-pack/
  • company-brain/

Open opscanon-demo/ai-ready-pack/review-dashboard.html to inspect the static review dashboard.

Core Workflow

opscanon prepare ./raw-company-export --out ai-ready-pack --ocr-text ./ocr-output --dashboard
opscanon review ai-ready-pack
opscanon approve ai-ready-pack --out approved-pack
opscanon build --prepared approved-pack --out company-brain
opscanon score --brain company-brain
opscanon eval --brain company-brain
opscanon serve-mcp --brain company-brain --dry-run

Only compile-ready or approved cleaned sources flow into build. Low-confidence data becomes questions, not facts.

Repo Readiness

opscanon repo audit .
opscanon repo audit . --json
opscanon repo generate . --out opscanon-repo-pack
opscanon repo check-mcp ./mcp-config.json
opscanon ci . --out opscanon-artifacts

Repo readiness scores:

  • Agent-facing setup/docs: 25%
  • Machine interfaces: CLI/API/MCP/OpenAPI: 25%
  • Repo context quality: 20%
  • Eval/test reproducibility: 15%
  • MCP/security boundaries: 15%

Outputs

Prepared pack:

  • cleaned-sources/
  • source-inventory.json
  • document-quality-report.md
  • duplicate-report.md
  • noise-staleness-report.md
  • candidate-operating-knowledge.json
  • human-review-queue.md
  • client-cleanup-checklist.md
  • review-decisions.json
  • review-dashboard.html
  • ocr-review.md
  • unresolved-questions.md

Company brain:

  • company-profile.md
  • operating-model.md and operating-model.json
  • workflows/
  • skills/
  • action-boundaries.md
  • facts.jsonl
  • graph.json
  • source-coverage.md
  • brain-quality-report.md
  • brain-eval-report.md
  • mcp-review.md

Repo pack:

  • AGENTS.md
  • repo-map.md
  • skills/
  • promptfoo.yaml
  • mcp-review.md
  • opscanon-report.md
  • opscanon-report.json

GitHub Action

name: OpsCanon

on:
  pull_request:
  workflow_dispatch:

jobs:
  opscanon:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      pull-requests: write
    steps:
      - uses: actions/checkout@v5
      - uses: Keyroler1/opscanon@v0
        with:
          path: .
          out: opscanon-artifacts
          comment: "true"

The Action uploads opscanon-report.md and opscanon-report.json and writes the Markdown report to the GitHub step summary.

MCP

opscanon serve-mcp --brain company-brain

Read-only tools:

  • search
  • fetch
  • get_company_profile
  • get_operating_model
  • get_workflow
  • get_action_boundaries
  • get_freshness
  • get_project_context
  • get_recent_decisions

See docs/mcp-setup.md for Codex and Claude-style configuration examples.

Trust Model

OpsCanon is local-first. Raw exports, prepared packs, review dashboards, approved packs, and compiled brains stay on the machine unless the user explicitly connects external services.

The pipeline redacts common secret patterns before downstream processing. The MCP server is read-only in v1. See docs/privacy-and-security.md.

Distribution

Primary self-serve channels:

  • npm package: opscanon once published
  • GitHub repo and releases: Keyroler1/opscanon
  • GitHub Action
  • Landing page: https://keyroler1.github.io/opscanon/
  • Static docs and examples
  • Read-only MCP server

Paid features can come later: hosted dashboard, managed connectors, scheduled freshness checks, team review workflow, private cloud/on-prem deployment, audit logs, compliance controls, and billing.

Docs And Examples

  • docs/quickstart.md
  • docs/mcp-setup.md
  • docs/privacy-and-security.md
  • docs/distribution.md
  • docs/name-checks.md
  • docs/publishing.md
  • docs/launch-post.md
  • docs/demo-walkthrough.md
  • docs/buyers/
  • examples/
  • site/index.html

Contributing And Support

  • CONTRIBUTING.md
  • SECURITY.md
  • SUPPORT.md
  • CODE_OF_CONDUCT.md

Feedback