render-html
Skill by wanshuiyin
Render ARIS Markdown and JSON artifacts into a single HTML file for human reading. It is for researchers who need to review idea reports, auto reviews and kill arguments.
Install render-html
Built from the published package, never by AI.
git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/render-html ~/.claude/skills/render-htmlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/render-html ~/.gemini/antigravity-cli/skills/render-htmlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
render-html is a skill that turns selected ARIS workflow artifacts, such as IDEA_REPORT, AUTO_REVIEW, KILL_ARGUMENT, PAPER_PLAN and research-wiki summaries, into a single-file HTML view. The Markdown or JSON source stays canonical, and the HTML is a generated view that should be re-rendered rather than hand-edited. Each output embeds the source path, SHA256 and generation timestamp for drift detection.
The skill offers an academic template with a sticky table of contents, callouts and Q&A cards, and a denser dashboard template. A pure Python standard library helper does the conversion. By default MathJax 3 and highlight.js load from a CDN, and the --offline flag skips them. The helper strips script, style, iframe and similar tags and blocks javascript and data URL schemes. Academic renders are reviewed by a cross-model reviewer by default.
Written from the project's SKILL.md and checked against it.
What it can do
- Single-file HTML renderingConverts an ARIS Markdown or JSON artifact into one HTML file with no separate CSS or build step.
- Academic templateProvides a sticky table of contents, serif body, callouts, tables, math and Q&A cards for long-form reports.
- Dashboard templateProvides a grid layout with metrics cards for cockpit-style views such as research-wiki summaries.
- Sidecar JSON embeddingEmbeds a state or sidecar JSON file, such as REVIEW_STATE.json, in the rendered page using --state or --json.
- Drift detectionEmbeds the source path, SHA256 and generation timestamp in meta tags and the visible page header.
- Offline modeSkips the CDN scripts with --offline so the page stays readable without network access.
- XSS sanitizationStrips script, iframe, form and similar tags, on* event attributes, and javascript, vbscript and data URL schemes.
- Cross-model review gateRuns a fresh reviewer pass on academic renders to check information fidelity, structure, callouts and escaping.
What you need
- Python 3 to run the render_html.py helper
- Network access to cdn.jsdelivr.net for MathJax and highlight.js, unless --offline is used
- A reviewer backend for the default review step on academic renders, or --no-review
Try asking
- Render idea-stage/IDEA_REPORT.md to HTML with the academic template
- Make AUTO_REVIEW.md readable and embed REVIEW_STATE.json
- Export research-wiki/SUMMARY.md as a dashboard HTML view
Good to know
- Generated HTML is a view, so edit the Markdown or JSON source and render again
- With --offline, math appears as raw text and code blocks get no syntax highlighting
- Academic renders run the review gate by default unless --no-review is passed
- Not intended for LaTeX output, SKILL.md files or .aris/traces review traces
Security check
D- Contains invisible or direction-changing characters that can hide textIn
skills/render-html/scripts/render_html.py - Allowed to use Write without limitsIn
SKILL.md
Checked automatically: skills/render-html/SKILL.md, skills/render-html/scripts/render_html.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(*)ReadWritemcp__codex__codexmcp__antigravity__antigravitymcp__antigravity__antigravity-replymcp__grok__grokmcp__grok__grok-replymcp__claude-review__reviewmcp__claude-review__review_replymcp__claude-review__review_startmcp__claude-review__review_reply_startmcp__claude-review__review_status
-
SKILL.md22 KB -
scripts/render_html.py40 KB -
scripts/templates/academic.html21 KB -
scripts/templates/dashboard.html8 KB
Alternatives to render-html
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
render-html: common questions
Which files can render-html convert?
The source names IDEA_REPORT, AUTO_REVIEW, KILL_ARGUMENT, PAPER_PLAN, RESUBMIT_REPORT and research-wiki summaries. It also accepts JSON-only input, which is wrapped in a code block.
Does the HTML need internet access?
By default MathJax 3 and highlight.js load from cdn.jsdelivr.net. Passing --offline skips both, and the page remains readable with plain text math and code.
Can I edit the generated HTML directly?
No. The source says the Markdown or JSON is canonical and the HTML is a generated view, so you should edit the source and render again.
How do I install render-html?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is render-html free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is render-html safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade D (contains invisible or direction-changing characters that can hide text). Review the code before you install. How grades work.
What are alternatives to render-html?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
