render-html
Skill này làm gì
Skill này chuyển các tệp nghiên cứu, như báo cáo ý tưởng và nhật ký rà soát, thành một trang web trau chuốt dạng tệp đơn. Dành cho người cần đọc các báo cáo đó một cách thoải mái.
Khi nào nên dùng
- ✓Khi bạn muốn có một bản xem trên web dễ đọc của báo cáo ý tưởng hoặc nhật ký rà soát.
- ✓Khi một tệp nghiên cứu Markdown khó lướt qua và bạn muốn một trang được trau chuốt.
- ✓Khi bạn muốn chia sẻ một bản tóm tắt nghiên cứu dưới dạng một tệp HTML.
Liên kết skill
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/render-html/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn báo cáo ý tưởng của mình được chuyển thành một trang HTML dễ đọc để tôi chia sẻ.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc tệp Markdown hoặc JSON và bố trí nó thành một trang HTML với thiết kế rõ ràng. Tệp Markdown gốc vẫn là nguồn chính thức.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
/render-html: Markdown → single-file HTML for human reading
Before each reviewer slot, follow Selectable Reviewers: resolve invocation →
.aris/reviewer.json→ Claude Code default (Codex MCP) withreviewer_route.pythrough the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only tobackend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections areREVIEW_UNAVAILABLE. Classify acceptance from actual families/completion/scope. Forward invocation reviewer/model/effort overrides to reviewer-bearing children. Generation workers are unchanged.
Markdown is for writers. HTML is for readers. ARIS workflow nodes write Markdown (canonical, audit-trail-friendly, machine-parseable).
/render-htmlturns selected artifacts into a polished single-file HTML view for the human who actually has to read them. The Markdown stays the source of truth.
When to use this skill
Use /render-html for ARIS artifacts that have a real human reader:
| Artifact | Why HTML helps | Template |
|---|---|---|
idea-stage/IDEA_REPORT.md |
Ranked ideas + pilot signal + scores feel like a decision dashboard, not a flat list | academic |
review-stage/AUTO_REVIEW.md (+ REVIEW_STATE.json) |
Round-by-round score progression + weakness status; pass --state to embed the JSON |
academic |
paper/KILL_ARGUMENT.md (+ KILL_ARGUMENT.json) |
Per-point attack/defense with <details> Q&A cards + red/yellow/green callouts |
academic |
research-wiki/SUMMARY.md (or research-wiki/index.md) |
Cross-entity cockpit: papers / ideas / experiments / claims at a glance | dashboard |
PAPER_PLAN.md (optional) |
Claims-evidence matrix renders better as a polished table than raw MD | academic |
RESUBMIT_REPORT.{md,json} (optional) |
7-state failure-mode ledger | academic or dashboard |
Do NOT use for:
- LaTeX paper output — the final reader-facing artifact is PDF, not HTML.
SKILL.mdfiles — those are internal LLM-facing protocol..aris/traces/*review traces — forensic debug, not human display.- Every Markdown file in your project — only artifacts that benefit from sticky TOC, callouts, math, or score progressions.
Core invariants
- MD / JSON is canonical, HTML is generated view. Edit the source, then re-render. Do not hand-edit the HTML.
- Cross-model review at the artifact boundary (ARIS invariant). Academic-template HTML — used for the artifacts humans actually read (IDEA_REPORT, AUTO_REVIEW, KILL_ARGUMENT, PAPER_PLAN) — is reviewed by the selected reviewer in a fresh context; classify its family from actual identities before being claimed as a finished view. Dashboard-template HTML (cockpit / debug views) skips review by default but accepts
--reviewto force it. See § HTML Review Gate below. - Drift detection. Every rendered HTML embeds the source path, SHA256, and generation timestamp in
<meta>tags AND in the visible page header. If the HTML and source diverge, the meta tells you which version of the source produced it. - Single-file output. No build system, no separate CSS, no
node_modules. Just one.html. - CDN-friendly default,
--offlinefallback. MathJax 3 and highlight.js load fromcdn.jsdelivr.netby default. Pass--offlineto skip both — math will appear as raw$x$, code blocks won't get syntax highlighting, but everything stays readable. - Pure stdlib helper.
render_html.pyuses onlyre,html,hashlib,json,datetime,pathlib,argparse,sys. No pip install required. - Defense-in-depth XSS sanitization. The helper strips
<script>/<style>/<iframe>/<object>/<embed>/<form>/<input>/<button>/<link>/<meta>/<base>tags, allon*event-handler attributes (onclick,onload, …), and rewritesjavascript:/vbscript:/data:href/src/action schemes to#blocked-unsafe-url:. ARIS workflow artifacts should not contain these in the first place, but the sanitizer is the safety net in case an LLM hallucinates one. Markdown text content is HTML-escaped separately and never reaches the sanitizer.
Tool Location
Arch C self-contained: the canonical implementation lives at skills/render-html/scripts/render_html.py (this SKILL's own `scrip
Câu hỏi thường gặp
HTML có thay thế tệp Markdown không?
Không. Markdown vẫn là nguồn chính thức, còn HTML là bản xem để đọc.
Những tệp nào hoạt động tốt?
Các báo cáo như báo cáo ý tưởng, nhật ký rà soát tự động và trạng thái wiki nghiên cứu là ví dụ tốt.
Đầu ra có nhiều hơn một tệp không?
Không. Đầu ra là một tệp HTML duy nhất.
Chi tiết
Mô tả gốc của tác giả
Render an ARIS Markdown / JSON artifact (IDEA_REPORT, AUTO_REVIEW, KILL_ARGUMENT, PAPER_PLAN, research-wiki state, etc.) into a single-file HTML view designed for human reading. Use when the user says \"渲染 HTML\", \"出一份 HTML 报告\", \"render html\", \"make this readable\", \"export to html\", or wants a polished web-rendered view of a Markdown artifact.
Độ phổ biến
- Sao GitHub
- 18k
- Vị trí xếp hạng
- #10579
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
ablation-planner
18kGiúp agent của bạn lên kế hoạch thí nghiệm ablation cho một bài báo, chọn các thí nghiệm mà người phản biện có khả năng yêu cầu khi kết quả chính đã ổn.
alphaxiv
18kCho phép agent của bạn đọc nhanh một bài báo nghiên cứu bằng các bản tóm tắt AlphaXiv, với toàn văn hoặc mã LaTeX dự phòng, từ liên kết arXiv hoặc ID.
analyze-results
18kGiúp agent của bạn phân tích kết quả thí nghiệm học máy, so sánh các lần chạy với một baseline, và biến các con số thành phát hiện rõ ràng và bước tiếp theo.
arxiv
18kCho phép agent của bạn tìm bài báo trên arXiv, đọc chi tiết của chúng và lưu PDF vào thư viện của bạn theo một chủ đề nghiên cứu.
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.