Who it is forA developer or writer who already uses Claude Code and wants to keep reading notes and attachments in a Markdown knowledge base.
The problemReference documents pile up in downloads folders, and agents re-read the same long files each session.
The outcomeA Claude Code-ready workspace where a processed document has full.md, summary.md, and its original attachment, plus a catalog agents can read first.
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
- git clone https://github.com/Sixian-Li/knowledge-base-kit.git && cd Knowledge Base Kit (inferred, check the README)
python3 -m venv .venvsource .venv/bin/activatepython -m pip install -r requirements.txtpython scripts/init_workspace.py ../my-kb --backend claude(inferred, check the README)cd ../my-kbthenpython kb.py check --backend claude(inferred, check the README)
Prompt for your agent
In the knowledge-base-kit repo, initialize a Claude backend workspace at <workspace-path>. Open it in Claude Code and use the local process_docs skill with the Claude backend on inbox/<file-name>. Show the proposed category and changed files and wait for review before filing. Verify that `python kb.py check --backend claude` passes.
Caveat. Model-assisted processing requires an authenticated Claude Code CLI, and text drafting follows that provider's data handling.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Sixian-Li/knowledge-base-kit and "File documents into a knowledge base with Claude Code"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer