Generated banner for 📚 Student LLM Wiki
Generated logo for 📚 Student LLM Wiki

📚 Student LLM Wiki

LLM wiki kit

First committed by IssacW228

Published in IssacW228/student-llm-wiki. Publisher page

181 GitHub stars

What it is

📚 Student LLM Wiki — AI-compiled knowledge base for university students. Drop course slides, get a persistent interlinked wiki. Feynman review, exam prep, confidence decay, cross-course connections. Based on Karpathy's LLM Wiki pattern. Works with Claude Cowork / Claude Code / Claudian + Obsidian.学生大语言模型维基百科——专为大学生打造的AI编译知识库。
— the description by IssacW228

AutoGineer overview, from the brain’s own files

Student LLM Wiki is a structured framework designed for university students to automate the creation of a personal knowledge base. By placing course materials like PDFs into a designated folder, the system uses AI agents to ingest, summarize, and interlink content into a structured wiki. It supports active learning through Feynman-style review sessions, automated exam preparation, and concept visualization. The system is built to be used with Obsidian for browsing and integrates with various AI coding tools to manage the wiki's lifecycle without requiring manual note-taking.

How it works

Memory model: LLM wiki

AutoGineer overview, from the brain’s own files

The system operates by separating raw source materials from the generated knowledge base. Users place course files in a raw folder. AI agents, configured via specific skill files, process these files to generate structured markdown notes in a wiki folder, including concept pages, course overviews, and source summaries. The system uses a manifest file to track ingested content and prevent duplicates. Users interact with the system through commands for ingestion, health checks, review, and diagramming, while Obsidian serves as the primary interface for viewing and managing the resulting notes.

Folders
FolderRoleFiles
.claudeagent-config12
.cursoragent-config1
.githubagent-config6
.obsidianobsidian-config3
commandsagent-instructions5
rawraw-sources3
skillsagent-instructions6
wikiwiki11
.claude-pluginfolder2
.traefolder6

The agent reads

The agent writes

Requirements

Apps: Obsidian

Works with: Claude Code, OpenAI Codex, GitHub Copilot, Cursor, Kiro, OpenCode, Amp, Cline, JetBrains Junie, Devin (ex-Windsurf)

Set it up

  1. This brain runs code automatically: 1 plugin code item (obsidian). Review .obsidian/community-plugins.json before opening the folder in Claude Code. No step below turns a hook on for you.

    • .obsidian/community-plugins.json: enables community plugin dataview (installed by Obsidian, not shipped here)
  2. Download the brain as a ZIP and unzip it where you keep your notes or project: https://mp-staging.autogineer.com/agent-brains/issacw228/student-llm-wiki/download
  3. In Obsidian, choose “Open folder as vault” and pick the folder.

  4. Claude Code reads .claude/CLAUDE.md from this folder automatically.

  5. cd student-llm-wiki && claude

  6. AutoGineer scanned these files at commit 3e2abe0.

  7. First committed by IssacW228. Published in IssacW228/student-llm-wiki. Licence: MIT License.

Usage

AutoGineer overview, from the brain’s own files

  • Automated ingestion of course slide decks into a structured wiki
  • Generating practice exam questions based on identified weak concepts
  • Conducting Feynman-style review sessions with an AI agent
  • Visualizing complex concepts using Mermaid diagrams
  • Maintaining wiki health through automated linting and link management
“ingest raw/MATH1001/L1.pdf”
The AI processes the PDF, generates concept pages, a course overview, and a source summary, then updates the Obsidian dashboard.
“review COMP9417”
The AI initiates a Feynman review session, asking the user questions to test their understanding of the course material.
“exam-prep COMP4337”
The AI identifies weak concepts in the course and generates a set of practice questions for exam preparation.
“diagram Attention-Mechanism”
The AI generates a Mermaid flowchart or diagram and adds it to the specified concept page.

Documentation by IssacW228

<div align="center">

📚 Student LLM Wiki

用 AI 把课件变成你自己的知识库 Turn your course slides into a personal wiki with AI

中文 · English

</div>


中文

这是什么?

你把课件 PDF 丢进 raw/ 文件夹,AI 自动帮你整理成结构化的 wiki 笔记,存在 wiki/ 里。你用 Obsidian 浏览这些笔记,用 AI 工具来复习、出题、检查薄弱环节。你不需要手写任何笔记。

基于 Andrej Karpathy 的 LLM Wiki 模式。


你需要准备的东西

1. Obsidian(用来浏览笔记)

  • 下载地址:https://obsidian.md/download

  • 免费,支持 Windows / macOS / Linux / iOS / Android

  • 安装后还需要在社区插件里安装 Dataview(用于首页动态面板)

