Post

Ramya Chinnadurai 🚀
Ramya Chinnadurai 🚀@code_rams·
Personal wikis die in the gap between capture and read. You're on phone, you remember something. By the time you sit at desktop to write it down, the moment is gone. Or you write it on desktop and it never gets read on phone. Built one this evening that closes the gap. Telegram captures, Claude Code writes, iPhone reads. Free. Here is the actual stack and the gotchas: 1. Claude Code is the brain. Telegram bot is just a relay - the actual structured writing (entity extraction, wikilinks, frontmatter schema) is done by Claude Code reading the vault's CLAUDE.md rules. No custom code, just prompts. 2. Vault lives in the Obsidian iCloud folder - the only path iOS Obsidian can read. Other iCloud locations do not appear in the iPhone app, only this one specific folder does. 3. Capture flow: send "doctor appointment tomorrow at 4" via Telegram, Claude Code parses, writes a dated markdown file in inbox with auto-extracted entities wrapped in [[wikilinks]]. 4. Folder structure is the same five-type taxonomy from yesterday: inbox for raw captures, people, topics, sources, drafts. One vault, fixed types, no per-context folders. 5. Free path requires Full Disk Access on two CLI binaries: the bot launcher and Claude Code itself. Without FDA, terminal cannot write to the iCloud Obsidian path. 6. CLI binaries do not appear in the macOS Full Disk Access toggle list, only .app bundles do. The permission still applies silently. Do not trust the GUI list as ground truth, test with an actual write attempt. 7. Auto-backlinks do the linking work for free, and iCloud sync runs at ~30 seconds end-to-end. Mention a person or topic anywhere, dedicated pages auto-collect mentions. Mac edit appears on iPhone before you can switch apps. The catch: Free path requires giving terminal full disk access, which is a real security tradeoff. Worth it on a personal Mac, not worth it on a shared or work machine. The paid alternative is Obsidian Sync at $4/month, which uses Obsidian's own backend and does not need FDA. This is what works for me today. The system will probably change as the wiki grows. If you run something different - different sync layer, different capture path, different attribution model - drop it below. Comparing notes makes everyone's wiki better. The gap between capture and read is where most knowledge systems die. Closing that gap is the whole game.
Ramya Chinnadurai 🚀 tweet media
Ramya Chinnadurai 🚀@code_rams

Obsidian is the IDE. The LLM is the programmer. OpenClaw is the build system. The wiki is the codebase. Implemented Karpathy's LLM Wiki pattern in OpenClaw today. Here's what the spec actually means in practice once agents are writing into it daily. 1. Five page types, fixed taxonomy: entities (real-world things - people, companies, products), concepts (ideas and patterns), syntheses (compiled analysis pulling from multiple sources), sources (raw imports, articles, transcripts), reports (auto-generated dashboards from the rest). 2. Agents must search before they write. Existing pages get appended to, not duplicated. Without this rule, you wake up to twelve duplicate pages a week in. 3. Backlinks are automatic, not optional. Every cross-page reference uses Obsidian wikilinks. Open the graph view, the structure surfaces. Open the same vault without backlinks, you get a folder of orphans. 4. Contradictions get flagged on the page, not silently overwritten. The wiki admits when two sources disagree. The agent writes a tension note, not a confident lie. 5. Multi-agent attribution lives in frontmatter, not folders. One vault, multiple OpenClaw agents writing in. The frontmatter says who wrote what, when, and why. Folders looked clean on paper but broke search and graph view. 6. Single vault is the only model that works. Per-agent vaults seemed cleaner. The plugin doesn't support cross-vault graph or search. Forcing the structure breaks the plumbing. The catch: the pattern needs strong system prompts in every agent. Without explicit "search before write, file by type, link before duplicate, flag contradictions" rules, agents default to dumping markdown notes into a folder. The pattern is a discipline encoded in prompts, not a feature shipped in code. Wikis maintain themselves only when the agents writing into them are prompted to maintain them. OpenClaw made the agent layer easy. Karpathy's pattern made the storage layer make sense.

English
2
1
25
2.7K
Lupin Lin
Lupin Lin@lupinlin·
@code_rams 类似方案!我们用Hermes Agent + Telegram bot做capture,但直接写入知识库。iCloud路径这个坑确实踩过,文档里不说根本找不到原因。
中文
1
0
1
31
Paylaş