albert-ying/agentic-cortex/dendron-query
Claude Code and agent skill by albert-ying/agentic-cortex
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install albert-ying/agentic-cortex/dendron-querySKILL.md
Dendron Query
Query the Dendron knowledge base using indexes and SQLite for efficient information retrieval.
When to Use
Invoke when the user wants to find information in their vault: people, project status, scientific topics, recent activity, keyword search, or meeting preparation.
What It Does
- Parses natural language query to determine intent
- Routes to the appropriate entry point (by-person, by-project, by-topic, by-date, keyword)
- Traverses note graph to collect related notes
- Reads relevant notes in context
- Synthesizes a structured response with source links
Usage
Examples:
@dendron-query Find everything about Sarah Kim@dendron-query What's the status of the protein design project?@dendron-query Show all papers on aging clocks@dendron-query What did I discuss in meetings last week?
Query Types & Routing
Person Query -> _index.by-person.md
Indicators: "about [Person]", "related to [Person]", "with [Person]", "who is [Person]"
- Read
_index.by-person.md-> find person's section - Follow links to projects, meetings, papers, contact info
- Read their
user.*note for full context - Check recent mentions via SQLite:
``sql SELECT fname, title FROM Note n JOIN Vault v ON n.vaultId=v.id WHERE v.fsPath='.' AND raw LIKE '%person-name%' ORDER BY updated DESC LIMIT 10; ``
- Synthesize overview with links to all related notes
Project Query -> _index.by-project.md
Indicators: "project status", "about [Project]", "progress", "what's happening with"
- Read
_index.by-project.md-> find project section - Read main project file:
proj.YYYY.project-name.md - Extract people, science, and meetings from frontmatter links
- Check recent mentions via SQLite
- Return status + context + next steps
Topic Query -> _index.by-topic.md
Indicators: "papers on", "research about", "all notes on", "everything about [concept]"
- Read
_index.by-topic.md-> find topic section - Collect all linked notes (projects, science, papers)
- Fall back to ripgrep content search if index is insufficient
- Organize by type and return structured summary
Date/Time Query -> SQLite
Indicators: "last week", "recent", "today", "yesterday", "meetings in January"
Keyword Search -> ripgrep + SQLite
Indicators: "find notes with", "search for", "mentions of", or any unmatched query
Supplement with ripgrep when SQLite raw column is incomplete or for multi-word phrases.
Common SQL Templates
Response Format
Structure every response with:
- Summary — 2-3 sentences, most important information first
- Details — Organized by category or chronology
- Sources — Dendron links:
[[title|note.id]] - Next Steps — Follow-up queries or actions (when applicable)
Example:
Advanced Features
- Multi-Entity: Find connections between two people or topics (shared meetings, overlapping projects)
- Temporal: Compare project state across time by reading notes from different date ranges
- Aggregation: List all active projects with summaries, or all people in a given project
- Meeting Prep: Combine person + project queries to build context before an upcoming meeting
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dendron-query/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/albert-ying/agentic-cortex/dendron-query)