org-queries
스타13
포크1
업데이트2026년 7월 26일 10:55
How to query my personal org files.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SKILL.md
readonly메뉴
How to query my personal org files.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | org-queries |
| description | How to query my personal org files. |
For my personal TODO tracking, I use emacs org-mode. The files live in the ~/org
directory. For ease of use, I have a script named org-query that hits my
running emacs instance and produces structured json output for common
queries.
All queries run against files defined in org-agenda-files.
org-query <command> [tags]
| Command | Description |
|---|---|
todos | All entries with any TODO state |
active | Active entries (TODO, NEXT, REVIEW, DEPLOY) |
next | Only NEXT entries |
scheduled | Only entries with a SCHEDULED date |
deadlines | Only entries with a DEADLINE date |
Optional second argument filters by tags:
org-query active work # active items tagged :work:
org-query scheduled work,home # scheduled items tagged :work: or :home:
JSON array of entries:
[
{
"heading": "Write documentation",
"state": "NEXT",
"file": "/Users/me/org/projects.org",
"line": 42,
"tags": ["work", "docs"],
"scheduled": "2026-02-01",
"deadline": "2026-02-05"
}
]
You can pipe the output to a program like jq to slice out specific bits of
data.
If you are looking at work TODOs, always use the 'work' tag.