plugins/obsidian-wiki-engine/skills/obsidian-query-agent/SKILL.md
Progressive-disclosure query against the Obsidian LLM wiki. Returns RLM summary first, expands to bullets, then full wiki node on demand. Use when looking up concepts, searching the wiki, or getting instant context from the knowledge graph.
npx skillsauth add richfrem/agent-plugins-skills obsidian-query-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Requires Python 3.8+ and pyyaml.
pip install -r requirements.txt
Status: Active Author: Richard Fremmerlid Domain: Obsidian Wiki Engine
Progressive-disclosure query interface for the Obsidian LLM wiki. Returns the cheapest useful answer first: a 1-5 sentence RLM summary. The caller can then request bullets, then the full wiki node — expanding context only as needed.
| Level | Content | Cost |
|:------|:--------|:-----|
| summary | 1-5 sentence distilled answer | ~50 tokens |
| bullets | 6-10 key idea bullets | ~150 tokens |
| full | Complete wiki node + wikilinks | ~800 tokens |
| raw | Original source file content | variable |
python ./scripts/query_wiki.py --wiki-root /path/to/wiki-root "authentication flow"
python ./scripts/query_wiki.py --wiki-root /path/to/wiki-root "authentication flow" --level bullets
python ./scripts/query_wiki.py --wiki-root /path/to/wiki-root "authentication flow" --level full
python ./scripts/query_wiki.py --wiki-root /path/to/wiki-root "rlm design" \
--level full --save-as my-rlm-research
python ./scripts/query_wiki.py --wiki-root /path/to/wiki-root "attention mechanism" \
--vdb-profile research
python ./scripts/query_wiki.py --wiki-root /path/to/wiki-root "auth flow" \
--rlm-cache-dir /path/to/project/.agent/learning/rlm_wiki_cache
python ./scripts/query_wiki.py --wiki-root /path/to/wiki-root --list
python ./scripts/query_wiki.py --wiki-root /path/to/wiki-root "api design" --json
Phase 1 — Slug/token match (O(1), always runs):
Phase 2 — Vector DB semantic search (O(log N), requires vector-db installed):
vector-db plugin's query.py as a subprocess.agent/learning/vector_profiles.jsonwiki (override with --vdb-profile)meta/agent-memory.jsonPhase 3 — Full-text keyword scan (O(N), always available):
wiki/*.md content as final fallbackKarpathy's key insight: "I end up filing the outputs back into the wiki to enhance it."
The --save-as flag writes the query result as a new wiki node:
wiki/{concept-slug}.md ← new concept page derived from the query result
The saved node includes:
query_derived: true and derived_from attribution## See Also link back to the source conceptThis means every query session can grow the wiki, not just read from it.
/wiki-ingest has been run and nodes are populatedquery_wiki.py — progressive-disclosure query engineraw_manifest.py — WikiSourceConfig for path resolutionaudit.py — reports missing or stale nodesdata-ai
Task management agent. Auto-invoked for task creation, status tracking, and kanban board operations using Markdown files across lane directories. V2 enforces Kanban Sovereignty constraints preventing manual task file edits.
development
Create, audit, repair, and document cross-platform symlinks that work correctly on both Windows and macOS/Linux. Use this skill whenever the user mentions symlinks, symbolic links, junction points, .gitconfig symlinks, broken links after git pull, cross-platform path issues, or needs help with ln -s equivalents on Windows. Also trigger when the user reports that files are missing or wrong after switching between Mac and Windows machines using Git. This skill solves the common problem where symlinks committed on macOS show up as plain text files on Windows (and vice versa) because of Git's core.symlinks setting or missing Developer Mode / elevated permissions. **IMPORTANT FOR WINDOWS USERS:** Developer Mode must be enabled before creating symlinks. Without it, Git will check out symlinks as plain-text files or hardlinks, breaking cross-platform workflows.
development
Interactively prepares a targeted Red Team Review package. It conducts a brief discovery interview to determine the threat model, generates a strict security auditor prompt, compiles a manifest of relevant project files, and bundles them into a single Markdown artifact or ZIP archive ready for an external LLM (like Grok, ChatGPT, or Gemini) or a human reviewer.
tools
Reduces AI agent context bloat across three dimensions: (1) duplicate skill deduplication — clears stale agent directory copies since the IDE already reads from plugins/ directly; (2) instruction file optimization — rewrites CLAUDE.md, GEMINI.md, or .github/copilot-instructions.md to under ~80 lines, keeping only rules that directly change agent behaviour; (3) session token efficiency — guidance on cheap subagent delegation, context compounding across turns, and session hygiene. Trigger with "optimize context", "reduce context bloat", "deduplicate skills", "trim CLAUDE.md", "trim GEMINI.md", "fix my context usage", "why are my skills loading twice", "how do I reduce token usage", or "clean up agent directories".