Obsidian Core Notes
Keep source files, generated .core.md notes, topic-level 专题综合.core.md notes, and Obsidian relationship indexes synchronized.
Workflow
- Confirm the vault/workspace root. Use the current working directory unless the user names another root.
- Before writing, run a scan when scope is broad:
python <skill-dir>/scripts/obsidian_core_notes.py scan --root <vault-root> --json
- Decide the note type before writing:
- File sidecar: one generated
.core.md for a non-Markdown source attachment.
- Folder index:
资料索引.md for navigation and direct source lists.
- Topic synthesis:
专题综合.core.md only for high-value folders that can support V3-like synthesis.
- For create/edit/move/rename/delete operations, update the matching
.core.md note and nearest 资料索引.md in the same turn.
- For bulk refreshes, run:
python <skill-dir>/scripts/obsidian_core_notes.py refresh --root <vault-root>
refresh creates lightweight sidecars and indexes; it does not replace human/LLM synthesis for 专题综合.core.md.
- For broad topic work, screen candidates before writing:
python <skill-dir>/scripts/obsidian_core_notes.py topic-candidates --root <vault-root> --json
- Validate after any bulk operation:
python <skill-dir>/scripts/obsidian_core_notes.py validate --root <vault-root>
- Clean generated notes only when explicitly requested:
python <skill-dir>/scripts/obsidian_core_notes.py clean-generated --root <vault-root>
Rules
- Treat non-Markdown source files as attachments and generate distinct sidecar notes named
<source filename>.core.md.
- Reference existing Markdown core files directly; do not duplicate them.
- Put folder navigation in
资料索引.md; put the workspace entrypoint in 核心文件索引.md.
- Do not make every folder look deeply summarized. Most
专题综合.core.md files should remain lightweight source maps unless the folder passes topic-synthesis screening.
- V3-like topic synthesis must include source provenance, version/history cues, core judgments, content map, reusable patterns/templates/components, actions, and open questions.
- When a user asks for aggressive cleanup, back up overwritten/deleted generated notes outside the vault before deletion.
- Use only generated markers for safe overwrite or deletion:
<!-- CORE_FILE_NOTE_V1 -->
<!-- CORE_FOLDER_INDEX_V1 -->
<!-- CORE_WORKSPACE_INDEX_V1 -->
- Never delete hand-written Markdown notes unless the user explicitly asks.
- Exclude dependencies, caches, logs, build output, model artifacts, static vendor bundles, and temporary Office lock files.
References
- Read
references/core-file-rules.md before changing core-file classification.
- Read
references/obsidian-linking.md before changing note names, tags, markers, or relationship link conventions.
- Read
references/topic-synthesis-core-notes.md before screening folders for V3-like 专题综合.core.md notes or rewriting many topic notes.
Scripts
scripts/obsidian_core_notes.py scan: count core candidates and summarize scope.
scripts/obsidian_core_notes.py refresh: create or update .core.md, 资料索引.md, and 核心文件索引.md.
scripts/obsidian_core_notes.py topic-candidates: rank folders whose direct sources may justify V3-like 专题综合.core.md.
scripts/obsidian_core_notes.py validate: verify generated marker counts and common corruption patterns.
scripts/obsidian_core_notes.py clean-generated: remove only files with generated markers.
Common Pitfall
If the user wants "像 V3 一样的专题综合", do not stop after refresh. refresh is a graph-maintenance pass; it can produce version/source statistics, but the V3-style note is a curated synthesis pass over selected folders.
1---2name: obsidian-core-notes3description: Maintain Obsidian vault core-file notes, topic synthesis notes, folder indexes, and graph links. Use when working in an Obsidian vault or document/code workspace and creating, editing, moving, deleting, scanning, summarizing, or organizing files that may need `.core.md`, `专题综合.core.md`, `资料索引.md`, or `核心文件索引.md`.4metadata:5 source: https://skillmd.com/skills/jinhong270/obsidian-core-notes6---78# Obsidian Core Notes910Keep source files, generated `.core.md` notes, topic-level `专题综合.core.md` notes, and Obsidian relationship indexes synchronized.1112## Workflow13141. Confirm the vault/workspace root. Use the current working directory unless the user names another root.152. Before writing, run a scan when scope is broad:16 ```bash17 python <skill-dir>/scripts/obsidian_core_notes.py scan --root <vault-root> --json18 ```193. Decide the note type before writing:20 - File sidecar: one generated `.core.md` for a non-Markdown source attachment.21 - Folder index: `资料索引.md` for navigation and direct source lists.22 - Topic synthesis: `专题综合.core.md` only for high-value folders that can support V3-like synthesis.234. For create/edit/move/rename/delete operations, update the matching `.core.md` note and nearest `资料索引.md` in the same turn.245. For bulk refreshes, run:25 ```bash26 python <skill-dir>/scripts/obsidian_core_notes.py refresh --root <vault-root>27 ```28 `refresh` creates lightweight sidecars and indexes; it does not replace human/LLM synthesis for `专题综合.core.md`.296. For broad topic work, screen candidates before writing:30 ```bash31 python <skill-dir>/scripts/obsidian_core_notes.py topic-candidates --root <vault-root> --json32 ```337. Validate after any bulk operation:34 ```bash35 python <skill-dir>/scripts/obsidian_core_notes.py validate --root <vault-root>36 ```378. Clean generated notes only when explicitly requested:38 ```bash39 python <skill-dir>/scripts/obsidian_core_notes.py clean-generated --root <vault-root>40 ```4142## Rules4344- Treat non-Markdown source files as attachments and generate distinct sidecar notes named `<source filename>.core.md`.45- Reference existing Markdown core files directly; do not duplicate them.46- Put folder navigation in `资料索引.md`; put the workspace entrypoint in `核心文件索引.md`.47- Do not make every folder look deeply summarized. Most `专题综合.core.md` files should remain lightweight source maps unless the folder passes topic-synthesis screening.48- V3-like topic synthesis must include source provenance, version/history cues, core judgments, content map, reusable patterns/templates/components, actions, and open questions.49- When a user asks for aggressive cleanup, back up overwritten/deleted generated notes outside the vault before deletion.50- Use only generated markers for safe overwrite or deletion:51 - `<!-- CORE_FILE_NOTE_V1 -->`52 - `<!-- CORE_FOLDER_INDEX_V1 -->`53 - `<!-- CORE_WORKSPACE_INDEX_V1 -->`54- Never delete hand-written Markdown notes unless the user explicitly asks.55- Exclude dependencies, caches, logs, build output, model artifacts, static vendor bundles, and temporary Office lock files.5657## References5859- Read `references/core-file-rules.md` before changing core-file classification.60- Read `references/obsidian-linking.md` before changing note names, tags, markers, or relationship link conventions.61- Read `references/topic-synthesis-core-notes.md` before screening folders for V3-like `专题综合.core.md` notes or rewriting many topic notes.6263## Scripts6465- `scripts/obsidian_core_notes.py scan`: count core candidates and summarize scope.66- `scripts/obsidian_core_notes.py refresh`: create or update `.core.md`, `资料索引.md`, and `核心文件索引.md`.67- `scripts/obsidian_core_notes.py topic-candidates`: rank folders whose direct sources may justify V3-like `专题综合.core.md`.68- `scripts/obsidian_core_notes.py validate`: verify generated marker counts and common corruption patterns.69- `scripts/obsidian_core_notes.py clean-generated`: remove only files with generated markers.7071## Common Pitfall7273If the user wants "像 V3 一样的专题综合", do not stop after `refresh`. `refresh` is a graph-maintenance pass; it can produce version/source statistics, but the V3-style note is a curated synthesis pass over selected folders.