2. 选一个 AI 工具(任选其一即可)

工具适合人群获取方式
Claude Code CLI熟悉命令行安装说明
Claude Code Web不想装任何东西claude.ai/code
Cursor喜欢 IDE 界面cursor.com
Trae国内用户trae.ai
Cowork团队协作参考 Cowork 文档
GitHub Copilot已有订阅VS Code 插件市场

3. 你的课件(PDF 或其他文本格式)


第一步:下载项目,用 Obsidian 打开
git clone https://github.com/IssacW228/student-llm-wiki.git
cd student-llm-wiki

然后打开 Obsidian → 「打开本地仓库」→ 选择 student-llm-wiki 文件夹。

必须安装 Dataview 插件:Obsidian 设置 → 社区插件 → 浏览 → 搜索 Dataview → 安装并启用。


第二步:选择你的 AI 工具并打开项目

<details> <summary><strong>Claude Code CLI(命令行)</strong></summary>

  1. 确保已安装 Claude Code CLI 并登录

  2. 在项目目录运行:

    claude
  3. 配置文件(.claude/)会自动加载,无需额外设置

  4. 直接输入命令或自然语言即可开始

</details>

<details> <summary><strong>Claude Code Web(网页版,无需安装)</strong></summary>

  1. 打开 claude.ai/code

  2. 将此仓库连接到 Claude Code

  3. 配置文件(.claude/)自动识别,直接使用

</details>

<details> <summary><strong>Cursor</strong></summary>

  1. 用 Cursor 打开 student-llm-wiki 文件夹

  2. 规则文件已在 .cursor/rules/wiki.mdc,自动生效

  3. 在 Cursor 聊天框直接输入命令,无需额外配置

</details>

<details> <summary><strong>Trae</strong></summary>

  1. 用 Trae 打开 student-llm-wiki 文件夹

  2. Skills 已在 .trae/skills/,自动识别

  3. 在对话框直接输入命令

</details>

<details> <summary><strong>Cowork</strong></summary>

  1. 将 Cowork 项目指向 student-llm-wiki 文件夹

  2. COWORK-INSTRUCTIONS.md 会自动加载

  3. 直接开始对话

</details>

<details> <summary><strong>GitHub Copilot / OpenAI Codex</strong></summary>

  1. 用支持 Copilot 的编辑器打开项目文件夹

  2. AGENTS.md 会被自动读取

  3. 直接在对话框输入命令

</details>


第三步:导入你的第一份课件
  1. 在 raw/ 下新建文件夹,用你的课程代号命名(如 raw/MATH1001/)

  2. 把课件 PDF 复制进去

  3. 在 AI 工具里输入:

    ingest raw/MATH1001/L1.pdf
  4. AI 会自动生成概念页、课程总览、来源摘要

  5. 回到 Obsidian,打开 Home.md 查看结果

同一份文件不会被重复导入(通过文件 hash 去重)。


命令速查
命令作用
ingest raw/XXXX/L1.pdf导入课件,自动生成笔记、课程总览、跨课连接记录
lint检查笔记健康度:断链、孤立页、过期概念、缺失总览、术语表补全
review XXXX费曼复习模式:AI 提问,你来回答
exam-prep XXXX根据薄弱概念自动出练习题
diagram ConceptName为某个概念页添加 Mermaid 图解(流程图/架构图/时序图等)

也可以用自然语言,比如「帮我复习这门课」或「把这个文件导入知识库」。


添加新课程
  1. 在 raw/ 下创建对应课程文件夹(如 raw/PHYS1001/)

  2. 把课件放进去

  3. 运行 ingest,课程总览页会自动创建

  4. Home.md 首页会动态显示新课程,无需手动修改


项目结构
student-llm-wiki/
├── raw/              ← 放课件(只读,AI 不会修改这里)
│   └── XXXX/         ← 按课程分文件夹
├── wiki/             ← AI 生成的笔记(自动维护)
│   ├── concepts/         ← 概念页(每概念一页,含图解)
│   ├── courses/          ← 课程总览(ingest 时自动创建)
│   ├── sources/          ← 课件摘要
│   ├── exam-prep/        ← 练习题
│   ├── connections-log.md  ← 跨课程连接发现记录
│   ├── contradictions.md   ← 矛盾与张力追踪
│   ├── glossary.md         ← 中英术语表(自动填充)
│   ├── overview.md         ← 跨课程综述(自动更新)
│   ├── index.md            ← 总目录
│   └── hot.md              ← AI 上下文缓存(每次 session 首读)
├── Home.md           ← Obsidian 首页仪表盘
│
│   以下为 AI 工具配置文件,无需修改:
├── .claude/          ← Claude Code 配置
├── .cursor/          ← Cursor 配置
├── .trae/            ← Trae 配置
├── AGENTS.md         ← Copilot/Codex 配置
└── COWORK-INSTRUCTIONS.md  ← Cowork 配置

