Obsidian CLI Learnings and Plan
Date: February 19, 2026
This document captures what we learned from Obsidian's CLI docs and local CLI checks, then maps those learnings into a concrete plan for AgenticFlow CLI docs and product hardening.
External Reference Studied
Obsidian CLI docs:
https://help.obsidian.md/cli
Local Trial Results (This Environment)
Commands tested:
command -v obsidianobsidian --helpobsidian helpopen -g -u 'obsidian://open'
Observed:
obsidianbinary is not inPATHin this environment.obsidian --helpandobsidian helpfail with command-not-found.URI launch command succeeds on macOS (
open ...), which confirms launcher-level behavior can differ from binary CLI availability.
Implication:
CLI docs must include environment checks and OS-specific troubleshooting early, not as an afterthought.
What Obsidian Does Well (Reusable Patterns)
Starts with clear prerequisites and caveats.
Uses task-first structure: install, quick start, examples, command reference, troubleshooting.
Uses compact, copy-paste shell examples instead of long prose.
Separates everyday user actions from developer-oriented actions.
Documents instability/early-access caveats explicitly.
How We Should Mirror This for AgenticFlow CLI Docs
Lead with scope and boundaries:
public API key flow,
what is stable today,
what is currently limited.
Keep command examples executable and short.
Provide a single command model section (
operation_id,path-param,query,body,--dry-run,--json).Publish troubleshooting by environment:
missing CLI in
PATH,missing API key,
stale operation IDs vs OpenAPI snapshot.
Delivery Plan
Phase 1: Contract Cleanup
Generate high-level command mappings from current OpenAPI snapshot (avoid hardcoded stale IDs).
Add a CI check that fails if mapped operation IDs are not present in
openapi.json.
Phase 2: Reliability and Coverage
Keep
call,ops,catalogas canonical surfaces.Add automated smoke tests for top public runtime flows (health, node-types, anonymous workflow run/status, anonymous agent stream metadata paths).
Phase 3: Documentation Quality
Maintain one CLI hub and one capabilities page with strict public-only examples.
Add an explicit "Known Limitations (dated)" section to prevent stale assumptions.
Keep docs examples synchronized to tested commands.
Phase 4: Release Gate
Before each CLI release:
ops list --public-onlyreturns expected count/signature.high-level wrappers pass mapping validation.
docs commands are re-smoke-tested and still valid.
release note includes any public contract changes.
Immediate Actions Completed
Added CLI docs hub and capability page under
docs/09-developers/cli/.Linked docs for developer navigation.
Documented current limitation window with an explicit date.
Last updated