query

ArtemXTech's avatarfrom ArtemXTech

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.

⭐27stars🔀5forks📁View on GitHub🕐Updated Jan 8, 2026

When & Why to Use This Skill

This Claude skill enables high-performance querying of structured data within a markdown-based vault or personal knowledge management system. By leveraging optimized shell commands like grep to extract frontmatter metadata, it provides instant, tabular insights into projects, client statuses, tasks, and daily logs while significantly reducing context window usage by avoiding full-file reads.

Use Cases

  • Project Portfolio Oversight: Automatically generate real-time status reports, priority lists, and deadline overviews across multiple project files using frontmatter extraction.
  • Client Relationship Tracking: Quickly retrieve the current engagement stage, company details, and scheduled next actions for client accounts stored within the vault.
  • Personal Productivity Analytics: Aggregate and visualize trends from daily notes—such as mood, energy levels, and sleep quality—presented in a clean, structured markdown table.
  • Efficient Data Extraction: Search and filter through large document repositories to find specific metadata points without the overhead of processing entire document contents.
namequery
descriptionQuery 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.