Skip to content

Add add-obsidian-task skill for Claude Code#2061

Closed
izumin5210 wants to merge 6 commits intomainfrom
izumin5210/add-obsidian-task-skill
Closed

Add add-obsidian-task skill for Claude Code#2061
izumin5210 wants to merge 6 commits intomainfrom
izumin5210/add-obsidian-task-skill

Conversation

@izumin5210
Copy link
Copy Markdown
Owner

Summary

  • Add a user-level Claude Code skill (~/.claude/skills/add-obsidian-task/) for creating Obsidian task notes
  • SKILL.md uses ! commands to pre-embed available project/context tags at skill load time
  • scripts/add-task.sh handles deterministic note creation, tag assignment, and task_review_date for planned tasks

Details

The skill workflow:

  1. Generates title and body from user input
  2. Prioritizes project/context candidates based on current directory and task content
  3. Asks user to select context, project, and status via AskUserQuestion
  4. Executes add-task.sh which creates the note via obsidian unique, sets tags, and optionally sets review date

Test plan

  • Verify skill appears in Claude Code skill list
  • Trigger with "タスクを追加して" and confirm workflow runs
  • Confirm planned status sets task_review_date to today + 7 days
  • Confirm icebox / in-progress do not set task_review_date

🤖 Generated with Claude Code

izumin5210 and others added 6 commits February 21, 2026 19:36
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>
@izumin5210 izumin5210 closed this Apr 11, 2026
@izumin5210 izumin5210 deleted the izumin5210/add-obsidian-task-skill branch April 11, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant