link-task
Skill7 starsChanged 49 days agoMITView on GitHub
Creates a two-way link between a task in your task manager and a vault note: a deep link to the task added to the note, and a link back to the note appended to the task's notes field. Trigger: /link-task, or asking to link a specific task to a specific note (or vice versa).
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- end-taskSkill
- end-the-daySkill
- log-completed-tasksSkill
- pick-meetings-to-prepSkill
- prep-meetingSkill
- search-mailSkill
- setupSkill
- start-the-daySkill
- suggest-brag-itemsSkill
- surface-stale-tasksSkill
- update-tasksSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Identify the task: If you haven't given an exact match, search your task manager's export or search feature for a name match and confirm …
- Very specific: line 46
If the note has an "Open tasks" section, add a bullet there: - <task title>.
- Distinctive: line 48
If it doesn't, create one following that note's existing structure - don't invent a new section name if a note already uses "Open tasks" …
- Distinctive: line 60
Always append after existing notes with a blank line separator - never overwrite what's already there.
- Distinctive: line 70
Only do this when explicitly asked for this specific task/note pair, right now - never infer permission from a past request, never do it …
- Very specific: line 74
Only ever touch a task's notes field (append-only) or, if separately asked, its title.
- Distinctive: line 77
Never reorganise or prioritise tasks - what happens today/this week stays entirely the user's call.
- Distinctive: line 79
If the task or note can't be found or the match is ambiguous, ask rather than guessing.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Link Task
Purpose
Lets you jump straight from a note to the exact task it relates to, and back
again, without duplicating task tracking in your vault. This is a narrow,
per-request exception to the general "read-only against your task manager"
stance the other task-manager-integration skills in this repo take - see the
guardrails below before using it, and see start-the-day's "Why a separate
task manager at all" section for the read-only-by-default reasoning this
skill deliberately breaks from, just for this one action, only on request.
The example below is written against Things3 (the author's setup, macOS) -
it needs a task manager that supports both a deep link scheme (something
like things:///show?id=...) and a way to programmatically read/append to a
task's notes field. Adapt the mechanics to whatever your task manager
exposes; the pattern (identify the task, build both link forms, add one to
the note, append the other to the task, confirm both sides) carries over.
Trigger
/link-task, or naming a task and a note you want linked together.
Process
- Identify the task. If you haven't given an exact match, search your task manager's export or search feature for a name match and confirm which task is meant before touching anything.
- Get the task's ID or deep-link identifier from your task manager (for
Things3 on macOS:
osascript -e 'tell application "Things3" to return id of (first to do whose name is "<exact name>")', then build the link asthings:///show?id=<id>). - Identify the target note and its vault-relative path. Build the
Obsidian link as
obsidian://open?vault=<vault name>&file=<url-encoded path, no .md>. - Add the task link to the note:
- If the note has an "Open tasks" section, add a bullet there:
- [<task title>](<task deep link>). - If it doesn't, create one following that note's existing structure - don't invent a new section name if a note already uses "Open tasks" elsewhere.
- If the note has an "Open tasks" section, add a bullet there:
- Append the Obsidian link to the task's notes field (for Things3):
Always append after existing notes with a blank line separator - never overwrite what's already there. If your task manager only supports overwriting the notes field wholesale rather than appending, read the current value first and reconstruct it with the new link added, rather than risk clobbering it.osascript -e 'tell application "Things3" set t to (first to do whose id is "<id>") set oldNotes to notes of t set newNotes to oldNotes & return & return & "<obsidian link>" set notes of t to newNotes end tell' - Confirm both sides worked by reading back the note edit and the task's notes field, and tell the user what was added and where.
Guardrails
- Only do this when explicitly asked for this specific task/note pair, right now - never infer permission from a past request, never do it proactively while doing other work (e.g. don't auto-link every task mentioned during meeting prep).
- Only ever touch a task's notes field (append-only) or, if separately asked, its title. Never touch status, due date, scheduling, list/area/ project membership, or tags, and never mark anything done.
- Never reorganise or prioritise tasks - what happens today/this week stays entirely the user's call.
- If the task or note can't be found or the match is ambiguous, ask rather than guessing.
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.

