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.
(0)
۹۲ستاره
۰دانلود
۲بازدید
نصب مهارت
مهارتها کدهای شخص ثالث از مخازن عمومی GitHub هستند. SkillHub الگوهای مخرب شناختهشده را اسکن میکند اما نمیتواند امنیت را تضمین کند. قبل از نصب، کد منبع را بررسی کنید.
نصب سراسری (سطح کاربر):
npx skillhub install ArtemXTech/claude-code-obsidian-starter/queryنصب در پروژه فعلی:
npx skillhub install ArtemXTech/claude-code-obsidian-starter/query --projectمسیر پیشنهادی: ~/.claude/skills/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
```bash
grep -h "^status:\|^priority:\|^deadline:" Projects/*.md
```
Or per-file with filename:
```bash
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
```bash
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
```bash
curl -s "http://127.0.0.1:8090/api/tasks"
```
## Daily Notes
```bash
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.