一键导入
obsidian-semantic-pointer
Manage and operate the Obsidian Semantic Pointer CLI for on-demand historical bridging, semantic search, and context pruning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage and operate the Obsidian Semantic Pointer CLI for on-demand historical bridging, semantic search, and context pruning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when Justin asks you to search, read, write, or manage notes in the vault, OR when performing structural/physical vault maintenance (hygiene, task archiving, capitalization healing, link repair, and nightly cron plumbing).
Run vault compile-inputs — Phase 0 apply Ready to Apply, then phased Readings/Sources/Meetings/Others.
Interactive daily wrap-up: 1. Input candidates (Slack/email); 2. Discovered contacts; 3. Work log draft/write; 4. Next day's calendar preview.
Master Justin's automated note-taking, ingestion, and logging pipeline (Brain Feeds Ingest). Coordinates email forwarding, Linear reactions, Telegram bookmarks, and central vault logging/entity integration.
Master conventions for chronological logs: governs Daily Notes, Meetings, and incoming Inputs (Emails, Slack, Readings).
Performs high-level semantic health checks on the vault, identifying potential contradictions, stale summaries, and structural anomalies in the knowledge graph.
基于 SOC 职业分类
| name | obsidian-semantic-pointer |
| description | Manage and operate the Obsidian Semantic Pointer CLI for on-demand historical bridging, semantic search, and context pruning. |
| version | 1.0.0 |
| author | Apollo |
| license | MIT |
| metadata | {"hermes":{"tags":["obsidian","semantic-pointer","embeddings","vector-search","sqlite-vec","note-taking"],"related_skills":["obsidian-graph-enrichment","obsidian-notes","obsidian-logs"]}} |
This skill outlines the usage, syntax, maintenance, and automated workflows of the Semantic Pointer utility, which solves the synonym problem and historical blindspots in Justin's vault.
~/.hermes/scripts/semantic_pointer.py~/.hermes/state/semantic_memory.dbsqlite-vec (version 0.1.9) + Google Gemini gemini-embedding-2 API (3072 dimensions).mtime and content MD5 hashes.The utility is run from the terminal under the main python virtual environment.
Indexes new or modified files. Automatically prioritizes Logs/ and Daily Notes/ first, making incremental checks blazingly fast.
python3 ~/.hermes/scripts/semantic_pointer.py index
Finds the most semantically relevant archived Tier 1 logs (Meetings, Sources, Slack, Daily Notes) from the past, and appends/updates them under a clean ## Related Logs header at the end of a newly drafted Thought or Belief note.
# Preview matches only
python3 ~/.hermes/scripts/semantic_pointer.py bridge "vault/Notebook/Target Note.md" --limit 5
# Write backlinks directly to the note
python3 ~/.hermes/scripts/semantic_pointer.py bridge "vault/Notebook/Target Note.md" --limit 5 --commit
Instead of feeding raw, lengthy log files into your active context window, retrieve the top $N$ most semantically dense paragraph chunks from across the entire vault history matching your topic:
python3 ~/.hermes/scripts/semantic_pointer.py prune "your synthesis topic" --limit 10
Search across full documents (--type doc) or individual paragraph chunks (--type para):
# Document-level search
python3 ~/.hermes/scripts/semantic_pointer.py search "search query" --type doc --limit 5
# Paragraph-level search
python3 ~/.hermes/scripts/semantic_pointer.py search "search query" --type para --limit 5
The Semantic Pointer is fully integrated into the daily 9PM Vault Hygiene Cron Job (vault_hygiene.py). Any newly added daily notes, meeting logs, reading summaries, or Slack ingestion files are indexed automatically each night, keeping the vector space in perfect alignment without manual intervention.
To manually trigger a full hygiene and indexing run:
python3 ~/.hermes/scripts/vault_hygiene.py
If schema changes occur or the database gets corrupted, delete the SQLite file and trigger a fresh index.
# Delete DB
rm -f ~/.hermes/state/semantic_memory.db
# Full rebuild
python3 ~/.hermes/scripts/semantic_pointer.py index
Ensure GOOGLE_GENERATIVE_AI_API_KEY is present in your environment:
export GOOGLE_GENERATIVE_AI_API_KEY="AIzaSy..."