agentleFS
ClarentCinematicsClarentCinematics/Codex-Skills-for-Enterprise/skills/knowledge-base-capture/SKILL.md

knowledge-base-capture

Skill2 starsChanged 6 months agoMITView on GitHub

Convert meetings, support threads, incident learnings, project notes, SOP drafts, process explanations, or expert knowledge into clean knowledge-base articles with audience, steps, ownership, freshness metadata, related links, and review needs. Use when Codex needs to preserve institutional knowledge in a reusable article.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Remove transient discussion, duplicated context, and unresolved claims unless they are marked for review.

    line 12
  2. Distinctive:

    Use this structure by default:

    line 22
  3. Distinctive:

    Do not publish unresolved assumptions as facts.

    line 36
  4. Very specific:

    Read references/kb-patterns.md when the user asks for SOPs, troubleshooting articles, incident learnings, onboarding docs, or support …

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Knowledge Base Capture

Workflow

  1. Identify audience, knowledge type, source material, owner, and intended knowledge base location if provided.
  2. Extract reusable knowledge: purpose, prerequisites, steps, decisions, troubleshooting, examples, and limits.
  3. Remove transient discussion, duplicated context, and unresolved claims unless they are marked for review.
  4. Structure the article for reuse, searchability, ownership, and future maintenance.
  5. Produce a clean KB draft with metadata and review questions.

Script-Assisted Workflow

When reviewing a markdown KB draft, run scripts/check_kb_metadata.py --input <draft.md> to check required sections, metadata completeness, review freshness, owner gaps, and unresolved assumptions. Adjust --required-sections and --today for the target knowledge-base standard. Use the output to decide publishing readiness; do not use the script to rewrite the article.

Output Standard

Use this structure by default:

  • Title: searchable, specific, and outcome-oriented.
  • Audience: who should use the article.
  • Summary: what the article helps the reader do.
  • Prerequisites: access, tools, context, or permissions needed.
  • Procedure / Guidance: steps, decision rules, or reference content.
  • Troubleshooting / Exceptions: known issues, limits, and escalation path.
  • Ownership And Freshness: owner, review date, source, and confidence.
  • Related Links: source artifacts or related docs when provided.
  • Review Questions: unresolved items before publishing.

Rules

  • Do not publish unresolved assumptions as facts.
  • Preserve source provenance when available.
  • Flag stale, sensitive, incomplete, or ownerless knowledge for review.
  • Make the article useful to someone who was not present for the original discussion.

References

Read references/kb-patterns.md when the user asks for SOPs, troubleshooting articles, incident learnings, onboarding docs, or support knowledge.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.