claude-second-brain 0.4.0 → 0.4.1

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 CHANGED
@@ -133,6 +133,61 @@ It's a plain GitHub repo. View and edit files directly in the browser at any tim
133
133
 
134
134
  ## How it works
135
135
 
136
+ Sources flow in on the left, Claude synthesizes them into the wiki, qmd indexes every page into a local hybrid search index, and GitHub makes the whole vault editable from Obsidian and Claude Code on any device.
137
+
138
+ ```mermaid
139
+ flowchart TB
140
+ subgraph Sources["sources/ — raw, immutable"]
141
+ direction LR
142
+ S1[articles/]
143
+ S2[pdfs/]
144
+ S3[personal/]
145
+ end
146
+
147
+ subgraph Skills["Claude Code skills"]
148
+ direction LR
149
+ I["/brain-ingest"]
150
+ Q["/brain-search"]
151
+ R["/brain-refresh"]
152
+ end
153
+
154
+ subgraph Wiki["wiki/ — cross-linked synthesis"]
155
+ direction LR
156
+ W1[overview.md]
157
+ W2[topic / entity pages]
158
+ W3[sources/]
159
+ W4[qa/]
160
+ end
161
+
162
+ QMD[("qmd.sqlite<br/>vector + BM25<br/>hybrid index")]
163
+
164
+ subgraph Remote["GitHub — source of truth"]
165
+ GH[private repo]
166
+ end
167
+
168
+ subgraph Read["Read / edit anywhere"]
169
+ direction LR
170
+ OB["Obsidian<br/>graph · backlinks · mobile"]
171
+ CC["Claude Code<br/>desktop + mobile"]
172
+ end
173
+
174
+ User((you))
175
+
176
+ Sources -->|read| I
177
+ I -->|write pages, cross-link,<br/>flag contradictions| Wiki
178
+ R -.->|chunk + embed<br/>changed files| QMD
179
+ Wiki -.->|indexed by| QMD
180
+ User -->|ask a question| Q
181
+ Q -->|hybrid search| QMD
182
+ QMD -->|top-k pages| Q
183
+ Q -->|cited answer| User
184
+ Wiki <-->|"obsidian-git<br/>auto commit / pull"| GH
185
+ GH --> OB
186
+ GH --> CC
187
+ ```
188
+
189
+ ### The ingest loop, zoomed in
190
+
136
191
  ```
137
192
  ┌─────────────────────┐ ┌─────────────────────┐ ┌─────────────────────┐
138
193
  │ Drop in a source │ │ /brain-ingest │ │ Wiki grows │
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-second-brain",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Scaffold an LLM-maintained Obsidian knowledge wiki",
5
5
  "type": "module",
6
6
  "bin": {
@@ -54,6 +54,63 @@ Registers the qmd collections and generates local vector embeddings. First run d
54
54
 
55
55
  ---
56
56
 
57
+ ## How it works
58
+
59
+ Sources flow in on the left, Claude synthesizes them into the wiki, qmd indexes every page into a local hybrid search index, and GitHub makes the whole vault editable from Obsidian and Claude Code on any device.
60
+
61
+ ```mermaid
62
+ flowchart TB
63
+ subgraph Sources["sources/ — raw, immutable"]
64
+ direction LR
65
+ S1[articles/]
66
+ S2[pdfs/]
67
+ S3[personal/]
68
+ end
69
+
70
+ subgraph Skills["Claude Code skills"]
71
+ direction LR
72
+ I["/brain-ingest"]
73
+ Q["/brain-search"]
74
+ R["/brain-refresh"]
75
+ end
76
+
77
+ subgraph Wiki["wiki/ — cross-linked synthesis"]
78
+ direction LR
79
+ W1[overview.md]
80
+ W2[topic / entity pages]
81
+ W3[sources/]
82
+ W4[qa/]
83
+ end
84
+
85
+ QMD[("qmd.sqlite<br/>vector + BM25<br/>hybrid index")]
86
+
87
+ subgraph Remote["GitHub — source of truth"]
88
+ GH[private repo]
89
+ end
90
+
91
+ subgraph Read["Read / edit anywhere"]
92
+ direction LR
93
+ OB["Obsidian<br/>graph · backlinks · mobile"]
94
+ CC["Claude Code<br/>desktop + mobile"]
95
+ end
96
+
97
+ User((you))
98
+
99
+ Sources -->|read| I
100
+ I -->|write pages, cross-link,<br/>flag contradictions| Wiki
101
+ R -.->|chunk + embed<br/>changed files| QMD
102
+ Wiki -.->|indexed by| QMD
103
+ User -->|ask a question| Q
104
+ Q -->|hybrid search| QMD
105
+ QMD -->|top-k pages| Q
106
+ Q -->|cited answer| User
107
+ Wiki <-->|"obsidian-git<br/>auto commit / pull"| GH
108
+ GH --> OB
109
+ GH --> CC
110
+ ```
111
+
112
+ ---
113
+
57
114
  ## Obsidian Mobile
58
115
 
59
116
  If this repo lives inside your iCloud Drive folder, Obsidian Mobile reads it with no extra setup. Graph view, backlinks, offline access — all working. The Git plugin handles sync automatically when you commit and push.