Updated 2mo ago
by lululu811
init-knowledge-base
基于karpathy大神的知识库初始化脚本
24 GitHub stars (24)
Steady at 24 stars — no new stars in the 2 days since Nov 20.
- 7 skills (7 skills found in its SKILL.md files)
- 22 forks (22 forks)
- 2mo ago last update (Last updated 2mo ago)
Install
Skills CLI
npx skills add lululu811/init-knowledge-base
Asks which skills and agents to install. Just one: npx skills add lululu811/init-knowledge-base --skill init-knowledge-base — add -g for every project.
Claude Code
git clone https://github.com/lululu811/init-knowledge-basecp -r "init-knowledge-base" ~/.claude/skills/init-knowledge-base
Copies the init-knowledge-base skill into ~/.claude/skills/ for every project (use .claude/skills/ for one project). Repeat for the other skills listed below.
Plugin
/plugin marketplace add lululu811/init-knowledge-base
Run inside Claude Code if the repository ships a plugin marketplace, then pick plugins from /plugin.
Skills can run code on your machine — read the SKILL.md first.
What it does
In the author's own words, from each skill's SKILL.md.
-
init-knowledge-base
基于 Karpathy LLM Wiki 架构快速初始化新的 Obsidian 知识库项目。创建标准目录结构、核心配置文件、Obsidian 统一配置(插件+样式)、Templater 模板集、Dataview MOC 仪表盘、三个 Agent Skills(ingest/query/lint)。当用户提到"新建知识库"、"初始化知识库"、"创建 vault"、"init vault"、"建立知识库"时使用。
SKILL.md on GitHub (opens in a new tab) -
ingest
将 raw/ 目录下的原始资料编译到 wiki/ 中。支持 /ingest(扫描所有未归档文件)、/ingest <path>(处理指定文件)或 /ingest <url>(抓取网页后处理)。当用户提到"摄取"、"导入"、"收入"资料时触发。绝对忽略 raw/09-archive/ 目录。
_templates/.claude/ on GitHub (opens in a new tab)skills/ ingest/ SKILL.md -
json-canvas
创建和编辑 Obsidian Canvas 文件(.canvas),用于可视化知识网络、思维导图、流程图。当用户要求"可视化知识图谱"、"生成思维导图"、"创建 canvas"时使用。可将 wiki/ 中的页面关系自动绘制成可视化画布。
_templates/.claude/ on GitHub (opens in a new tab)skills/ json-canvas/ SKILL.md -
lint
知识库全局健康度检查。扫描 wiki/ 目录,检测死链、孤儿页面、未同步索引、重复内容、知识冲突、来源缺失和页面陈旧度。当用户输入 /lint、/scan、/health 或要求"检查知识库状态"时调用。
_templates/.claude/ on GitHub (opens in a new tab)skills/ lint/ SKILL.md -
obsidian-markdown
创建和编辑符合 Obsidian 规范的 Markdown 文件。涵盖 Wikilinks、Embeds、Callouts、Properties(Frontmatter)、Tags、Comments 等 Obsidian 特有语法。在 ingest 创建 wiki 页面、query 引用来源、lint 修复内容时,必须使用本规范确保语法正确。
_templates/.claude/ on GitHub (opens in a new tab)skills/ obsidian-markdown/ SKILL.md -
query
在本地 Wiki 知识库中回答用户提问。当用户使用 /query 命令或自然语言询问关于知识库中的内容时调用。必须先读取 wiki/index.md 定位相关页面,再深度阅读,最后以双链引用格式回答。禁止凭模型记忆回答。
_templates/.claude/ on GitHub (opens in a new tab)skills/ query/ SKILL.md -
refresh
联网更新知识库中的过期内容。扫描 wiki/ 页面,识别陈旧或可能过时的知识,通过联网搜索获取最新信息,对比更新或标记冲突。支持 /refresh(全局扫描)、/refresh <页面名>(指定页面)、/refresh --tag=<标签>(按标签批量)。当用户提到"更新知识库"、"刷新"、"检查时效性"、"联网更新"、"知识过期"时触发。
_templates/.claude/ on GitHub (opens in a new tab)skills/ refresh/ SKILL.md
No skill matches that filter.
Review before you install
A skill is a set of instructions and scripts your agent will follow, and it can run code on your machine. Read the SKILL.md and any scripts first — this listing is not a security review.