/openmarkdown:using-openmarkdownfrom openmarkdown
Guides interaction with OpenMarkdown: opening/revealing documents, reading context, editing notes with content-anchored edits, and handling running/degraded states. Useful when the user has OpenMarkdown installed.
Ships in openmarkdown. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
OpenMarkdown is the user's markdown app. Files are shared memory between you and the user; the app renders them. This SKILL is the thin core: the judgment for when to reach for OpenMarkdown and how to read its states. The deep per-workflow playbooks live in references/ and are named below — pull the one you need when you enter that workflow.
Ownership, so nothing drifts: the tool descriptions own the contract (parameters, return shapes, state definitions); this skill owns the how-and-when (thin core + references); each workflow's steps are spelled out in exactly one reference, never restated across the tool description, this core, and the commands.
Right after the plugin/MCP is first installed, your job is small: open the Welcome note the app already seeded (~/OpenMarkdown/Welcome.md) and hand the user into it — you are not authoring an onboarding, the app did that on first launch. Follow references/first-run-guide.md — the consent gate, opening the seeded Welcome (never create your own, never open the user's oldest file to stand in for it), the handoff line, and demoing a section only when the user asks. Ask once before you open anything (unless the install request already said to open a note).
open_file it (or reveal straight to the section that matters). Don't make them ask "where is it?".open_file it: it opens read-only in the viewer beside their document, never as a tab. It must exist (an image is never created); reveal with a heading does not apply to it.reveal with that heading, so their view follows the discussion.get_context first, before asking them.references/write-back.md (content-anchored edit_note edits into the live buffer, not whole-file rewrites).list_files or search. They cover this computer (the folders OpenMarkdown knows) and, when the user is signed in to OpenMarkdown Anywhere, their cloud copy; each entry says where it is. Pass a path back exactly as you got it — a cloud-only note is cloud:<path> — and the server decides where it goes; never pick between these tools and any cloud_* tools yourself: on this computer, these are the ones to use. Several notes match? Prefer the one marked open: true (active: true first) — it is in front of the user; ask only if that still leaves more than one. New note → create_note.my_account.open_folder.references/watch-loop.md (the co-edit inbox loop, @agent markers). Never enter a watch on your own initiative.references/intercom.md (the message loop and the rules for what you say back). Never enter it on your own initiative.run_app_command, but see the escape-hatch discipline below.running: false — the app is closed. Say so if relevant; open_file/reveal will launch it when you actually have something to show. Never call get_context in a loop hoping it comes up.degraded: true — almost always the app is tray-resident with no window at all. The snapshot is the user's last-known state: lead with that framing and report it in the past tense ("the last thing you had open was…"), never assert it as what is open right now — the tabs it lists may have been closed since. Recovery means opening a window: open_file the relevant document yourself, or ask the user to open one; "bring the window to the front" is meaningless when none exists. Don't retry — nothing improves until a window opens.NOT_ON_THIS_COMPUTER — the note is neither on this computer nor reachable in the cloud copy. Pass on the hint it carries (signing in to Anywhere) if there is one; don't retry or guess another path.NO_WINDOW vs NOT_RUNNING from run_app_command — running-without-a-window vs not running at all. Either way the command had no live UI; if the action still matters, open_file something relevant first (that creates a window), then retry once.Call get_context and pick an id from availableCommands before any run_app_command. Never guess command ids — a typo'd id is indistinguishable from a missing feature.
openmd fails (command not found): the CLI isn't installed. Point the user to OpenMarkdown's settings → "Install command line tool". Don't retry until they confirm.get_context returns a version older than what a tool or field mentioned here seems to assume, and calls are failing oddly: the user's app is older than this skill — suggest updating OpenMarkdown, and work with the tools that do respond.get_context), reveal beats a second open_file — and for small edits to a file they already have open, do nothing; the app live-reloads.Capabilities that may exist in newer versions (forms, diff review) are documented in references/ when they land — only rely on a tool if it actually appears in your tool list.
references/attachments/command-palette.png (opens in a new tab)references/attachments/window.png (opens in a new tab)references/first-run-guide.md (opens in a new tab)references/intercom.md (opens in a new tab)references/watch-loop.md (opens in a new tab)references/welcome-template.md (opens in a new tab)references/write-back.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub openmarkdown-dev/openmarkdown-releases --plugin openmarkdownOther plugins' skills for the same job