bengous/agents-skills/github-md-preview

Claude Code and agent skill by bengous/agents-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

USER-INVOKED ONLY. Use only when the user explicitly invokes $github-md-preview, /github-md-preview, or explicitly names this skill. Never invoke implicitly. Preview a local markdown file with real GitHub rendering (official markdown API plus GitHub CSS) served on localhost, without committing or pushing, to check mermaid diagrams, tables, or alerts before pushing. Requires network access to api.github.com and the gh CLI.

Install

npx vskill@latest install bengous/agents-skills/github-md-preview

SKILL.md

The same SKILL.md was published earlier as bengous/agents-skills/github-md-preview.

GitHub Markdown Preview

Render a local markdown file exactly as github.com would, on localhost. The gh-markdown-preview gh extension sends the file to GitHub's official markdown API and wraps the result in CSS extracted from github.com. Live reload included. Nothing is committed, pushed, or leaves the machine except the file content sent to the rendering API.

One-Time Setup

Check, then install if missing:

bash
gh extension list | grep markdown-preview || gh extension install yusukebe/gh-markdown-preview

Only gh is required. No token needed; the markdown API is public but rate limited.

Serve the Preview

  1. Start the server in the background so it survives across turns:

``bash gh markdown-preview README.md --disable-auto-open ``

  1. Read the server output for the URL. Default: http://localhost:3333/. A

taken port increments automatically.

  1. Give the URL to the user. --disable-auto-open stops the tool from

grabbing the browser; drop the flag to auto-open instead.

The server watches the file and live-reloads the page on every save. Leave it running while the user reviews. Stop it when they are done: kill the background task or Ctrl-C.

Options

FlagEffect
--dark-mode / --light-modeForce a color scheme
-p <port>Fixed port (default 3333)
--disable-reloadNo live reload

One served file per invocation. Pipe stdin for one-off snippets:

bash
echo "# Hello" | gh markdown-preview

What This Validates

GitHub renders GFM: tables, task lists, alerts (> [!NOTE]), emoji shortcodes, and `mermaid fences. If a mermaid diagram shows an error block in the preview, the fence syntax is wrong; fix the markdown source and the page reloads. A clean preview means a clean render after push.

Limits and Alternatives

  • Needs network: rendering happens through api.github.com.
  • Unauthenticated rate limits apply; for heavy use, Grip

(joeyespo/grip) offers the same API-based approach with credential support.

  • Fully offline alternatives: ghore (CLI,

mermaid support) and GHMD (VS Code extension).

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/bengous/agents-skills/github-md-preview/badge)](https://verified-skill.com/skills/bengous/agents-skills/github-md-preview)

Something wrong with this skill or its page? Tell us.