org-update-todo
Skill42 starsChanged 5 months agoMITView on GitHub
Update the TODO state and metadata of an existing org-mode heading via the org MCP server. Use when the user wants to change a task's state, priority, tags, or timestamps. Triggers: "mark as done", "complete this task", "reschedule", "change priority", "update the deadline", "close this TODO", "set a deadline", "retag this", "move to IN_PROGRESS", or any request to modify an existing task or heading's metadata.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- org-agendaSkill
- org-captureSkill
- org-searchSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Update TODO state and planning metadata of existing headings using mcp__org__org-update-todo.
- Very specific: line 78
Find the target: Use mcp__org__org-search or mcp__org__org-agenda to locate the heading.
- Very specific: line 80
Apply the update: Call mcp__org__org-update-todo with the target and desired fields.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Org Update Todo
Update TODO state and planning metadata of existing headings using mcp__org__org-update-todo.
Tool — mcp__org__org-update-todo
Targeting (one of these is required)
By ID (preferred): supply id — the :ID: property value of the heading.
Wins over file/heading_path when both are given.
By location: supply both file (relative path within org directory) and
heading_path (slash-separated path, e.g. "Projects/Work/Task name").
Fields to update (all optional — omit what you don't want to change)
todo_state: New keyword matchingorg_todo_keywords(e.g."TODO","DONE").CLOSEDis auto-stamped on done transitions and auto-removed on reactivation unlessorg_auto_closed_timestampis disabled in config.priority:"A","B", or"C".tags: Replaces the tag list wholesale. Each must match^[A-Za-z0-9_@]+$. Pass an empty list[]to remove all tags.
Timestamps (ISO YYYY-MM-DD or YYYY-MM-DD HH:MM, optional repeater/warning):
scheduled: New SCHEDULED active timestamp.deadline: New DEADLINE active timestamp.closed: New CLOSED inactive timestamp (usually auto-managed; set manually only when overriding auto-close behavior).- Repeater syntax:
+N,++N, or.+Nfollowed byh|d|w|m|y. - Warning syntax:
-Nfollowed byh|d|w|m|y. title: Replace the heading title. Non-empty, no newlines.body: Replace the entire body text. Pass empty string orclear: ["body"]to remove. Setting and clearing in the same call is an error.properties: List of{key, value}pairs to upsert into the property drawer. Keys are case-insensitive; new keys are appended, existing keys are updated.remove_properties: List of property keys to delete from the drawer. Removing a non-existent key is a no-op. A key must not appear in bothpropertiesandremove_properties.
Clearing fields:
clear: List of field names to remove entirely. Valid values:"todo_state","priority","tags","scheduled","deadline","closed","body".
Common patterns
| Goal | Key parameters |
| Mark done | id or file+heading_path, todo_state: "DONE" |
| Start working | todo_state: "IN_PROGRESS" |
| Reopen a task | todo_state: "TODO", clear: ["closed"] |
| Raise priority | priority: "A" |
| Reschedule | scheduled: "YYYY-MM-DD" |
| Set deadline | deadline: "YYYY-MM-DD" |
| Remove deadline | clear: ["deadline"] |
| Retag | tags: ["new_tag1", "new_tag2"] |
| Remove all tags | tags: [] |
| Rename a task | title: "New name" |
| Replace body text | body: "Updated description." |
| Remove body text | clear: ["body"] |
| Set effort estimate | properties: [{"key": "EFFORT", "value": "2h"}] |
| Set category | properties: [{"key": "CATEGORY", "value": "work"}] |
| Remove a property | remove_properties: ["EFFORT"] |
Workflow
- Find the target: Use
mcp__org__org-searchormcp__org__org-agendato locate the heading. Prefer using its:ID:property if available. - Apply the update: Call
mcp__org__org-update-todowith the target and desired fields. - Confirm: The tool returns the updated heading state. Verify the result matches intent.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

