Local Brain Automatic Knowledge Base
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_70142416/local-brain-wiki into the current AI assistant.
About this skill
Problem
Local Brain is aimed at a practical knowledge-management problem: notes, agent transcripts, project docs, clippings, and working files are scattered across folders and still rely on manual reorganization, renaming, and link maintenance. Instead of treating retrieval as a query-time step in a typical RAG system, it favors compiled knowledge: raw material is turned into durable, maintainable pages before it is reused as a Markdown Wiki.
How It Works
The skill runs a local pipeline with clear stages:
- Incremental scanning:
agent_inbox_scanner.pywatches monitored directories every 30 minutes and places new or changed files into an inbox. - AI compilation:
agent_inbox_compiler.pyprocesses pending material daily at 23:00 into Wiki pages withYAML frontmatter,[[category/page]]cross-references, and source annotations. - Weekly health checks:
weekly_deep_organize.pydetects orphaned pages, broken links, and stale entries, then attempts automatic fixes. - Versioning and backup: local
Gitversion control is the default, with optional expansion to removable drives or object storage. - No-key mode: when no LLM key is available, the compiler can emit
_compile_task.md, which any AI assistant can process manually before the pages are stored. - Cross-agent bridge: it can export
_holographic_sync.jsonl, allowing other agents to consume entities and relationships through standardJSONL.
Boundaries And Notes
It fits best with 5 to 8 core directories of text-heavy material, rather than watching an entire drive. Single text files are capped around 16KB, directory depth around 3 levels, and deeper or oversized content may be truncated or ignored. The skill does not read browser history or chat logs, does not modify source files, and treats cloud backup as optional. An API key mainly affects automatic compilation, not scanning, backup, or health checks.
Use Cases
- When Claude Code, Cursor, and Hermes notes are scattered across folders, scan them and compile reusable conclusions into a Markdown Wiki.
- Each week, turn project docs, clippings, and meeting notes into searchable pages with cross-references, an index, and source notes.
- Without a stable API key, generate _compile_task.md and let ChatGPT or Claude compile the pending files before saving them to the Wiki.
- Keep knowledge local, track changes with Git, and optionally back up to a removable drive or object storage.
Best For
- Engineers using Claude Code, Cursor, or Hermes who want scattered transcripts and notes compiled into a local Wiki.
- Knowledge managers maintaining project docs, research, and meeting notes who need automatic cross-references and indexing.
- Technical users who do not want cloud-hosted knowledge and prefer local Git version control with optional offline backups.
- AI workflow builders who want to export personal knowledge as JSONL so other agents can read entities and relationships.
Related Skills
Reads conversation-trace files to generate an animal- or mythology-based soul mirror card and Johari Window insights.
A Deling knowledge-base research workflow that clarifies intent, runs broad and vertical searches, supplements with web sources, validates diversity, and traces key claims.
A SiYuan knowledge-base management skill for double-link parent indexes, MOCs, numbered documents, tags, repo sync, and WeChat import workflows.
A structured workflow for academic literature reviews, covering multi-database search, screening, thematic synthesis, citation validation, and PDF output.