preview
Installation
SKILL.md
Preview
Use the /preview command to render and open artifacts.
Commands
| Command | Description |
|---|---|
/preview |
Preview the most recent artifact in the browser |
/preview --file <path> |
Preview a specific file |
/preview-browser |
Force browser preview |
/preview-pdf |
Export to PDF via pandoc + LaTeX |
/preview-clear-cache |
Clear rendered preview cache |
Fallback
If the preview commands are not available, use bash: