Agent skill

Knowledge Ops

by borghei in borghei/Claude-Skills

Audit and repair an internal knowledge base — staleness, ownership gaps, orphans, duplication, and findability.

MITAuto-check passedKnowledge Management

Install Knowledge Ops

skills CLI
$ npx skills add borghei/Claude-Skills --skill knowledge-ops -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borghei/Claude-Skills knowledge-ops --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/business-operations/knowledge-ops .claude/skills/knowledge-ops && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
knowledge-ops
GitHub stars
874
Token cost
~2.9k tokens
SKILL.md length
1,543 words
Files
9 (incl. scripts, references, assets)
Skills in repo
364
Repo updated
First seen
Licence
MIT

At a glance

Audit and repair an internal knowledge base — staleness, ownership gaps, orphans, duplication, and findability.

  • Works in 4 steps: Build a doc inventory as JSON, or point… → Run the auditor with an explicit --as-of… → Read the health score as a trend, not an… → …
  • The wiki is untrusted
  • SKILL.md covers When to use this skill, Inputs the skill expects, Clarify First and Workflows, plus 3 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Knowledge Ops is an agent skill from borghei/Claude-Skills. Audit and repair an internal knowledge base — staleness, ownership gaps, orphans, duplication, and findability. Use when the wiki is untrusted, docs are out of date, nobody owns pages, or search returns the wrong answer.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts, reference files and assets (for example `assets/doc-ownership-charter.md`, `assets/kb-audit-report-template.md` and `assets/sample_kb.json`).

It sits in Knowledge Management, covering Operations and SOPs. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.

When your agent uses it

  • The wiki is untrusted
  • Docs are out of date
  • Nobody owns pages
  • Search returns the wrong answer

Example prompts

  • “/knowledge-ops”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Build a doc inventory as JSON, or point the auditor at a directory of markdown with
  2. Run the auditor with an explicit --as-of date so the run is reproducible.
  3. Read the health score as a trend, not an absolute. A first run below 60 is normal;
  4. Triage the critical findings first — a stale critical-tier doc is the class of failure

What it can do on your machine

Read from SKILL.md and the folder at commit c9a1487. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Knowledge Ops loads about 2.9k tokens when it runs, and up to ~8.3k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 1,543 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from borghei/Claude-Skills at commit c9a1487, republished under its MIT licence (© borghei). 1,543 words, ~2,904 tokens.

Download SKILL.mdSave it as .claude/skills/knowledge-ops/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
knowledge-ops
description
Audit and repair an internal knowledge base — staleness, ownership gaps, orphans, duplication, and findability. Use when the wiki is untrusted, docs are out of date, nobody owns pages, or search returns the wrong answer.
license
MIT + Commons Clause
metadata.version
1.0.0
metadata.author
borghei
metadata.category
business-operations
metadata.domain
knowledge-management
metadata.updated
2026-07-21
metadata.tags
knowledge-base, documentation, information-architecture, doc-ownership, findability

Knowledge Operations

Knowledge bases do not fail by being incomplete. They fail by becoming untrustworthy: once a reader has been burned twice by a confidently wrong page, they stop reading and start asking in chat, and every subsequent doc you write is written into a void. This skill treats the KB as an operational system with owners, freshness SLAs, and a measurable health score — not as a writing backlog.

The core insight is that deletion is the highest-value action available. Most struggling knowledge bases need 30% fewer pages, not more pages.

When to use this skill

  • The wiki is large and distrusted — people ask in chat rather than search, and are right to
  • A doc audit is due before onboarding a cohort, an acquisition merge, or a compliance review
  • Search returns the wrong page consistently, usually because three near-duplicates compete
  • Nobody owns large parts of the KB and nobody can say what is current
  • Planning a documentation-debt sprint and needing a ranked backlog rather than a wish list
  • Migrating between wiki platforms and needing to decide what survives the move

Inputs the skill expects

  • A doc inventory: path, title, owner, last-updated date, and outbound links
  • Criticality tier per doc, or enough signal (traffic, area) to infer it
  • Usage data if available — 90-day views separate the load-bearing pages from the archive
  • The as-of date for the audit, so results are reproducible
  • Your freshness SLA policy, or acceptance of the default tiering below
  • Whether deletion is politically possible, which changes the entire remediation plan

Clarify First

Before generating, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Which docs are load-bearing vs archival — a stale onboarding runbook is an incident; a stale 2019 retro is fine, and treating them identically produces a backlog nobody works
  • Whether pages can be deleted or only archived — deletion authority roughly halves the remediation effort, so the plan differs structurally
  • Who can be assigned as an owner — ownership assigned to a team alias rather than a person is the same as no owner, and the audit will keep reporting it
  • The as-of date for the audit — staleness is relative, and an undated audit cannot be compared against the next one

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Workflows

Workflow 1 — Score KB health
  1. Build a doc inventory as JSON, or point the auditor at a directory of markdown with YAML frontmatter (owner, updated, tier).
  2. Run the auditor with an explicit --as-of date so the run is reproducible.
  3. Read the health score as a trend, not an absolute. A first run below 60 is normal; what matters is the direction across quarterly runs.
  4. Triage the critical findings first — a stale critical-tier doc is the class of failure that causes real incidents.
bash
python3 business-operations/knowledge-ops/scripts/kb_health_auditor.py \
  --input business-operations/knowledge-ops/assets/sample_kb.json \
  --as-of 2026-07-21 --format text

To scan a real directory of markdown instead:

bash
python3 business-operations/knowledge-ops/scripts/kb_health_auditor.py \
  --root ./docs --as-of 2026-07-21 --format json
  1. Run the orphan detector over the same inventory. It builds the link graph and reports pages nothing links to, links pointing at pages that do not exist, and hub pages.
  2. Cross-reference orphans against traffic. An orphan with traffic is a findability bug (people reach it by search or bookmark but the IA does not connect it). An orphan with no traffic is a deletion candidate. These need opposite fixes.
  3. Fix dead links before anything else — they are cheap and they are the most visible signal of an unmaintained KB.
bash
python3 business-operations/knowledge-ops/scripts/orphan_detector.py \
  --input business-operations/knowledge-ops/assets/sample_kb.json \
  --format text
Workflow 3 — Build a ranked documentation-debt backlog
  1. Run the debt ranker over the inventory. It scores each issue on value (traffic × criticality × severity) and effort, then sorts into do-now / schedule / batch / drop.
  2. Take the top 10 into a debt sprint. Do not attempt the whole backlog — the backlog is a measurement instrument, not a plan.
  3. Re-run the auditor after the sprint with the same --as-of convention to show movement.
bash
python3 business-operations/knowledge-ops/scripts/doc_debt_ranker.py \
  --input business-operations/knowledge-ops/assets/sample_kb.json \
  --as-of 2026-07-21 --top 10 --format text

Decision frameworks

Freshness SLA by tier [PROVEN]

Uniform review cycles fail because they generate more review work than any team will do, so nothing gets reviewed. Tier the SLA instead.

TierExamplesReview SLAStale atAction when stale
CriticalOn-call runbooks, incident procedures, security policy, payroll process90 days120 daysPage the owner; a stale runbook is an incident risk
CoreOnboarding, architecture overviews, team charters, release process180 days270 daysOwner review ticket in the next sprint
ReferenceHow-tos, tool guides, FAQs365 days540 daysBatch review annually
ArchiveRetros, past project docs, historical decisionsNeverNeverMark archived; exclude from search and from the score

The single most valuable configuration change in most knowledge bases is moving 40% of pages into Archive and excluding them from search. Search quality is a ratio, and the denominator is usually the problem.

Orphan triage [PROVEN]
Inbound links90-day trafficDiagnosisAction
00Dead weightDelete. Not archive — delete
0Low (1-50)Bookmark-only survivorLink it from the right hub, or fold into a parent page
0High (50+)Findability bugLink from a hub urgently; people are relying on a page the IA hides
1-2AnyWeakly connectedFine if the parent is the right one
10+HighHub pageProtect it; assign a named owner and the Critical SLA
Show full SKILL.md (656 more words)Show less

When two or more pages cover the same topic, merge into the one with the most inbound links, not the one that is best written. Inbound links represent accumulated navigation habit across the org; rewriting the winner is cheap, rebuilding link equity is not. Redirect the losers, never delete them silently — a 404 on a bookmarked page costs more trust than a stale page did.

Escape hatch: if the highest-linked version is factually wrong and the other is correct, merge into the linked one and replace its content wholesale. The URL wins, the content does not.

Health score bands
ScoreReadingResponse
80-100Healthy; maintenance modeQuarterly audit, keep SLAs
60-79Degrading; trust still intactOne debt sprint, focus on critical-tier staleness
40-59Distrusted; people are asking in chatOwnership assignment sprint first, then content
0-39Failed; a rewrite is cheaper than a repairPick the top 20 pages by traffic, rebuild those, archive everything else

Anti-Patterns

The Documentation Sprint With No Owners

Mistake: Running a week-long effort where everyone writes docs, then declaring the KB fixed. Why it happens: Writing is visible, satisfying, and easy to organise. Ownership is neither. Instead: Assign owners before writing anything. An unowned page is stale the day it is written — it just has not been noticed yet. If you can only do one thing, do ownership assignment; a KB with owners and old content recovers, and a KB with fresh content and no owners degrades to the same state within two quarters.

Team Aliases as Owners

Mistake: Setting the owner field to @platform-team or docs@company.com. Why it happens: It survives staff turnover and feels more robust than naming a person. Instead: Name a person, with the team as a fallback field. Review notifications sent to a group alias are read by nobody — this is the most reliable finding in knowledge-base operations. Rotate the named owner quarterly if you must, but keep it a person.

Archiving Instead of Deleting

Mistake: Moving every obsolete page to an archive space rather than removing it. Why it happens: Deletion feels risky and irreversible, and someone always says "we might need it." Instead: Delete pages with zero inbound links and zero traffic outright — version history already preserves them. Archive is for documents with historical or compliance value, not for things you are afraid to delete. An archive that grows without bound is a slower failure mode than deletion, not a safer one.

Optimising Search Instead of Fixing Content

Mistake: Responding to "search is broken" by tuning the search engine or buying a new one. Why it happens: It is a procurement problem with a vendor solution, which is easier than a content problem with an organisational solution. Instead: Search almost always fails because three near-duplicate pages compete for the same query and the engine cannot know which is current. Merge the duplicates and exclude archives from the index. Do this before evaluating any search product — it is usually the whole fix.

Auditing Without an As-Of Date

Mistake: Running the audit ad hoc and comparing results across runs. Why it happens: The tooling defaults to "today" and nobody records what today was. Instead: Always pass an explicit --as-of and store the output. KB health is only meaningful as a trend; two undated audits cannot be compared, and a number with no trend gets ignored by the people who fund the remediation.

Files

FilePurpose
scripts/kb_health_auditor.pyScores staleness against tiered SLAs, missing owners, duplicate titles, and thin pages
scripts/orphan_detector.pyBuilds the link graph; reports orphans, dead links, hub pages, and traffic-weighted triage
scripts/doc_debt_ranker.pyRanks remediation work by value and effort into do-now / schedule / batch / drop
references/information-architecture-patterns.mdIA models, hub-and-spoke structure, naming, and search-behaviour design
references/freshness-sla-and-ownership.mdSLA tiering, ownership models, review workflows, and health metrics
assets/kb-audit-report-template.mdReport template for presenting audit findings and a remediation plan
assets/doc-ownership-charter.mdCharter defining what a doc owner is accountable for
assets/sample_kb.jsonRunnable inventory used by all three scripts

© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (scripts, references, assets) in business-operations/knowledge-ops of borghei/Claude-Skills.

  • SKILL.md
  • assets/doc-ownership-charter.md
  • assets/kb-audit-report-template.md
  • assets/sample_kb.json
  • references/freshness-sla-and-ownership.md
  • references/information-architecture-patterns.md
  • scripts/doc_debt_ranker.py
  • scripts/kb_health_auditor.py
  • scripts/orphan_detector.py

Open the folder on GitHubat commit c9a1487

Compare with similar skills

Knowledge Ops next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Knowledge Ops compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Knowledge Ops this skillborghei/Claude-Skills874—~2.9kAutomated safety check: PassMIT
Knowledge Basesickn33/agentic-awesome-skills47k1 repos~3.3kAutomated safety check: PassMIT
Nav Graphqf-studio/navigator354—~5.7kAutomated safety check: NotesMIT
Internal Wiki PageFerroxLabs/wayland608—~3.6kAutomated safety check: PassApache-2.0
Logseq Review Workflow Evallogseq/logseq45k—~1kAutomated safety check: PassAGPL-3.0
Baoyu URL To Markdownsdyckjq-lab/llm-wiki-skill2.5k2 repos~3.2kAutomated safety check: PassNone

