/vault-pkm:add-taskfrom vault-pkm
Captures a new task in an Obsidian vault from a title with optional priority and due date. Handles duplicate detection and project assignment.
Ships in vault-pkm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create a task note with minimal friction. Duplicate check → create → confirm. Done in one pass.
Extract from skill arguments or the user's message:
| Field | Source | Default |
|---|---|---|
| title | args / message | required — ask if missing |
| priority | args | normal |
| due | args (any recognisable date) | none |
| description | remaining text after title/priority/due | none |
Priority shorthands: h / hi / high → high; u / urg / urgent → urgent; l / lo / low → low; anything else → normal.
Take the project from the session context's ## PKM Project Context: <path> header:
01-Projects/Obsidian-MCP)00-Inbox for unassigned tasksTask 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)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.
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
}
})
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.
Report the created task concisely:
Task created:
<project>/tasks/<kebab-title>.mdPriority:<priority>· Due:<due or none>· Status:pending
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/pkm-exploreUse when researching what the vault knows about a topic — performs graph + semantic exploration with gap analysis to map existing knowledge and find missing connections. Primarily used via the vault-explorer agent. Not for routine session-start context loading (hooks handle that)./pkm-session-endThe capture workflow the pkm-capture agent follows. To capture session work, dispatch the pkm-capture agent in the background; don't run this in the main conversation./pkm-writeUse when creating a new note in the vault: checks for duplicates, picks the template and location, fills it in and links it into the graph.Generated from the plugin's indexed repository (adrianv101/obsidian-pkm-plugin) — no native marketplace selected
npx claudepluginhub p/adrianv101-obsidian-pkmOther plugins' skills for the same job