victorzhuk/skills

z-obsidian-cli

Capture, read, and search Obsidian notes through the installed official CLI or a verified filesystem fallback.

Vedi sorgente

Come usare

  1. Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
  2. Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
  3. Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/victorzhuk/skills --skill z-obsidian-cli

Prima di iniziare

  • L’installazione non include abbonamenti, quote API o accesso ai file.
  • Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

Obsidian CLI

Use the installed official Obsidian CLI for authorized vault work. Confirm its version and command help; app state and CLI behavior can differ by release.

Resolve the target

  1. Use the caller's explicit vault.
  2. Otherwise read an existing project vault binding such as .obsidian-vault.
  3. If the current directory is inside a vault, verify that identity.
  4. Resolve remaining ambiguity before writing.

Current official help supports vault=<name> and vault=<id>, placed before the command. Prefer a verified ID when names collide. Do not assume a universal environment variable selects a vault.

Check availability

Inspect whether the app and CLI are available. Use a read-only command against the intended vault before writing.

Empty output alone does not prove that a vault is closed or empty. Check command status, installed help, app state, and a known existing note. A historical silent-output defect is not a permanent CLI contract.

If the app cannot service the target, use direct file access only when the exact vault path and intended operation are established. Do not use an ambiguous basename match. Registry locations vary by platform; discover the actual configuration and compare path basenames literally, not through an unescaped regex.

Commands

Verify these forms with the installed help:

OperationShape
Read exact pathobsidian vault=V read path=folder/note.md
Searchobsidian vault=V search query="term" format=json
Append noteobsidian vault=V append path=folder/note.md content="text"
Daily appendobsidian vault=V daily:append content="text"
Create exact fileobsidian vault=V create path=folder/note.md content="text"
Set propertyobsidian vault=V property:set name=status value=draft type=text path=note.md

Replace V and paths with verified values. A file= argument uses link-style name resolution; path= selects an exact vault-relative file. Omitting both may target the active note, so specify a target for unattended edits.

Pass content as a safely quoted argument. Double quotes alone do not prevent shell expansion of dollar expressions or backticks. Prefer an argument-vector interface when available.

Background capture

Omit options that open notes or tabs unless the caller wants that. Preserve the existing daily-note folder, date format, template, and plugin convention.

A filesystem append does not run app templates or plugin hooks. When these are part of the requested result, use the running app or report that prerequisite.

For exact text search, use the host's file search over the verified vault path. Obsidian search follows its own query/index semantics.

Do not

  • Guess a vault or silently choose among matching names.
  • Treat empty stdout as a complete diagnosis.
  • Overwrite or delete a note before inspecting it and confirming the intended scope.
  • Reconstruct daily-note placement from an assumed date format.
  • Expose note content through unsafe shell interpolation.

Verify

Read the changed note through the intended access path. Confirm vault identity, file path, preserved content, and requested update. Report any template/plugin behavior that could not run.

Official Obsidian CLI.

dallo stesso repository

Altri Skills

Tutti gli Skills
victorzhuk
Community

z-accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

installazioni
1
GitHub Stars
0
Aggiornato
22 ott
victorzhuk
Community

z-algo-core

DS/algorithm selection judgment for production code, not competitive tricks — hash map for membership/dedup, slice+sort beats a tree until proven, heap for top-k, two-pointer/sliding-window for scans, BFS/DFS/topo-sort for dependency shapes. Triggers on Big-O, hash map vs tree. Does not cover profiling/tuning; see [[z-go-performance]].

installazioni
1
GitHub Stars
0
Aggiornato
22 ott
victorzhuk
Community

z-bdd

BDD acceptance contracts for humans and agents across UI, API, and CLI products. Use for Gherkin, Given-When-Then, E2E acceptance, or scenario evidence. Define repeatable scenarios with explicit assertions and required outcomes. Test selection belongs to [[z-testing-strategy]]. Go harness wiring belongs to [[z-go-bdd]].

installazioni
1
GitHub Stars
0
Aggiornato
22 ott
victorzhuk
Community

z-codegraph

Use an existing CodeGraph integration for call graphs, impact analysis, affected tests, or route discovery. Discover installed tools and index freshness; follow host LSP precedence and verify current source. Do not initialize indexes without user authorization.

installazioni
1
GitHub Stars
0
Aggiornato
22 ott