markdown ファイルを mo でプレビューし chroma で開く。ユーザーが「mo で開いて」「/mo」等と明示的に指示したときに使う。
Scanned 9/5/2026
Install to Claude Code
npx -y skills add 844196/dotfiles --skill mo --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Mo?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/844196-dotfiles-dotfiles)More formats (shields.io, HTML) on the badges page.
---
name: mo
description: markdown ファイルを mo でプレビューし chroma で開く。ユーザーが「mo で開いて」「/mo」等と明示的に指示したときに使う。
allowed-tools:
- Bash(git rev-parse --show-toplevel)
- Bash(mo *)
- Bash(chroma *)
---
# mo で markdown を開く
対象の markdown ファイルを `mo` でプレビューし、`chroma` でブラウザに開く。nvim の `<Leader>mcO` (`open_by_mo_and_chroma`) と同じ動作を Claude Code から行うためのスキル。
## 手順
1. 開く markdown ファイルを決める。
- 引数が指定されていればそれを使う: $ARGUMENTS
- 指定がなければ、直前の会話で作成・編集した markdown ファイルを推測する
2. target を決める。
```bash
git rev-parse --show-toplevel
```
3. mo でプレビューを起動する (ブラウザは自動で開かせず URL だけ受け取る)。
```bash
mo --json --no-open --target "<手順2の target>" "<手順1のファイルパス>"
```
4. 出力 JSON の `files` から、手順1で渡したファイルパスと一致するエントリの `url` を取り出す。
5. そのURLを chroma で開く。
```bash
chroma "<手順4のurl>"
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!