Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

knowledge-ops

Skill by alirezarezvani

Writes, checks and cleans up SOPs and internal runbooks for ops teams. It generates 5W2H SOP scaffolds, scores runbook steps and audits a markdown knowledge base for orphan and stale pages.

  • Score 91
  • 31k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install knowledge-ops

Built from the published package, never by AI.

git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/business-operations/skills/knowledge-ops ~/.claude/skills/knowledge-ops

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install knowledge-ops in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

knowledge-ops is an agent skill for company SOP and internal runbook work. It has three Python scripts that use only the standard library. sop_generator.py turns a JSON metadata file into a 5W2H-structured SOP, with profiles for ops, support, finance, hr, it and regulated. runbook_validator.py checks each runbook step for a named owner, duration, success and failure signals, rollback path and escalation contact, then gives a 0-100 validity score.

kb_ingester.py walks a directory of markdown files, such as a Notion, Confluence or Obsidian export, and reports orphan pages, stale pages, glossary drift and missing owners. It also ranks a top-20 cleanup list. The skill is written for Head-of-Ops, Knowledge-Manager and TPM-Internal roles in organizations with many authors and formal review cycles.

Written from the project's SKILL.md and checked against it.

What it can do

  • sop_generator.pyGenerates a 5W2H-structured SOP in markdown or JSON from a metadata file, with profiles for ops, support, finance, hr, it and regulated.
  • runbook_validator.pyScores each runbook step against six checks and outputs a traffic-light result, a 0-100 validity score and a MUST-FIX list.
  • kb_ingester.pyReports orphan pages, stale pages, glossary drift and missing owners across a markdown knowledge base.
  • Top-20 cleanup listRanks the docs to fix first by staleness times inbound-link count.

What you need

  • Python 3
  • A markdown export of the knowledge base (Notion, Confluence, Obsidian or Drive files)

Try asking

  • Validate this vendor offboarding runbook and list the MUST-FIX issues
  • Generate a 5W2H SOP for expense reimbursement using the regulated profile
  • Scan my wiki export for orphan pages and stale docs

Good to know

  • The runbook validator checks structure, not whether the content is correct.
  • The knowledge base must be in markdown; HTML-only or PDF-only bases need conversion first.
  • Owners must be listed in YAML frontmatter or an Owner line to count.
  • Stale pages default to 12 months unless --stale-days is set.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: business-operations/skills/knowledge-ops/SKILL.md, business-operations/skills/knowledge-ops/scripts/kb_ingester.py, business-operations/skills/knowledge-ops/scripts/runbook_validator.py, business-operations/skills/knowledge-ops/scripts/sop_generator.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md15 KB
  • assets/runbook_template.md6 KB
  • assets/sop_template.md5 KB
  • references/5w2h_sop_canon.md6 KB
  • references/kb_hygiene_anti_patterns.md10 KB
Show all 9 files
  • references/runbook_canon.md7 KB
  • scripts/kb_ingester.py19 KB
  • scripts/runbook_validator.py16 KB
  • scripts/sop_generator.py17 KB

Alternatives to knowledge-ops

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

knowledge-ops: common questions

What does runbook_validator.py check?

It checks each step for a named owner, expected duration, observable success and failure signals, a rollback path and an escalation contact. A score of 80 or higher is safe to use, and below 60 is not safe.

Is this for personal notes?

No. The source says it is for organizational documents with named owners and review cycles. Personal second-brain work belongs in engineering/llm-wiki.

Which AI tools does it support?

The skill lists compatibility with claude-code, codex-cli, cursor, antigravity, opencode and gemini-cli.

How do I install knowledge-ops?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is knowledge-ops free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is knowledge-ops safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to knowledge-ops?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

knowledge-ops Install

Add to stack

Loading.