致谢
许可证

MIT


English

What is this?

You drop course PDF slides into the raw/ folder. The AI automatically organizes them into structured wiki notes in wiki/. You browse the notes with Obsidian, and use AI tools to review, generate practice questions, and surface weak spots. You never write notes yourself.

Based on Andrej Karpathy's LLM Wiki pattern.


Prerequisites

1. Obsidian (for browsing your notes)

  • Download: https://obsidian.md/download

  • Free. Available on Windows / macOS / Linux / iOS / Android

  • After installing, also install the Dataview community plugin (required for the Home dashboard)

2. An AI tool (pick just one)

ToolBest forGet it
Claude Code CLITerminal usersInstall guide
Claude Code WebNo install neededclaude.ai/code
CursorIDE-style interfacecursor.com
Trae—trae.ai
CoworkTeam useSee Cowork docs
GitHub CopilotExisting subscribersVS Code marketplace

3. Your course slides (PDF or other text formats)


Step 1: Clone the repo and open in Obsidian
git clone https://github.com/IssacW228/student-llm-wiki.git
cd student-llm-wiki

Open Obsidian → "Open folder as vault" → select the student-llm-wiki folder.

Install the Dataview plugin: Obsidian Settings → Community plugins → Browse → search Dataview → Install and enable.


Step 2: Open the project with your AI tool

<details> <summary><strong>Claude Code CLI</strong></summary>

  1. Make sure Claude Code CLI is installed and you're logged in

  2. Run in the project folder:

    claude
  3. The config folder (.claude/) is auto-detected — no extra setup needed

  4. Type commands or plain English to get started

</details>

<details> <summary><strong>Claude Code Web (no install needed)</strong></summary>

  1. Go to claude.ai/code

  2. Connect this repository to Claude Code

  3. The .claude/ config is auto-detected — start typing commands directly

</details>

<details> <summary><strong>Cursor</strong></summary>

  1. Open the student-llm-wiki folder in Cursor

  2. Rules are pre-configured in .cursor/rules/wiki.mdc — auto-applied

  3. Type commands in the Cursor chat panel

</details>

<details> <summary><strong>Trae</strong></summary>

  1. Open the student-llm-wiki folder in Trae

  2. Skills are pre-configured in .trae/skills/ — auto-detected

  3. Type commands in the chat panel

</details>

<details> <summary><strong>Cowork</strong></summary>

  1. Point your Cowork project at the student-llm-wiki folder

  2. COWORK-INSTRUCTIONS.md loads automatically

  3. Start chatting

</details>

<details> <summary><strong>GitHub Copilot / OpenAI Codex</strong></summary>

  1. Open the project in an editor with Copilot support

  2. AGENTS.md is read automatically

  3. Type commands in the chat panel

</details>


Step 3: Ingest your first slide deck
  1. Create a folder under raw/ named after your course (e.g. raw/MATH1001/)

  2. Copy your PDF into that folder

  3. In your AI tool, type:

    ingest raw/MATH1001/L1.pdf
  4. The AI generates concept pages, a course overview, and a source summary

  5. Switch to Obsidian and open Home.md to see your new notes

The same file won't be ingested twice — files are tracked by hash.


Commands
CommandWhat it does
ingest raw/XXXX/L1.pdfImport a slide deck — generates notes, course overview, and cross-course link records
lintCheck wiki health: broken links, orphan pages, stale concepts, missing overviews, glossary gaps
review XXXXFeynman review mode: AI quizzes you
exam-prep XXXXAuto-generate practice questions from weak concepts
diagram ConceptNameAdd a Mermaid diagram to a concept page (flowchart / architecture / sequence / etc.)

You can also use plain English: "quiz me on this course" or "import this file into the wiki".


Adding a new course
  1. Create a folder under raw/ for the course (e.g. raw/PHYS1001/)

  2. Put your slides in it

  3. Run ingest — a course overview page is created automatically

  4. The Home.md dashboard updates dynamically — no manual edits needed


