| name | reindex |
| description | Manually re-run qmd indexing and embeddings for wiki, raw_sources, and queries after Obsidian edits, bulk moves, or embedding-model changes; also responds to /reindex and ์ฌ์์ธ. |
reindex
Use this skill when the user asks to run reindex, /reindex, or rebuild qmd indexes.
Command Template
/reindex โ qmd ์ธ๋ฑ์ค ์ฌ๊ตฌ์ถ
qmd ์ธ๋ฑ์ค๋ฅผ ์๋์ผ๋ก ์ฌ๊ตฌ์ถํฉ๋๋ค. ๋ณดํต์ PostToolUse hook์ด ์๋์ผ๋ก ์ฒ๋ฆฌํ์ง๋ง, ๋ค์ ๊ฒฝ์ฐ์ ์๋ ์คํ์ด ํ์ํฉ๋๋ค:
- Obsidian์์ ์ง์ ํ์ผ ํธ์งํ์ ๋ (hook ๋ฏธ๋ฐํ)
- ์ธ๋ถ ๋๊ตฌ๋ก ๋๋ ํ์ผ ๋ณ๊ฒฝ ํ
- ์๋ฒ ๋ฉ ๋ชจ๋ธ ๊ต์ฒด ํ (
qmd embed -f๋ก ๊ฐ์ ์ฌ์๋ฒ ๋)
qmd status์์ vector ์๊ฐ ๋ฌธ์ ์์ ์ด๊ธ๋ ๋
Workflow
export QMD_EMBED_MODEL="hf:Qwen/Qwen3-Embedding-0.6B-GGUF/Qwen3-Embedding-0.6B-Q8_0.gguf"
qmd update
qmd embed
qmd status
๊ฐ์ ์ฌ์๋ฒ ๋ (์: ๋ชจ๋ธ ๊ต์ฒด ํ):
qmd embed -f
Check results
์ฟผ๋ฆฌ ํ
์คํธ:
qmd vsearch "ํ
์คํธ ์ฟผ๋ฆฌ" -n 3
qmd query "LLM Wiki Pattern" -n 3
Scope
์ด ์ปค๋งจ๋๋ ๋ค์ 3๊ฐ collection์ ๊ฐฑ์ :
- wiki:
20. Wiki/**/*.md (Concepts, Entities, Guides, MOCs)
- raw_sources:
10. Raw Sources/**/*.md (๋ถ๋ณ ์๋ณธ)
- queries:
30. Queries/**/*.md (ํฉ์ฑ๋ ์ฟผ๋ฆฌ ๊ฒฐ๊ณผ)
Inbox๋ ์ค์ฝํ ์ ์ธ (์์ง ingest ์ staging).
Related
- Auto-reindex hook:
.codex/hooks/qmd-reindex.sh (PostToolUse, debounced 8์ด)
- Config:
~/.config/qmd/index.yml (template: 90. Settings/qmd-config-template.yml)
- Guide: โ CMDSPACE
40. Docs/41. Official Docs/qmd ์ฌ์ฉ ๊ฐ์ด๋ (CMDS).md