md-viewer
/md-viewer
Pokazuje plik Markdown w podglądzie aplikacji Herdr, zaznacza fragmenty i odczytuje, co użytkownik zaznaczył.
- Autor
- ryanthedev ↗
- Repozytorium
- herdr-md ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pokazuje plik Markdown w podglądzie aplikacji Herdr, zaznacza fragmenty i odczytuje, co użytkownik zaznaczył.
Wyzwalacze z opisu
Oryginalny opis (EN)
Show a markdown file to the user in the Herdr desktop app's native viewer pane and point at parts of it — highlight lines or a quoted passage, attach a short note, scroll there — and read back what the user selected in it. Use when walking the user through a .md file (README, plan, spec, notes, docs), answering "where does it say X", reviewing a markdown doc together, when the user asks to open, show, or highlight markdown, or when they refer to "this" / "what I selected" in the viewer. Not for code files or non-markdown text.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 32 linii, 308 słów
Podgląd SKILL.md
---
name: md-viewer
description: Show a markdown file to the user in the Herdr desktop app's native viewer pane and point at parts of it — highlight lines or a quoted passage, attach a short note, scroll there — and read back what the user selected in it. Use when walking the user through a .md file (README, plan, spec, notes, docs), answering "where does it say X", reviewing a markdown doc together, when the user asks to open, show, or highlight markdown, or when they refer to "this" / "what I selected" in the viewer. Not for code files or non-markdown text.
---
# md-viewer
The Herdr desktop app has a native markdown viewer pane (mod `herdr-md`,
`~/.config/herdr-app/mods/herdr-md/`). Drive it with `mdh`:
```sh
mdh open FILE # viewer pane to the right of the focused pane (--down for below)
mdh hl FILE --lines 40-52 --note "why this matters"
mdh hl FILE --text "an exact phrase from the doc" --note "..." --color green
mdh hl FILE --lines 90 --add --color red # --add keeps earlier highlights; default replaces them
mdh focus FILE 2 # scroll to highlight 2
mdh clear FILE
mdh show FILE # current highlights as JSON
```
- **Open first** if the user isn't already looking at the file (`mdh open`), then highlight. A viewer
already showing the file updates live: it tints the matching blocks, puts the note under the last one,
and scrolls to the newest highlight.
- **Lines** are 1-based source lines; highlights snap to whole blocks (paragraph, heading, list item,
table, code block). **`--text`** matches the first block containing the phrase (whitespace- and
case-insensitive) — use it when line numbers may drift.
- **Notes** are markdown, one or two sentences. Colors: yellow (default), green, red, blue, purple, cyan.
- **Several points:** first `hl` without `--add`, the rest with `--add`, so they number 1, 2, 3; the
user steps through them with `n` / `N` in the viewer.
- Pass FILE as an absolute path, or relative to your current directory; it must be the same file the
viewer shows.
- **The person can point back.** In the viewer they select blocks (`V`, `j`/`k`) and press `p`;
the selection turns blue and is labeled "Pinned for Claude". When they say "this", "what I selected", "the part I highlighted" or
similar, run `mdh sel` first: it prints `{file, lines, text}` of their last selection.
- State lives in `~/.cache/herdr-md/`. The viewer only reads files on this Mac.
Wersje
W bazie nie ma innych skilli o nazwie md-viewer.
Migawka bazy z 13.11.2026 · wersja paczki 9f87189d6228 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100claw-mo-up
Uruchamia lub ponownie otwiera przeglądarkę markdown mo dla bieżącego projektu, aby przeglądać dokumentację, gdy mo jest już skonfigurowane. - 100rex-md-viewer
Pokazuje podgląd plików Markdown jako obrazów w sąsiednim panelu Rex, z automatycznym odświeżaniem po zapisie. - 100office-viewer
Otwiera, przeszukuje i wskazuje fragmenty dokumentów Word, Excel, PDF i tekstowych w przestrzeni roboczej użytkownika. - 100v1-md2docs
Zamienia plik Markdown w sformatowany dokument Google Docs, gotowy do publikacji i udostępnienia. - 100claw-mo-open
Otwiera w przeglądarce markdown mo wskazany plik, katalog lub treść przekazaną potokiem, aby szybko podejrzeć jeden dokument. - 100rapier-markdown
Tworzy samodzielny plik Markdown z obrazami, rysunkami i układem, który czyta się poprawnie w każdej przeglądarce plików Markdown.