ArtemXTech avatar

query

Query data from this vault. USE WHEN user asks about projects, clients, tasks, daily notes. Use grep

提供方 ArtemXTech|开源

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:

ProjectStatusPriorityDeadline

Clients

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

Present as table:

ClientCompanyStageNext 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.