denolfe/dotfiles/viewmd
Claude Code and agent skill by denolfe/dotfiles
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when the user wants to preview or read a rendered markdown file in an adjacent tmux pane (via the viewmd CLI) - e.g. to view a plan, doc, README, or markdown you just generated side-by-side while continuing to work in the current pane.
Install
npx vskill@latest install denolfe/dotfiles/viewmdSKILL.md
View Markdown in a tmux Pane
Render a markdown file with the viewmd TUI in a split tmux pane, keeping focus on the current pane.
Steps
- Resolve the file.
- If the user gave a path, use it.
- If they named/described content you generated but haven't saved, write it to a file first.
- If nothing was passed, use the conversation: take the most recent substantial markdown-style output you produced (a plan, summary, doc, table, code-heavy answer) and write it verbatim to
/tmp/viewmd-<slug>.md. If the last output wasn't markdown or there's nothing suitable, ask what to view instead of guessing. - Save to a real path when the user wants to keep it, otherwise
/tmp/viewmd-<slug>.md.
- Run the helper:
``bash <skill-directory>/viewmd-pane.sh "<file.md>" ``
- Report the printed result (which pane it opened/reused) in one sentence. Do not steal focus or read the pane back.
Behavior
- Resolve this skill's directory as exposed by the host before running the
bundled viewmd-pane.sh helper.
- Runs
viewmd <file>in a pane to the right; focus stays where you are. - Target order (all within the caller's window):
- An existing viewmd pane (marked
@viewmd) that is idle or still running viewmd - reused. If that pane has since been used to run your own command, its claim is dropped and it is left alone. - Else an idle sibling pane - a bare shell with nothing running - taken over. Preferring one to the right.
- Else a new pane is split off.
- Never touches: the caller's own pane, panes running an app (editor, TUI, another agent), or any shell with a command running - including a previously-marked pane you have reused. Only a bare, idle shell (or our own viewer) is replaced.
- Not in tmux: the script prints the plain
viewmd "<file>"command to run manually instead of splitting.
Notes
viewmdis interactive (quit withq); it must run in its own pane, never inline in this session.- Only pass one file. For a different doc, invoke again.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/viewmd/SKILL.md
Popularity
- Repository stars
- 87
- Repository forks
- 7
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/denolfe/dotfiles/viewmd)