opscanon
v0.1.0
Published
Turn messy company knowledge into verified agent skills and MCP-ready company brains.
Downloads
175
Maintainers
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
--llmis passed andOPENAI_API_KEYis present.
Install
npm install -g opscanonUntil the npm package is published, install the current public GitHub release:
npm install -g github:Keyroler1/opscanon#v0For local development:
npm install
npm run build
node dist/cli.js --helpThe compatibility binaries ai-repo-readiness and company-brain remain available during migration.
Five-Minute Demo
opscanon demo --out opscanon-demoThis 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-runOnly 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-artifactsRepo 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.jsondocument-quality-report.mdduplicate-report.mdnoise-staleness-report.mdcandidate-operating-knowledge.jsonhuman-review-queue.mdclient-cleanup-checklist.mdreview-decisions.jsonreview-dashboard.htmlocr-review.mdunresolved-questions.md
Company brain:
company-profile.mdoperating-model.mdandoperating-model.jsonworkflows/skills/action-boundaries.mdfacts.jsonlgraph.jsonsource-coverage.mdbrain-quality-report.mdbrain-eval-report.mdmcp-review.md
Repo pack:
AGENTS.mdrepo-map.mdskills/promptfoo.yamlmcp-review.mdopscanon-report.mdopscanon-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-brainRead-only tools:
searchfetchget_company_profileget_operating_modelget_workflowget_action_boundariesget_freshnessget_project_contextget_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:
opscanononce 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.mddocs/mcp-setup.mddocs/privacy-and-security.mddocs/distribution.mddocs/name-checks.mddocs/publishing.mddocs/launch-post.mddocs/demo-walkthrough.mddocs/buyers/examples/site/index.html
Contributing And Support
CONTRIBUTING.mdSECURITY.mdSUPPORT.mdCODE_OF_CONDUCT.md
Feedback
- Bugs and reproducible CLI/Action issues: open an issue.
- Setup questions and MCP help: start a Q&A discussion.
- Connector ideas and workflow feedback: start an Ideas discussion.
