agentleFS
szaffaranoszaffarano/org-mcp-server/skills/org-update-todo/SKILL.md

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.

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
  1. Very specific:

    Update TODO state and planning metadata of existing headings using mcp__org__org-update-todo.

    line 13
  2. Very specific:

    Find the target: Use mcp__org__org-search or mcp__org__org-agenda to locate the heading.

    line 78
  3. Very specific:

    Apply the update: Call mcp__org__org-update-todo with the target and desired fields.

    line 80

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 matching org_todo_keywords (e.g. "TODO", "DONE"). CLOSED is auto-stamped on done transitions and auto-removed on reactivation unless org_auto_closed_timestamp is 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 .+N followed by h|d|w|m|y.
  • Warning syntax: -N followed by h|d|w|m|y.
  • title: Replace the heading title. Non-empty, no newlines.
  • body: Replace the entire body text. Pass empty string or clear: ["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 both properties and remove_properties.

Clearing fields:

  • clear: List of field names to remove entirely. Valid values: "todo_state", "priority", "tags", "scheduled", "deadline", "closed", "body".

Common patterns

GoalKey parameters
Mark doneid or file+heading_path, todo_state: "DONE"
Start workingtodo_state: "IN_PROGRESS"
Reopen a tasktodo_state: "TODO", clear: ["closed"]
Raise prioritypriority: "A"
Reschedulescheduled: "YYYY-MM-DD"
Set deadlinedeadline: "YYYY-MM-DD"
Remove deadlineclear: ["deadline"]
Retagtags: ["new_tag1", "new_tag2"]
Remove all tagstags: []
Rename a tasktitle: "New name"
Replace body textbody: "Updated description."
Remove body textclear: ["body"]
Set effort estimateproperties: [{"key": "EFFORT", "value": "2h"}]
Set categoryproperties: [{"key": "CATEGORY", "value": "work"}]
Remove a propertyremove_properties: ["EFFORT"]

Workflow

  1. Find the target: Use mcp__org__org-search or mcp__org__org-agenda to locate the heading. Prefer using its :ID: property if available.
  2. Apply the update: Call mcp__org__org-update-todo with the target and desired fields.
  3. Confirm: The tool returns the updated heading state. Verify the result matches intent.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.