Skip to content
Productivity
Skill

/query

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.

From plugin
claude-code-obsidian-starter
2205 skills1 command
Install
$ npx -y skills add ArtemXTech/claude-code-obsidian-starter --skill query --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/query

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

query.SKILL.md
name: query
description: 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.

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.

Ships withclaude-code-obsidian-starter

Free starter kit: Claude Code + Obsidian. Pre-configured vault with skills for projects, tasks, clients, and daily routines. Just open and go.

Get the whole plugin
Stats
220
Stars
46
Forks
Quiet
Maintenance
Typst
Language
6mo ago
Last commit
7mo ago
Created

Repo: ArtemXTech/claude-code-obsidian-starter