Home / Docs / Adopting ODS

Adopting ODS

stable profile: note

Enriching existing Markdown repositories progressively without migration overhead.


Adopting ODS

ODS adoption is enrichment, never migration. Plain Markdown is already 100% valid (Level 0).

[!TIP] Zero-Effort Adoption in 10 Seconds: Run ods setup . once. ODS automatically adopts existing files, starts the OS background service (ods serve), and indexes your workspace. From that moment on, the background service and your AI assistant (ods skill) maintain frontmatter, indexes, and links automatically with zero extra effort from you.

Empty tree? Use Quickstart Guide first.


Installing Tools Does Not Rewrite Your Repo

Installing ods does not change Markdown until you opt in. Plain files stay Level 0.

GoalCommand
Turn ODS onods init . or ods init . --adopt
Turn ODS off (dry-run)ods disable .
Apply leave / strip metadataods disable . --write

Start in Place

StepAction
1ods setup — check/update path and create or repair root ods: / ods-cli:
2ods init . — explicit opt-in alternative for root ods: + indexes
3Optional: ods init . --adopt or ods adopt --write — draft profile + status: draft
4Root ignore: for code trees if needed, then ods index
5Add depends / related where you know relationships
6ods setup or ods start . — ensure background service
7CI: ods index --check + ods lint

Leaving ODS

ods disable .                 # dry-run
ods disable . --write         # strip ODS keys; keep prose
ods disable . --write --remove-indexes

Remove ods lint / ods index --check from CI if you no longer want enforcement. Stop any service: ods stop --unregister ..


Tooling Surface

CommandBehavior
ods setupCheck updates, workspace state, service, and doctor
ods initCreate/ensure root index.md + ods:
ods adopt / --writeDry-run or draft minimal frontmatter
ods index / --checkGenerate indexes / CI stale check
ods lintValidate
ods start / stopBackground watch service
ods watchForeground automation
ods mvOffline move + rewrite
ods syncReconcile git-tracked renames
ods fmtNormalize frontmatter/body spacing
ods tags / findInspect tags and find tagged Documents
ods exportOptional AI graph file
ods sharePublish a share-filtered directory to git-publish yourself
ods graph / contextEdges / reading list

Practical rules:

  • Generated index child lists beat hand-maintained maps.
  • With ods start or ods watch, renames keep refs and indexes current.
  • Markdown language servers are optional and not required for ODS.

Progressive Enrichment

WhenAdd
Day 0Plain Markdown
Day 1Root index.md + ods: via ods init
Earlyprofile + status
As you linkdepends / related
When skimmingdescription
Before agentscontext / ods export
Full trustLevel 3 CI

Full catalog: Features.


Next