Add add-obsidian-task skill for Claude Code#2061
Closed
izumin5210 wants to merge 6 commits intomainfrom
Closed
Conversation
Add a Claude Code skill for creating Obsidian task notes with proper project/context tags and metadata via the obsidian CLI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pipe expressions in `!` commands are not expanded correctly. Move them to standalone scripts so the skill can reliably pre-embed project and context tag lists. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
${SKILL_DIR} does not exist as a string substitution variable in Claude
Code skills. The official pattern for referencing bundled scripts is to
use ~/.claude/skills/<name>/scripts/ paths with tilde expansion.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The ! dynamic context commands and Bash tool calls to bundled scripts require explicit permission. Add allowed-tools to the skill frontmatter to grant access to the skill's own scripts directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
~/.claude/skills/add-obsidian-task/) for creating Obsidian task notesSKILL.mduses!commands to pre-embed available project/context tags at skill load timescripts/add-task.shhandles deterministic note creation, tag assignment, andtask_review_datefor planned tasksDetails
The skill workflow:
AskUserQuestionadd-task.shwhich creates the note viaobsidian unique, sets tags, and optionally sets review dateTest plan
plannedstatus setstask_review_dateto today + 7 daysicebox/in-progressdo not settask_review_date🤖 Generated with Claude Code