Query

From ArtemXTech/claude-code-obsidian-starter · View interactive version

Query is an AI agent skill from the GitHub repository ArtemXTech/claude-code-obsidian-starter. Query data from this vault. USE WHEN user asks about projects, clients, tasks, daily notes. Use grep to extract frontmatter - do NOT read full files.

How to use this skill

Skill file

Query Skill

IMPORTANT

Use grep to extract frontmatter. Do NOT read full files.

Projects

grep -h "^status:\|^priority:\|^deadline:" Projects/*.md

Or per-file with filename:

grep -l "" Projects/*.md | while read f; do
  echo "=== $(basename "$f" .md) ==="
  grep "^status:\|^priority:\|^deadline:" "$f"
done

Present as table:

| Project | Status | Priority | Deadline |

|---------|--------|----------|----------|

Clients

grep -l "" Clients/*.md | while read f; do
  echo "=== $(basename "$f" .md) ==="
  grep "^stage:\|^company:\|^next_action:" "$f"
done

Present as table:

| Client | Company | Stage | Next Action |

|--------|---------|-------|-------------|

Tasks

curl -s "http://127.0.0.1:8090/api/tasks"

Daily Notes

ls -t Daily/*.md | head -5 | while read f; do
  echo "=== $(basename "$f" .md) ==="
  grep "^mood:\|^energy:\|^sleep_quality:" "$f"
done

Output

Always present results as markdown table.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.