一键导入
entity-query
Query the workspace `entities/` tree with helper scripts before manually reading many records.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Query the workspace `entities/` tree with helper scripts before manually reading many records.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Define Hermit entity schema, templates, and starter records.
Generate short spoken audio files from text with OpenAI text-to-speech. Use when you want a Telegram voice-note reply or any local speech audio from text.
Transcribe saved Telegram voice notes and other audio attachments with OpenAI before replying. Use when a Telegram prompt includes an audio file path under inbox/telegram/.
Define Hermit roles, including `role.md`, `AGENTS.md`, prompts, and startup files.
Maintain the Hermit framework repo separately from workspace data, including framework PR and update flows.
Search `skills.sh` and ClawHub for reusable skills, then install only after user confirmation.
| name | entity-query |
| description | Query the workspace `entities/` tree with helper scripts before manually reading many records. |
Use when:
Do not use when:
Steps:
summarize-entities.ts for counts and rollups.query-entities.ts to narrow candidates.query-graph.ts when you need relationship traversal, broken-reference checks, or path finding.record.md files.inventory-entities.ts only if you need typical companion files.rg on narrowed paths for exact text.Commands:
node --import tsx skills/entity-query/scripts/summarize-entities.ts --top 10
node --import tsx skills/entity-query/scripts/query-entities.ts --type deal --status qualification --sort updated --desc --limit 20
node --import tsx skills/entity-query/scripts/query-graph.ts --role sales --query summary
node --import tsx skills/entity-query/scripts/query-graph.ts --role sales --query neighbors --entity deal-acme-enterprise --direction both
node --import tsx skills/entity-query/scripts/inventory-entities.ts --group-by type --top 8
Key flags:
query-entities.ts: --type, --status, --owner, --directory, --id, --name, --text, --sort, --desc, --limit, --format table|json|pathsquery-graph.ts: --role, --query summary|neighbors|subgraph|path|broken, --entity, --from, --to, --direction incoming|outgoing|both, --edge-type, --depth, --max-depth, --format text|jsonsummarize-entities.ts: --type, --status, --owner, --directory, --top, --format text|jsoninventory-entities.ts: --type, --directory, --group-by type|directory|top-level, --top, --format text|jsonNotes:
workspace/. Otherwise pass --root /absolute/path/to/workspace.entities/ tree for record.md.id, type, name, status, owner, and updated_at are used when present.query-graph.ts builds the relationship graph in memory on demand from the current markdown state; it does not persist an index.