md-open-local
Open a Markdown file in the local Mac's default app so the user can read it on the machine in front of them.
When to use vs md-view-remote
- md-open-local (this): user is at the Mac →
openthe file in its default viewer. - md-view-remote: user is on remote control (phone/web) → surface the full file text into the conversation.
If unsure which, default to this one only when the user explicitly says "local / 로컬"; otherwise ask which.
Procedure
- Resolve the target file:
- Explicit argument if given.
- Else the Markdown file most recently produced/referenced this session (e.g. a spec you just wrote).
- Open it:
open "<file.md>" - Confirm with the path opened. Do not also dump the contents (that's md-view-remote's job).
Notes
openuses whatever app is registered for.mdon this Mac. Pass-a "<App>"only if the user names a specific app.