claudeers.
// Productivity

self-llm-wiki

通用个人知识库 vault,配合 cognition-hub Obsidian 插件与 Claude Code Agent 工作流,构成完整的认知生产管线。

// Productivity[ cli ][ claude ]#claude#productivityMIT$open-sourceupdated about 1 month ago
Actively maintained
93/100
last commit about 1 month ago
last release none
releases 0
open issues 0
// star history+4 this week (+16%)

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up self-llm-wiki (git-clone project) into my current project.
Found on https://claudeers.com/self-llm-wiki
Repo: https://github.com/tongtong050/self-llm-wiki
Homepage/docs: —
Detected install method: git-clone → git clone https://github.com/tongtong050/self-llm-wiki
Category: productivity. Platforms: cli.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or clone
git clone https://github.com/tongtong050/self-llm-wiki

// compatibility

Platformscli
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguagePython

认知生产台(Cognition Hub)— 个人知识库 Vault

通用个人知识库 vault,配合 cognition-hub Obsidian 插件与 Claude Code Agent 工作流,构成完整的灵感捕获 → 知识卡片 → AI 概念抽取 → 概念碰撞 → 新洞见认知生产管线。

目录结构

<vault>/
  00-灵感库/             灵感暂存区(type: inspiration)
  01-项目/               项目卡片(type: card,有截止日)
  02-长期关注/           长期维护卡片(type: card,无截止日)
  03-参考资料/           外部素材 / flomo 碎片(type: reference)
  04-归档/               已完成或搁置(.trash/ 为 30 天到期待删)
  05-Skills/             自写脚本资产
  06-Wiki/               AI 自动维护的概念库(只读)
    index.md overview.md log.md hot.md
    sources/ entities/ concepts/ syntheses/ graph/
  07-系统/               系统运行文件
    review.md pipeline-log.md
    .ingest-cache.json .collision-candidates.json
    .ingest-triggers/
  08-创作/               抖音口播脚本 / 文案输出

工作机制(三层协作)

本系统的每个能力(ingest / query / collide / review / graph)都是三层协作:

位置角色
命令 / Skill.claude/commands/wiki-*.md入口(/wiki-ingest 等,或触发文件)
Skill 定义.claude/skills/<name>/SKILL.md分步骤流程说明(如 12 步 ingest)
Python 脚本tools/*.py执行计算与 LLM 调用

Agent 工作流

工作流Skill说明
Expandwiki-expand灵感 → 卡片草稿
Ingestwiki-ingest12 步知识摄入(卡片 → wiki 概念/实体/来源)
Collidewiki-collide概念碰撞检测 → 新洞见
Querywiki-query意图分类 + 检索 + 图谱扩展合成
Reviewwiki-review审核 review.md 并执行操作
Graphpython tools/build_graph.py
Health/Lintpython tools/health.py / lint.py
Douyindouyin-script生成抖音口播脚本 / 文案

触发文件机制

Dashboard 按钮 → 写触发文件到 07-系统/.ingest-triggers/ → Agent 每轮对话自动扫描 → invoke 对应 Skill → 处理后删除触发文件。

action参数Skill
expandsource, target_dirwiki-expand
ingestsourcewiki-ingest
reviewwiki-review
collidewiki-collide
douyindouyin-script

Python 工具链

pip install litellm networkx pyyaml
脚本用途
tools/ingest.py12 步 LLM 知识摄入(分析 → 生成 → 合并 → 写入)
tools/collide.py概念碰撞检测(轻量 tags/来源/共引用档,可选向量增强)
tools/build_graph.py知识图谱构建 + Louvain 社区检测
tools/query.py意图分类 + 检索 + LLM 合成
tools/index_gen.py生成 00-灵感库/ 与 06-Wiki/ 的 index.md
tools/rss_pull.pyRSS 源拉取(需要 feedparser)
tools/flomo_scan.py碎片素材扫描骨架

模型通过环境变量配置(全部可选,默认模型已内置 anthropic/ 前缀):

变量默认值用途
LLM_MODELanthropic/claude-3-5-sonnet-latest重任务
LLM_MODEL_FASTanthropic/claude-3-5-haiku-latest分类 / 推理
LLM_EMBED_MODEL向量碰撞增强(可选)

测试:python -m pytest tools/tests/ -v

使用指南

  1. 捕获灵感 — Dashboard "快速捕获" 或直接在 00-灵感库/.md(type: inspiration)
  2. 扩写为卡片 — Dashboard 点 🤖 扩写 → Agent 生成草稿卡片到 01-项目/02-长期关注/
  3. 审阅并 ingest — 审阅草稿 → 管线 Tab 点 "标记 queued" → 点 ingest → Agent 12 步摄入
  4. 查询知识 — 在 Claudian 中直接提问,Agent 检索 wiki 合成答案
  5. 概念碰撞 — 管线 Tab 点碰撞检测 → Agent 生成洞见到 review.md → 勾选回流为新灵感
  6. 审核 Review — 卡片入库时自动生成待审核项,在管线 Tab 处理

环境依赖

  • Obsidian ≥ 1.8.0
  • cognition-hub Obsidian 插件
  • Claudian 插件(Claude Code 交互式会话)
  • Python 3.10+(可选,Agent 依赖 Python 工具链)

License

MIT

// faq

What is self-llm-wiki?

通用个人知识库 vault,配合 cognition-hub Obsidian 插件与 Claude Code Agent 工作流,构成完整的认知生产管线。. It is open-source on GitHub.

Is self-llm-wiki free to use?

self-llm-wiki is open-source under the MIT license, so it is free to use.

What category does self-llm-wiki belong to?

self-llm-wiki is listed under productivity in the Claudeers registry of Claude-compatible tools.

0 views
29 stars
unclaimed
updated about 1 month ago

// embed badge

self-llm-wiki on Claudeers
[![Claudeers](https://claudeers.com/api/badge/self-llm-wiki.svg)](https://claudeers.com/self-llm-wiki)

// retro hit counter

self-llm-wiki hit counter
[![Hits](https://claudeers.com/api/counter/self-llm-wiki.svg)](https://claudeers.com/self-llm-wiki)

// reviews

// guestbook

0/500

// related in Productivity

🔓

Agent skills for Obsidian. Teach your agent to use Obsidian CLI and open formats including Markdown, Bases, JSON Canvas.

// productivitykepano/46,919MIT[ claude ]
🔓

Garry's Opinionated OpenClaw/Hermes Agent Brain

// productivitygarrytan/TypeScript28,884MIT[ claude ]
🔓

Open source repository of plugins primarily intended for knowledge workers to use in Claude Cowork

// productivityanthropics/Python23,498Apache-2.0[ claude ]
🔓

An open-source alternative to Claude Cowork (powered by opencode)

// productivitydifferent-ai/TypeScript22,811NOASSERTION[ claude ]
→ see how self-llm-wiki connects across the ecosystem