DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to validate a knowledge base before sharing it with Knowledge Base Kit

Run the structure, link, and TeX checks on a workspace before you hand it to others.

Short answer: cd my-kb; then python kb.py check --backend codex; read each reported problem and fix the file it names. All steps.

  • Research
  • Intermediate
  • 15 minutes
  • From the README
  • Codex

Who it is forA knowledge base maintainer who edits filed documents by hand or with an agent and needs to catch broken structure before sharing.

The problemHand edits and moved files can break links, catalog entries, or TeX blocks without any visible error.

The outcomeA clear pass or a list of structure, link, archive, or TeX problems to fix before the workspace is shared.

What you need first

  • Python 3.10+
  • Node.js 20+
  • Pandoc 3+
  • An authenticated Claude Code or Codex CLI for model-assisted processing
  • A downloaded or cloned copy of the knowledge-base-kit repository

Steps

  1. cd my-kb (inferred, check the README)
  2. python kb.py check --backend codex
  3. Read each reported problem and fix the file it names.
  4. Run python kb.py check --backend codex again until it passes.

Prompt for your agent

In the my-kb workspace, run `python kb.py check --backend codex`. List each reported structure, link, archive folding, or TeX problem with its file path, fix only those files, and confirm the check passes again.

Caveat. The checks cover structure, links, archive folding, and TeX validation only, not whether the summaries are factually correct.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Sixian-Li/knowledge-base-kit and "Validate a knowledge base before sharing it"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer