用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/colonelpanic8/dotfiles --skill org-agenda-api命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Answer questions about the Paseo product and app, including setup, configuration, connectivity, providers, workspaces, updates, logs, and troubleshooting. Use when a user inside Paseo asks how Paseo works, how to configure it, or why something is broken; use the paseo skill instead to operate agents and workspaces through MCP or the CLI.
Build and manage trusted local Paseo plugins. Use when the user asks to create, edit, install, reload, enable, disable, remove, or troubleshoot a Paseo plugin; add a native surface or sidebar item; use Paseo from plugin code; add plugin RPCs; or contribute composer attachments.
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress tangents, give specific time estimates, make wins visible. Invoke with /i-have-adhd; stays on until "stop adhd mode".
基于 SOC 职业分类
正在显示 SKILL.md
| name | org-agenda-api |
| description | Use when interacting with the org-agenda-api HTTP server to read/write org-mode agenda data |
HTTP API for org-mode agenda data. Use this skill when you need to query or modify org agenda entries programmatically.
Get credentials from pass:
pass show org-agenda-api-imalison
Returns: password on first line. The username is currently imalison.
Note: The url field in pass may be outdated. Use the base URL below.
https://org-agenda-api.rocket-sense.duckdns.org
All requests use Basic Auth with the credentials from pass.
Get agenda entries for a day or week.
Query params:
span: day (default) or weekdate: YYYY-MM-DD (default: today)include_overdue: true to include overdue items from previous daysinclude_completed: true to include items completed on the queried daterefresh: true to git pull repos firstResponse includes span, date, entries array, and optionally gitRefresh results.
Get all TODO items from agenda files.
Query params:
refresh: true to git pull firstResponse includes defaults (with notifyBefore), todos array, and optionally gitRefresh.
Get all app metadata in a single request. Returns:
templates: capture templatesfilterOptions: tags, categories, priorities, todoStatestodoStates: active and done statescustomViews: available custom agenda viewserrors: any errors encountered fetching aboveGet configured TODO states. Returns:
active: array of not-done states (TODO, NEXT, etc.)done: array of done states (DONE, CANCELLED, etc.)Get available filter options. Returns:
todoStates: all statespriorities: available priorities (A, B, C)tags: all tags from agenda filescategories: all categoriesList available custom agenda views. Returns array of {key, name} objects.
Run a custom agenda view.
Query params:
key (required): custom agenda command keyrefresh: true to git pull firstGet list of org-agenda-files with existence and readability status.
List available capture templates with their prompts.
Health check. Returns status, uptime, requests, and captureStatus if unhealthy.
Version info. Returns version and gitCommit.
Current org configuration for debugging.
Create a new entry using a capture template.
Important: Use capture-g (GTD Todo) for most tasks - it properly records creation time and logbook history. Only use default when you specifically don't want GTD tracking.
Body:
{
"template": "capture-g",
"values": {
"Title": "Task title",
"scheduled": "2026-01-20",
"deadline": "2026-01-25",
"priority": "A",
"tags": ["work", "urgent"],
"todo": "TODO"
}
}
Mark a TODO as complete.
Body (use any combination to identify the item):
{
"id": "org-id-if-available",
"file": "/path/to/file.org",
"pos": 12345,
"title": "Task title",
"state": "DONE"
}
Lookup order: id -> file+pos+title -> file+title -> title only
Update a TODO's scheduled date, deadline, priority, tags, or properties.
Body:
{
"id": "org-id",
"file": "/path/to/file.org",
"pos": 12345,
"title": "Task title",
"scheduled": "2026-01-20T10:00:00",
"deadline": "2026-01-25",
"priority": "B",
"tags": ["updated", "tags"],
"properties": {
"CUSTOM_PROP": "value"
}
}
Set value to null or empty string to clear. Response includes new pos for cache updates.
Delete an org item permanently.
Body:
{
"id": "org-id",
"file": "/path/to/file.org",
"position": 12345,
"include_children": true
}
Requires include_children: true if item has children, otherwise returns error.
Restart the Emacs server (exits gracefully, supervisord restarts).
These require org-category-capture to be configured.
List registered category strategy types. Returns array with:
name: strategy type namehasCategories: booleancaptureTemplate: template stringprompts: array of prompt definitionsGet categories for a strategy type.
Query params:
type (required): strategy type name (e.g., "projects")existing_only: true to only return categories with capture locationsReturns type, categories array, todoFiles array.
Get tasks for a specific category.
Query params:
type (required): strategy type namecategory (required): category nameCapture a new entry to a category.
Body:
{
"type": "projects",
"category": "my-project",
"title": "Task title",
"todo": "TODO",
"scheduled": "2026-01-20",
"deadline": "2026-01-25",
"priority": "A",
"tags": ["work"],
"properties": {"EFFORT": "1h"}
}
Agenda/todo entries include:
todo: TODO state (TODO, NEXT, DONE, etc.)title: Heading textscheduled: ISO date or datetimedeadline: ISO date or datetimepriority: A, B, or C (only if explicitly set)tags: Array of tagsfile: Source file pathpos: Position in file (may change after edits)id: Org ID if set (stable identifier)olpath: Outline path arraylevel: Heading levelcategory: Category of the itemproperties: All properties from the property drawercompletedAt: ISO timestamp when completed (if applicable)agendaLine: Raw agenda display text (agenda endpoint only)notifyBefore: Array of minutes for notificationsisWindowHabit: Boolean for window habitshabitSummary: Summary object for habits (if applicable)View today's agenda:
curl -s -u "$USER:$PASS" "$URL/agenda?span=day" | jq '.entries[] | {todo, title, scheduled}'
View this week:
curl -s -u "$USER:$PASS" "$URL/agenda?span=week" | jq .
View completed tasks for a specific date:
curl -s -u "$USER:$PASS" "$URL/agenda?date=2026-01-17&include_completed=true" | jq '.entries[] | select(.completedAt != null) | {title, completedAt}'
Get all metadata at once:
curl -s -u "$USER:$PASS" "$URL/metadata" | jq .
Create a task:
curl -s -u "$USER:$PASS" -X POST "$URL/capture" \
-H "Content-Type: application/json" \
-d '{"template":"capture-g","values":{"Title":"New task","scheduled":"2026-01-20"}}'
Complete a task by title:
curl -s -u "$USER:$PASS" -X POST "$URL/complete" \
-H "Content-Type: application/json" \
-d '{"title":"Task title"}'
Update a task's schedule:
curl -s -u "$USER:$PASS" -X POST "$URL/update" \
-H "Content-Type: application/json" \
-d '{"title":"Task title","scheduled":"2026-01-21T14:00:00"}'
Clear a deadline:
curl -s -u "$USER:$PASS" -X POST "$URL/update" \
-H "Content-Type: application/json" \
-d '{"title":"Task title","deadline":null}'
Delete a task:
curl -s -u "$USER:$PASS" -X POST "$URL/delete" \
-H "Content-Type: application/json" \
-d '{"title":"Task to delete","file":"/path/to/file.org","position":12345}'
All endpoints return JSON. Errors include:
{
"status": "error",
"message": "Error description"
}
Success responses include:
{
"status": "created" | "completed" | "updated",
...additional fields
}