OKF: Convert Wikilinks
okf_convert_linksRewrites wikilinks in a Markdown vault to OKF bundle-root-absolute markdown links, preserving the link graph by resolving indexed targets and skipping unresolved ones.
Instructions
Rewrite wikilinks as OKF bundle-root-absolute markdown links.
A migration transform (Open Knowledge Format): converts every
resolvable [[wikilink]] in the vault (or one folder) into
[text](/path/note.md), OKF's recommended link style. Only links
whose target is indexed are converted, so the link graph is
preserved exactly — a converted link points at the same note the
wikilink resolved to. Unresolvable wikilinks are left untouched and
counted as skipped; attachment embeds are not links. Each changed
note is written through the write path (git commit if configured).
Re-running is safe: converted links are plain markdown and are not
touched again. Waits up to 60s for prior index writes; refresh
errors abort before conversion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Restrict to this folder subtree (e.g. "guides"). Omit to convert the whole vault. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||