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>
This commit is contained in:
pablo-mano
2026-02-27 23:47:06 +01:00
parent e5c8b8e223
commit 931a3a9517
2 changed files with 2 additions and 0 deletions
@@ -210,6 +210,7 @@ obsidian sync:restore path="important.md" version=3 # Rollback
6. **Stderr noise** — GPU/Electron warnings on headless are harmless; filter with `2>/dev/null`.
7. **`daily:prepend`** inserts content after frontmatter, not at byte 0.
8. **Use `eval`** to run arbitrary JavaScript against the Obsidian API (`app.*`).
9. **`template:insert`** inserts into the currently active file in the Obsidian UI — it does not accept a `path=` parameter. To create a file from a template via CLI, use `obsidian create path="..." template="..."` instead.
## Troubleshooting