@CycleDecoded: 离谱了兄弟们,天天折腾 AI 做“第二大脑”,结果笔记库全被 AI 幻觉填成了垃圾回收站?这玩意真有人做出来了,直接从底层把你拯救了。 GitHub 刚上新的开源项目 ai-content-kb。这不是什么割韭菜的套壳应用,而是一套开源(…
摘要
GitHub 上发布了开源项目 ai-content-kb,这是一套审查优先的 AI 辅助知识库参考架构,支持 Markdown、Obsidian 和 Codex,杜绝 AI 幻觉污染笔记。
查看缓存全文
缓存时间: 2026/07/11 17:27
离谱了兄弟们,天天折腾 AI 做“第二大脑”,结果笔记库全被 AI 幻觉填成了垃圾回收站?这玩意真有人做出来了,直接从底层把你拯救了。
GitHub 刚上新的开源项目 ai-content-kb。这不是什么割韭菜的套壳应用,而是一套开源(MIT 协议)的 AI 辅助知识库参考架构。专门给硬核写手和研究党量身定制,刚刚冒头热乎着呢。
核心就干几件事,直戳痛点:
审查优先:AI 只能当底层黑工,所有生成内容必须人工过审,绝对不乱改原稿。
三区隔离:原始素材、AI 生成废料、最终成品严格分开,强迫症狂喜。
在线工具
工具百搭:纯 Markdown 底座,能完美串联 Obsidian、Codex 和各类 Agent。
来源可溯:内容带有结构化关系,生成的废话一秒查出源头,彻底杜绝数据污染。
在线工具
这波有点狠,思路比一堆吹上天的 SaaS 软件清晰多了,白嫖党直接拿去抄作业就行。
GitHub 指路:https://github.com/mrbear1024/ai-content-kb…
mrbear1024/ai-content-kb
Source: https://github.com/mrbear1024/ai-content-kb
AI Content Knowledge Base
A review-first, AI-native knowledge base for people who research, write, teach, and publish.
Markdown + Codex + Obsidian + typed YAML relationships
English · 简体中文
This project was inspired by Andrej Karpathy’s LLM Wiki pattern: immutable raw sources, a persistent and compounding Markdown wiki maintained by an LLM, and a repository schema such as
AGENTS.mdthat defines how the agent should ingest, query, and maintain knowledge.
ai-content-kbextends that idea with explicit provenance roles, a first-class published-product layer, review-first staging, typed machine-readable relationships, content-creation workflows, and safe legacy-vault migration.
Most knowledge bases mix personal thinking, external evidence, published work, and AI-generated text in the same pile. This template gives each a clear role—and gives AI agents rules for working without silently polluting originals or publication workflows.
Originals stay trustworthy. The wiki stays readable. The graph stays queryable. AI output stays reviewable.

The screenshot shows a mature vault using this architecture. A fresh clone starts with a small synthetic example and grows as you add reviewed notes, links, and tags.
Why this project
| Need | How this project handles it |
|---|---|
| Keep personal ideas distinct from external claims | Separate raw/ and sources/ provenance layers |
| Reuse published articles, courses, and scripts | Treat reviewed output as a first-class products/ layer |
| Let people browse without turning summaries into proof | Use wiki/ as a cited human interface |
| Give agents precise relationships | Store typed, evidenced YAML sidecars in .kb/links/ |
| Prevent generated text from becoming truth by accident | Route AI output through .kb/staging/ and human review |
| Work naturally with Codex | Ship durable workflows in root AGENTS.md |
| Keep Obsidian optional | Store everything as ordinary Markdown, YAML, JSON, and folders |
Quickstart
git clone https://github.com/mrbear1024/ai-content-kb.git
cd ai-content-kb
No application is required to read the vault. Use plain Markdown, open the root as an Obsidian vault, or use the intended Codex workflow below.
Open in Codex
- Open the Codex desktop app.
- Select
+in Projects. - Choose Use an existing folder.
- Select the cloned repository root.
- Start a new task and say:
Inspect the project structure, read the knowledge-base rules,
make no changes, and list the available workflows.
Codex reads repository AGENTS.md guidance before starting work. The root instructions then route it to the rest of this project’s rules. See the official Codex documentation.
The phrases below are natural-language workflows defined by this repository, not native slash commands. No plugin is required.
Talk to your knowledge base
| Say this | Default result |
|---|---|
加入知识库:这是我的原创笔记 | Store owner-authored input under raw/ and create staged index candidates |
add to knowledge base: this attachment is an external source | Preserve provenance under sources/ and create staged candidates |
增加 Wiki 索引:刚才的材料 | Draft cited wiki pages and typed relationships in staging |
query knowledge base: <question> | Navigate the wiki and graph, return to originals, and cite paths |
compose from knowledge base: <brief> | Build a source plan, outline, and sourced staging draft |
migrate legacy knowledge base: inventory <path> | Produce a read-only inventory and mapping proposal |
review and publish index: <staging path> | Validate and promote accepted wiki and graph candidates |
lint knowledge base | Report broken paths, citations, aliases, hash changes, and privacy risks |
How it works
flowchart LR
R["raw/\nOwner input"]
S["sources/\nExternal evidence"]
P["products/\nReviewed output"]
T[".kb/staging/\nAI candidates"]
W["wiki/\nHuman interface"]
G[".kb/links/\nMachine graph"]
R -->|ingest| T
S -->|ingest| T
P -->|backfill| T
T -->|human review| W
T -->|human review| G
W -->|compose| P
G -->|retrieve evidence| P
| Path | Role | Source of truth? |
|---|---|---|
raw/ | Original notes, judgments, voice transcripts, owned research, active drafts | Yes—owner intent |
sources/ | External clips, papers, books, reports, and media transcripts | Yes—external claims |
products/ | Reviewed articles, courses, scripts, and delivered work | Yes—published expression |
wiki/ | Concepts, entities, maps, and high-value source notes | No—must cite originals |
.kb/links/ | Reviewed typed relationships with evidence and hashes | Rebuildable |
.kb/staging/ | Unreviewed AI prose, wiki pages, mappings, and graph candidates | No |
Read the architecture rationale and graph schema for details.
Core workflows
Capture and index
add to knowledge base: this attachment is an external source.
Preserve provenance, check existing aliases, and keep generated wiki and graph data in staging.
Review .kb/staging/wiki/ and .kb/staging/links/ before promotion.
Create with AI
Compose from the knowledge base:
Write an article for AI product managers about Context Engineering.
Separate my judgments from external claims, cite repository paths,
and create a source plan and outline before drafting.
Unreviewed prose goes to .kb/staging/drafts/, accepted work moves to raw/drafts/ for development, and only publication-ready work belongs in products/.
Read the content creation guide.
Migrate an existing vault
Migrate legacy knowledge base: inventory the provided directory in read-only mode.
Do not move, copy, delete, or modify files.
Propose a 20–50 file pilot and stop for review.
Migration follows backup → inventory → mapping review → pilot → validation → reviewed batches → cutover.
Explore in Obsidian
Open the repository root with Open folder as vault, then select Graph view in the left ribbon. The included .obsidian/graph.json colors nodes by raw, sources, products, and wiki.
Obsidian visualizes Markdown links and tags. Typed .kb/links/*.yaml relationships are a separate machine layer and do not automatically become Obsidian lines.
Review-first lifecycle
| State | Destination |
|---|---|
| Unreviewed article or script | .kb/staging/drafts/ |
| Unreviewed course outline | .kb/staging/course-drafts/ |
| Unreviewed concept, entity, map, or source note | .kb/staging/wiki/ |
| Unreviewed relationship sidecar | .kb/staging/links/ |
| Draft selected for human development | raw/drafts/ |
| Reviewed knowledge and relationships | wiki/ and .kb/links/ |
| Reviewed, publication-ready output | products/ |
The deciding factors are review status, intended use, human ownership, and publication readiness—not whether AI helped write the text.
Documentation
| Document | Purpose |
|---|---|
| Start here | Reading order and core boundaries |
| Agent rules | Durable Codex workflows and safety rules |
| Knowledge base guide | Human-facing operating principles |
| Architecture | Layer model, lifecycle, and scaling path |
| Graph schema | YAML sidecar fields and edge vocabulary |
| Content creation | Research, outlining, drafting, review, and backfill |
| Migration | Safe migration from an existing vault |
| Public release checklist | Privacy, secrets, rights, and release checks |
Project scope
This repository is a reference architecture and working template, not a hosted knowledge-management application. Automation is intentionally minimal: validate the content roles and review workflow with files first, then add manifests, search, embeddings, or a graph database only when real queries justify them.
Obsidian and Codex are optional interfaces. The durable system is the repository itself.
Contributing and support
- Found a problem or have a proposal? Open an issue.
- Pull requests improving the information model, examples, schemas, lint rules, and documentation are welcome.
- Do not submit private notes, copyrighted captures, credentials, absolute home paths, or generated databases containing personal metadata.
- Before publishing a fork, use the public release checklist.
Maintained by mrbear1024 and contributors.
License
MIT. This project is not affiliated with or endorsed by Obsidian or OpenAI.
相似文章
@CycleDecoded: 兄弟们,别再往文件助手和收藏夹里疯狂囤垃圾了。GitHub 上刚出的这个离谱开源项目,直接把“稍后再看”做成了全自动的 AI 助理,白嫖党和信息囤积狂直接狂喜! 这玩意叫 SuperBrain,是开发者 sidinsearch 搞出的一个…
GitHub 上刚出的开源项目 SuperBrain,是一个完全自托管的 AI '第二大脑',支持安卓端一键保存和 AI 自动分析视频、帖子等内容,使用本地 SQLite 数据库,零订阅费。
@huoshan007: 兄弟们这玩意离谱的点是: 可以自己搭一个自己的 AI 第二大脑,而且不用买什么 1000 美元课,也不用报编程训练营。 就三步半。 把你的 Obsidian、Markdown、PDF、旧文档,全扔进一个文件夹。 装 Khoj,开源项目,3…
Khoj 是一个开源的个人 AI 第二大脑工具,支持连接本地或云端大模型,索引 Obsidian、Markdown、PDF 等个人文档,通过语义搜索帮助用户发现知识关联,无需编程背景即可搭建。
@GitHub_Daily: 平时收藏了一堆文章和论文,全堆在笔记软件里吃灰,从来没整理过。 second-brain 的思路是让 AI 来当图书管理员,我们只管把素材扔进 raw 文件夹。 AI 读完会自动把内容写成一篇篇结构化的 Wiki,页面之间带双链,索引也替…
Second Brain 是一个基于LLM的个人知识库工具,自动将原始素材整理成结构化的Wiki,支持Obsidian浏览和Agent集成。
@Vinkyu567: https://x.com/Vinkyu567/status/2073399058535002336
本教程展示了如何用 Obsidian、Markdown、GitHub 和 AI 辅助(Codex)在 5 分钟内搭建一个本地与云端同步的 AI 知识库,并推荐了相关插件。
@CryptoTied: 卧槽!用 Fable 搭出来的“第二大脑”也太强了 Wes Roth 分享了他用 Fable 构建的终极 Second Brain 系统,并感叹“为什么我现在才开始做”。 视频里展示了一个高度可视化的知识图谱:AI 自动把文章、视频、笔记…
Wes Roth 展示了使用 Fable 结合 Obsidian 和 Claude Code 构建 AI 驱动的知识图谱系统,实现自动整理、链接和更新笔记。同时文章还提及 xAI 开源了 Grok Build 编码 Agent 框架。