agentleFS
szaffaranoszaffarano/org-mcp-server/skills/org-capture/SKILL.md

org-capture

Skill42 starsChanged 5 months agoMITView on GitHub

Create new org-mode headings and notes via the org MCP server. Use when the user wants to add a new task, note, journal entry, or any new heading to their org files. Triggers: "add a task", "create a note", "capture this", "log an entry", "add to my notes", "create a TODO", "add a journal entry", "record this idea", or any request to write new content into org files.

The file

Files
SKILL.md

Org Capture

Append new headings and notes to org files using the mcp__org__org-capture tool.

Tool — mcp__org__org-capture

Required:

  • title: Heading text. Non-empty, no newlines.

Targeting (where to insert):

  • file: Relative path within the org directory. Defaults to the configured notes file.
  • target_heading: Slash-separated path to insert under (e.g. "Projects/Work"). Missing intermediate headings are created automatically.

Heading metadata:

  • level: Heading depth (1–19). Defaults to parent_level + 1 when target_heading is set, else 1.
  • todo_state: Keyword matching org_todo_keywords config (e.g. "TODO", "DONE").
  • priority: "A", "B", or "C".
  • tags: List of tag strings. Each must match ^[A-Za-z0-9_@]+$.
  • body: Text placed beneath the heading.
  • properties: List of {key, value} pairs written into a property drawer.

Timestamps (ISO YYYY-MM-DD or YYYY-MM-DD HH:MM, optional repeater/warning):

  • scheduled: SCHEDULED active timestamp.
  • deadline: DEADLINE active timestamp.
  • closed: CLOSED inactive timestamp.
  • Repeater syntax: +N, ++N, or .+N followed by h|d|w|m|y.
  • Warning syntax: -N followed by h|d|w|m|y.

Datetree (Year/Month/Day hierarchy):

  • datetree: true: Expand target_heading with a Year → Month → Day tree before resolving, placing the entry under today's leaf.
  • datetree_date: Override the target day (YYYY-MM-DD). Only valid when datetree is true.

Common patterns

GoalKey parameters
Quick TODOtitle, todo_state: "TODO"
Scheduled tasktitle, todo_state, scheduled
Journal entry todaydatetree: true, title, body
Journal entry specific daydatetree: true, datetree_date: "YYYY-MM-DD", title
Note under a headingtarget_heading: "Area/Subarea", title, body
Note in specific filefile: "relative/path.org", title
Tagged notetitle, tags: ["tag1", "tag2"]
Note with propertiestitle, properties: [{"key": "SOURCE", "value": "..."}]

After capture

The tool returns the file path and the position of the newly created heading. Use org-heading://{file}#{title} to verify the result if needed.

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.