Project structure
student-llm-wiki/
├── raw/              ← Your slides (read-only — AI never modifies this)
│   └── XXXX/         ← One folder per course
├── wiki/             ← AI-generated notes (auto-maintained)
│   ├── concepts/         ← Concept pages (one per concept, with diagrams)
│   ├── courses/          ← Course overviews (auto-created on ingest)
│   ├── sources/          ← Slide summaries
│   ├── exam-prep/        ← Practice questions
│   ├── connections-log.md  ← Cross-course link discovery log
│   ├── contradictions.md   ← Contradiction & tension tracker
│   ├── glossary.md         ← Bilingual term index (auto-populated)
│   ├── overview.md         ← Cross-course synthesis (auto-updated)
│   ├── index.md            ← Master catalog
│   └── hot.md              ← AI context cache (read first each session)
├── Home.md           ← Obsidian dashboard
│
│   AI tool config — no need to touch these:
├── .claude/          ← Claude Code config
├── .cursor/          ← Cursor config
├── .trae/            ← Trae config
├── AGENTS.md         ← Copilot/Codex config
└── COWORK-INSTRUCTIONS.md  ← Cowork config

Credits
License

MIT

.trae/skills/wiki-diagram/SKILL.md


name: wiki-diagram description: Add Mermaid diagrams to wiki pages to aid understanding. This skill should be used during ingest/review when a concept involves a process, architecture, sequence, hierarchy, or comparison that is easier to grasp visually, or when the user explicitly asks to "画图"/"配图"/"diagram"/"visualize" a concept.

Wiki Diagram — Mermaid 可视化

用 Mermaid 给概念页配图。Obsidian 原生渲染 ```mermaid 代码块,无需安装插件。

何时配图 When to Diagram

只在"文字描述比图更难懂"时配图,不要每页都加。适合配图的情况:

  • 多步骤流程/算法 → flowchart

  • 协议交互/攻击步骤,含时序(适合 COMP4337) → sequenceDiagram

  • 系统架构/模型结构,含组件关系 → flowchart

  • 概念分类/知识地图 → mindmap

  • 状态转换/生命周期 → stateDiagram-v2

  • 概念间关系网(跨课程连接) → graph

不适合配图:单一定义、纯数学公式推导、线性叙述无分支无关系的内容。

图表类型映射 Diagram Type Mapping

内容类型Mermaid 类型
算法步骤/数据处理流程flowchart TD
协议/攻击交互序列sequenceDiagram
模型架构/系统组件flowchart LR
概念分类/知识地图mindmap
状态机/生命周期stateDiagram-v2
概念间关系网graph TD

放置位置 Placement

在概念页的 直觉 Intuition 或 详细解释 Detailed 章节之后,新增 ## 图解 Diagram 小节。局部插入,不重写全页。

## 图解 Diagram

\`\`\`mermaid
flowchart TD
    A[输入 Input] --> B[处理 Process]
    B --> C[输出 Output]
\`\`\`

质量规则 Quality Rules

  1. ≤10 个节点:超过就简化或只画核心路径

  2. 双语标签:节点文字用"中文 English"或保持和页面其他部分一致的语言风格

  3. 一页最多 1-2 个图:避免视觉噪音

  4. 语法要对:节点 ID、箭头、括号/引号配对正确,避免渲染失败

  5. 若图表来自课件原图:先在来源页文字描述要点,再判断是否用 Mermaid 重绘成更清晰的逻辑图(不需要 1:1 还原)

触发方式 Triggers

  • 自动:ingest/review 创建或更新概念页时,按上述标准判断是否需要配图(见 wiki-ingest 步骤)

  • 手动:用户说"画图"/"画个图"/"配图"/"diagram this"/"visualize X",或用 /diagram {concept} 命令,针对指定概念页生成/补充图表

64 files

Advantages

  • Eliminates the need for manual note-taking by automating the transformation of course slides into structured wiki pages. evidence: README.md
  • Provides built-in support for active learning techniques like Feynman review and automated exam preparation. evidence: README.md

Limitations

  • Requires the installation of the Dataview plugin in Obsidian for the dashboard to function correctly. evidence: README.md
  • Relies on specific AI tools or CLI environments to execute ingestion and maintenance commands. evidence: README.md

Security

Risk level: No risk found

This brain runs

Agent instructions that run or fetch something (1)

  • .claude/commands/lint.md: Run the 30-day confidence decay rule.

Plugin code (1)

  • .obsidian/community-plugins.json (community-plugins): enables community plugin dataview (installed by Obsidian, not shipped here)

Attribution and licence

First committed by
GitHub avatar of IssacW228IssacW228
Declared authors
  • Ruizhe (declared in .claude-plugin/plugin.json)
Publisher
Issac (Community)
Source
IssacW228/student-llm-wiki · commit 3e2abe0
Licence
MIT License (files served here)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Contributors
IssacW228, claude

AutoGineer is not affiliated with or endorsed by IssacW228.

Download

The ZIP holds the files AutoGineer serves, with ATTRIBUTION.md and the licence. Download student-llm-wiki.zip