Similar skills

  • Knowledge Base

    sickn33/agentic-awesome-skills

    Knowledge base register: article title, category, department, owner, tags, summary, linked SOP, audience, last and next review dates and status.

    47k GitHub starsUsed in 1 repo~3.3k tokens
    Knowledge ManagementAuto-check passed
  • Nav Graph

    qf-studio/navigator

    Query project knowledge graph. An agent skill from qf-studio/navigator.

    354 GitHub stars~5.7k tokensUpdated yesterday
    Knowledge ManagementAuto-check: notes
  • Internal Wiki Page

    FerroxLabs/wayland

    Creates internal documentation pages with context, process descriptions, decision rationale, ownership, and cross-references for team wikis and knowledge management systems.

    608 GitHub stars~3.6k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Compare two revisions of the Logseq logseq-review-workflow skill by running the same review prompt against isolated before and after skill snapshots, collecting both outputs, and producing a…

    45k GitHub stars~1k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Baoyu URL To Markdown

    sdyckjq-lab/llm-wiki-skill

    Fetch any URL and convert to markdown using Chrome CDP. An agent skill from sdyckjq-lab/llm-wiki-skill.

    2.5k GitHub starsUsed in 2 repos~3.2k tokens
    Knowledge ManagementAuto-check passed
  • Obsidian CLI

    Atmosphere/atmosphere

    Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.

    3.8k GitHub starsUsed in 13 repos~795 tokens
    Knowledge ManagementAuto-check passed

More from borghei/Claude-Skills

All 364 skills in this repo
  • Agents In The Team

    borghei/Claude-Skills

    Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.

    874 GitHub stars~4.2k tokensUpdated yesterday
    Auto-check passed
  • AI Content Disclosure

    borghei/Claude-Skills

    Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.

    874 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • AI Prototyping

    borghei/Claude-Skills

    Idea to AI-generated prototype to customer validation to engineering handoff.

    874 GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    874 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Ansoff Matrix

    borghei/Claude-Skills

    Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.

    874 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Brainstorm Okrs

    borghei/Claude-Skills

    OKR brainstorming and validation using the Radical Focus framework — outcome objectives, measurable key results, counter-metrics.

    874 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed

Questions about Knowledge Ops

What does Knowledge Ops do?

Audit and repair an internal knowledge base — staleness, ownership gaps, orphans, duplication, and findability. Knowledge Ops is an agent skill from borghei/Claude-Skills. Audit and repair an internal knowledge base — staleness, ownership gaps, orphans, duplication, and findability.

When should I use Knowledge Ops?

Knowledge Ops fits situations like: the wiki is untrusted; docs are out of date; nobody owns pages; search returns the wrong answer.

How do I install Knowledge Ops in Claude Code?

Run `npx skills add borghei/Claude-Skills --skill knowledge-ops -a claude-code`. Or copy the skill folder (business-operations/knowledge-ops in borghei/Claude-Skills) into .claude/skills/knowledge-ops in your project. Claude Code loads it when a task matches its description.

How do I install Knowledge Ops in Codex?

Run `npx skills add borghei/Claude-Skills --skill knowledge-ops -a codex`. Or copy the skill folder (business-operations/knowledge-ops in borghei/Claude-Skills) into .agents/skills/knowledge-ops in your project. Codex loads it when a task matches its description.

Can I use Knowledge Ops in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borghei/Claude-Skills --skill knowledge-ops -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/knowledge-ops, .gemini/skills/knowledge-ops, .github/skills/knowledge-ops and .opencode/skills/knowledge-ops in your project.

What does Knowledge Ops need to run?

Going by SKILL.md and its folder, Knowledge Ops needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Knowledge Ops access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Knowledge Ops safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Knowledge Ops use?

Knowledge Ops is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Knowledge Ops use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.4k tokens, read only when the agent opens those files.

What are the alternatives to Knowledge Ops?

Skills that share tags, products or a category with Knowledge Ops: Knowledge Base (sickn33/agentic-awesome-skills, 47k stars), Nav Graph (qf-studio/navigator, 354 stars), Internal Wiki Page (FerroxLabs/wayland, 608 stars) and Logseq Review Workflow Eval (logseq/logseq, 45k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Knowledge Ops?

borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 874 GitHub stars. The repository holds 364 skills in this directory. The repository was last updated on October 7, 2026.

Source: borghei/Claude-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.