llm-wiki-stack 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -35
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,66 +1,59 @@
|
|
|
1
|
-
|
|
1
|
+
English | [中文](README_ZH.md)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# llm-wiki-stack
|
|
4
4
|
|
|
5
5
|
Obsidian-based knowledge base compiler. Turns fragmented source notes into an interconnected concept network, powered by LLM compilation.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## 核心理念 / Philosophy
|
|
10
|
-
|
|
11
|
-
大多数笔记系统是**仓库**——你往里存东西。这是一套**编译器**——将原始素材转化为结构化的、可查询的知识。
|
|
7
|
+
## Philosophy
|
|
12
8
|
|
|
13
9
|
Most note systems are **warehouses** — you put things in. This is a **compiler** — it transforms raw material into structured, queryable knowledge.
|
|
14
10
|
|
|
15
11
|
```
|
|
16
|
-
01 raw/
|
|
17
|
-
(
|
|
12
|
+
01 raw/ ──compile──> 02 wiki/ ──dialogue──> 03 outputs/
|
|
13
|
+
(source of truth) (concept network) (your opinions)
|
|
18
14
|
```
|
|
19
15
|
|
|
20
|
-
|
|
21
|
-
Knowledge compiled once, precipitates continuously, compounding over time.
|
|
16
|
+
**Knowledge compiled once, precipitates continuously, compounding over time.**
|
|
22
17
|
|
|
23
|
-
##
|
|
18
|
+
## Install
|
|
24
19
|
|
|
25
20
|
```bash
|
|
26
21
|
npx llm-wiki-stack
|
|
27
22
|
```
|
|
28
23
|
|
|
29
|
-
将 5 个 skill 安装到 `~/.claude/skills/`,Claude Code 中即可使用。
|
|
30
|
-
|
|
31
24
|
Copies 5 skills into `~/.claude/skills/`. Ready to use in Claude Code.
|
|
32
25
|
|
|
33
|
-
##
|
|
26
|
+
## Commands
|
|
34
27
|
|
|
35
|
-
|
|
|
28
|
+
| Command | Action | When |
|
|
36
29
|
|---------|--------|------|
|
|
37
|
-
| `/kb-init` |
|
|
38
|
-
| `/wiki-compile` |
|
|
39
|
-
| `/wiki-topic` |
|
|
40
|
-
| `/wiki-lint` |
|
|
30
|
+
| `/kb-init` | Bootstrap a knowledge base from scratch | Once per vault |
|
|
31
|
+
| `/wiki-compile` | Compile new raw notes into wiki | After collecting source material |
|
|
32
|
+
| `/wiki-topic` | Question-driven opinion formation | When you have a research question |
|
|
33
|
+
| `/wiki-lint` | Health check + structured report | Monthly |
|
|
41
34
|
|
|
42
|
-
##
|
|
35
|
+
## How It Works
|
|
43
36
|
|
|
44
|
-
1.
|
|
45
|
-
2.
|
|
46
|
-
3.
|
|
47
|
-
4.
|
|
37
|
+
1. **Collect** — Save articles, thoughts, clippings into `01 raw/` with `status: inbox`
|
|
38
|
+
2. **Compile** — Run `/wiki-compile`; LLM extracts concepts, creates wiki pages, builds cross-references
|
|
39
|
+
3. **Think** — Run `/wiki-topic` with a question; LLM reveals structural relationships between concepts
|
|
40
|
+
4. **Maintain** — Run `/wiki-lint` monthly; LLM surfaces orphan nodes, fragile dependencies, concept evolution
|
|
48
41
|
|
|
49
|
-
##
|
|
42
|
+
## Key Mechanisms
|
|
50
43
|
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
44
|
+
**Concept Independence Test** — Before creating a new wiki page, every candidate concept must pass:
|
|
45
|
+
- Definability: can you clearly state what this concept *is* in 1-2 sentences?
|
|
46
|
+
- Single core: is it one concept, or "A and B" glued together?
|
|
47
|
+
- Multi-source verification: does it appear in at least two different source notes?
|
|
55
48
|
|
|
56
|
-
|
|
49
|
+
**Concept Evolution** — No overwrites. Understanding changes are tracked in a versioned timeline. Default behavior is *append*, not replace.
|
|
57
50
|
|
|
58
|
-
|
|
51
|
+
**Cross-Reference Integrity** — Every claim links to its raw source. Every wiki link is bidirectional. Linked counts are verified on each compile.
|
|
59
52
|
|
|
60
|
-
##
|
|
53
|
+
## Requirements
|
|
61
54
|
|
|
62
|
-
- [Claude Code](https://docs.anthropic.com/en/docs/claude-code)
|
|
55
|
+
- [Claude Code](https://docs.anthropic.com/en/docs/claude-code) or compatible AI agent
|
|
63
56
|
|
|
64
|
-
##
|
|
57
|
+
## License
|
|
65
58
|
|
|
66
59
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "llm-wiki-stack",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Obsidian knowledge base compiler — three-layer architecture (raw → wiki → outputs) with concept evolution, cross-reference integrity, and health checks. Command-driven, AI-maintained, plain Markdown.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|