agentleFS
AdrianV101AdrianV101/obsidian-pkm-plugin/skills/add-task/SKILL.md

add-task

Skill16 starsChanged 10 months agoMITView on GitHub

Use when you want to quickly capture a new task in the vault from a title, with optional priority and due date.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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. Distinctive:

    Create a task note with minimal friction.

    line 8
  2. Very specific:

    Present: use that vault project path (e.g., 01-Projects/Obsidian-MCP)

    line 26
  3. Very specific:

    Absent: ask which project, or offer 00-Inbox for unassigned tasks

    line 27
  4. Very specific:

    If unavailable (no VAULT_PKM_OPENAI_KEY):

    line 39
  5. Distinctive:

    If skipping, exit cleanly.

    line 48
  6. Distinctive:

    If a description was given in Step 1, append it into the Description section:

    line 68

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Add Task — Fast Vault Task Capture

Create a task note with minimal friction. Duplicate check → create → confirm. Done in one pass.

Step 1: Resolve Task Details

Extract from skill arguments or the user's message:

FieldSourceDefault
titleargs / messagerequired — ask if missing
priorityargsnormal
dueargs (any recognisable date)none
descriptionremaining text after title/priority/duenone

Priority shorthands: h / hi / high → high; u / urg / urgent → urgent; l / lo / low → low; anything else → normal.

Step 2: Detect Project

Take the project from the session context's ## PKM Project Context: <path> header:

  • Present: use that vault project path (e.g., 01-Projects/Obsidian-MCP)
  • Absent: ask which project, or offer 00-Inbox for unassigned tasks

Task path: <project>/tasks/<kebab-title>.md

  • <kebab-title> = title lowercased, spaces → -, strip characters other than a-z0-9-
  • <project-folder-name> for the project: frontmatter field is the basename of the vault path (e.g., Obsidian-MCP from 01-Projects/Obsidian-MCP)

Step 3: Duplicate Check

vault_semantic_search({ query: "<title>", folder: "<project>", limit: 3 })

If unavailable (no VAULT_PKM_OPENAI_KEY):

vault_search({ query: "<title>", folder: "<project>" })
vault_query({ type: "task", folder: "<project>" })

Read any semantic hit scoring 0.5 or above (scores are on the scale described in the vault_semantic_search tool description) to confirm it is the same task before treating it as a duplicate, since a 0.5 hit can be a same-area neighbor. An exact or near-exact title in search results also counts. If a similar task exists:

"Similar task found: <path> — <title>. Create a new one anyway, or skip?"

If skipping, exit cleanly. If creating anyway, proceed.

Step 4: Create Task Note

vault_write({
  template: "task",
  path: "<task-path>",
  frontmatter: {
    tags: ["task"],
    status: "pending",
    priority: "<priority>",
    project: "<project-folder-name>",
    ...(due ? { due: "<YYYY-MM-DD>" } : {})   // omit due entirely if not provided
  }
})

Step 5: Fill Description (if provided)

If a description was given in Step 1, append it into the Description section:

vault_append({
  path: "<task-path>",
  heading: "## Description",
  position: "after_heading",
  content: "<description>"
})

Skip if no description was provided — leave the section blank for later.

Step 6: Confirm

Report the created task concisely:

Task created: <project>/tasks/<kebab-title>.md Priority: <priority> · Due: <due or none> · Status: pending

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.