Wiki query
My agent skills
npx -y skills add jehrhardt/agents --skill wiki-queryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Query the personal LLM wiki for synthesized knowledge. Search wiki pages, read the index, synthesize answers with citations. Use when the user asks questions about their notes, ideas, projects, or accumulated knowledge from anywhere in Pi.
SKILL.md
1.9 KB, 440 tokens by cl100k_base, as published. Nobody here has run it
Wiki Query
Search and synthesize answers from the personal wiki.
Vault
- Path:
~/Notes - Wiki:
~/Notes/Wiki - Index:
~/Notes/Wiki/index.md
Steps
1. Search
Search the wiki for relevant terms using ripgrep:
rg -i "search term" "$HOME/Notes/Wiki" --type md -l
For broader search, also check Daily Notes/:
rg -i "search term" "$HOME/Notes/Daily Notes" --type md -l
2. Read Index
Read the index to find categorized pages:
read path="$HOME/Notes/Wiki/index.md"
3. Read Relevant Pages
Read the most relevant wiki pages. Follow wiki links ([[Page Name]]) to related pages for deeper context.
4. Synthesize Answer
Provide a concise answer with citations using Obsidian wiki link syntax:
- "Based on [[Concept Page]], the approach is..."
- "[[Person Page]] mentioned this in the context of [[Project Page]]"
5. File Answer (Optional)
If the answer reveals a significant new insight or connection, offer to file it as a new wiki page. Ask the user first. If yes:
-
Create page in appropriate
Wiki/subdirectory -
Add to
Wiki/index.md -
Append to
Wiki/log.md:## [YYYY-MM-DD] query | Question summary - Filed as: [[New Page]]
Search Strategy
- Start with ripgrep across
Wiki/for keywords - Check
index.mdfor categorized leads - Read the most promising 2-4 pages
- Follow cross-references for depth
- Fall back to
Daily Notes/if wiki has no answer
Notes
- Cite pages with
[[Page Name]]so the user can click through in Obsidian. - If the wiki doesn't have the answer, say so — don't hallucinate.