Commit Graph

11 Commits

Author SHA1 Message Date
pablo-mano a882e74591 Apply optimized description from run_loop eval; add v2 eval set
Description rewritten to emphasize vault action intent over CLI syntax,
with explicit "without this skill Claude has no vault access" framing.
Adds v2 eval set (20 queries built around natural-language vault requests).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 00:37:19 +01:00
pablo-mano de356e8396 Broaden skill description to trigger on vault intent, not just CLI mentions
The skill should activate whenever the user wants Claude to interact with
their Obsidian vault — not only when they explicitly mention the CLI or
terminal. Casual phrases like "add to my daily note" or "search my vault"
are now explicit triggers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 00:18:28 +01:00
pablo-mano c7b35b314d Optimize skill description and add eval set
Replace the broad description with a sharper, action-oriented one that
emphasizes the terminal/script context as the trigger signal and explicitly
lists concrete subcommands. Add eval/ directory with 20 trigger eval queries
and the HTML reviewer used to generate them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 00:10:04 +01:00
pablo-mano b116ad4abf Improve command-reference pointer in SKILL.md
Make the reference blockquote actionable: specify when to read it (specific
flags/formats/subcommands) rather than just announcing it exists.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 23:38:04 +01:00
pablo-mano 986ff986d2 Document three real-world gotchas in v1.3.0 (issue #1)
- property:set stores list values as strings (not YAML arrays)
- eval requires single-line JS; add temp-file workaround
- Multi-vault "Name" command may fail; document fallback

Added Tips 10-12 to SKILL.md, inline callouts to command-reference.md,
two new Troubleshooting rows, and version bump to 1.3.0.

Fixes #1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 23:08:04 +01:00
pablo-mano 4e43a03f8c Add 6 new command groups and expand existing sections
Adds CSS Snippets, Commands & Hotkeys, Obsidian Bases, History,
Workspace & Tabs, and Diff sections to command-reference.md.
Expands existing sections with missing commands (search:context,
daily:path, random, rename, bookmark add, plugins:restrict, theme
management, dev DOM/CSS/CDP tools, restart). Documents all 8 output
format options. Updates SKILL.md command table and count to 130+.
Bumps version to 1.2.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 22:57:21 +01:00
pablo-mano e30c0eb9cc Add template:insert error message to docs
Clarifies exact error returned when no file is active in Obsidian UI:
"Error: No active editor. Open a file first."

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 23:51:30 +01:00
pablo-mano 931a3a9517 Add template:insert warning to SKILL.md tips
Clarifies that template:insert targets the active Obsidian UI file,
not a CLI path. Points to create path= template= as the correct
CLI alternative.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 23:47:06 +01:00
pablo-mano 507ef7149b Apply live-test corrections to SKILL.md
- plugins table: add plugin:uninstall, themes versions, dev:debug
- search: remove matches flag (non-functional in v1.12); note format=json returns path strings
- tasks: correct no-args behavior (returns all tasks); add grep workaround for incomplete-only
- dev: note dev:screenshot requires vault-relative path; add dev:debug on as prereq for dev:console
- vault analytics example: use grep workaround for incomplete tasks
- jq example: fix .[].path -> .[] (search returns strings not objects)
- tips: clarify format=json is search-only; files command does not support JSON output

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 23:41:27 +01:00
pablo-mano 462a38b164 Fix command-reference: correct 6 tested inaccuracies, add undiscovered commands
- files: remove format=json (returns plain text, not JSON)
- search matches: note it does not return match context in v1.12
- search format=json: clarify it returns array of path strings
- tasks: note that no-args returns all tasks (same as tasks all) in v1.12
- plugins versions: note version numbers only shown for community plugins
- plugin:uninstall: add undiscovered command
- themes versions: add undiscovered subcommand, remove nonexistent install/switch
- template:insert: clarify it targets the active Obsidian UI file, not a path
- dev:screenshot: note path must be vault-relative (absolute paths silently fail)
- dev:debug on/off: add undiscovered commands required before dev:console
- dev:console: note requires dev:debug on first
- jq example: fix .[].path -> .[] (search returns strings, not objects)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 23:39:59 +01:00
pablo-mano 47d3d78f66 Restructure to valid Claude Code plugin format
- Move plugin manifest to .claude-plugin/plugin.json (correct location)
- Move SKILL.md to skills/obsidian-cli/SKILL.md (auto-discovered by Claude Code)
- Move references/ inside skill directory to preserve relative paths
- Update README: Claude Code install uses --plugin-dir, fix reference paths

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 22:50:13 +01:00