$npx -y skills add ArtemXTech/claude-code-obsidian-starter --skill queryQuery data from this vault. USE WHEN user asks about projects, clients, tasks, daily notes. Use grep to extract frontmatter - do NOT read full files.
| 1 | # Query Skill |
| 2 | |
| 3 | ## IMPORTANT |
| 4 | |
| 5 | **Use `grep` to extract frontmatter. Do NOT read full files.** |
| 6 | |
| 7 | ## Projects |
| 8 | |
| 9 | ```bash |
| 10 | grep -h "^status:\|^priority:\|^deadline:" Projects/*.md |
| 11 | ``` |
| 12 | |
| 13 | Or per-file with filename: |
| 14 | ```bash |
| 15 | grep -l "" Projects/*.md | while read f; do |
| 16 | echo "=== $(basename "$f" .md) ===" |
| 17 | grep "^status:\|^priority:\|^deadline:" "$f" |
| 18 | done |
| 19 | ``` |
| 20 | |
| 21 | **Present as table:** |
| 22 | | Project | Status | Priority | Deadline | |
| 23 | |---------|--------|----------|----------| |
| 24 | |
| 25 | ## Clients |
| 26 | |
| 27 | ```bash |
| 28 | grep -l "" Clients/*.md | while read f; do |
| 29 | echo "=== $(basename "$f" .md) ===" |
| 30 | grep "^stage:\|^company:\|^next_action:" "$f" |
| 31 | done |
| 32 | ``` |
| 33 | |
| 34 | **Present as table:** |
| 35 | | Client | Company | Stage | Next Action | |
| 36 | |--------|---------|-------|-------------| |
| 37 | |
| 38 | ## Tasks |
| 39 | |
| 40 | ```bash |
| 41 | curl -s "http://127.0.0.1:8090/api/tasks" |
| 42 | ``` |
| 43 | |
| 44 | ## Daily Notes |
| 45 | |
| 46 | ```bash |
| 47 | ls -t Daily/*.md | head -5 | while read f; do |
| 48 | echo "=== $(basename "$f" .md) ===" |
| 49 | grep "^mood:\|^energy:\|^sleep_quality:" "$f" |
| 50 | done |
| 51 | ``` |
| 52 | |
| 53 | ## Output |
| 54 | |
| 55 | Always present results as markdown table. |