Generate self-contained HTML artifacts when output is too dense for markdown chat — comparisons, plans, status reports, post-mortems, flowcharts, explainers, code/PR reviews, kanban boards, config editors, prompt tuners. Includes a curated 17-template library from Thariq Shihipar (Anthropic Claude Code team), 4 trading-domain renderers (backtest comparison, risk dashboard, signal audit, market regime), and 3 spec renderers (Kiro requirements/design/tasks auto-detected). Companion HTML for project .md files via PostToolUse hook and /gen-html slash command. Interactive validation artifacts with clipboard-based response channel (multi-item decision/checkbox/select/text). Self-contained outputs land in .claude/_html/artifacts/.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Modifies files
Hook triggers on file write and edit operations
Generate self-contained HTML artifacts when output is too dense for markdown chat. Curated library based on Thariq Shihipar's "Unreasonable Effectiveness of HTML" (Anthropic Claude Code team).
| When you ask for | Plugin generates |
|---|---|
| "Compare 3 auth options" | compare-<ts>.html (Thariq template 02) |
| "Implementation plan for X" | plan-<ts>.html (Thariq 16) |
| "Status report this week" | status-<ts>.html (Thariq 11) |
| "Post-mortem of incident Y" | incident-<ts>.html (Thariq 12) |
| "Flowchart of what happens when..." | flow-<ts>.html (Thariq 13) |
| "Explain how X works" | feature-explainer-<ts>.html (Thariq 14) |
| "Explain concept Y" | concept-explainer-<ts>.html (Thariq 15) |
| "Review this PR" | pr-review-<ts>.html (Thariq 03) |
| "Triage of open issues" | triage-<ts>.html (Thariq 18) |
| "Validate these N items" (5+) | interactive-<ts>.html with controls + clipboard response |
Edit .kiro/specs/<feat>/requirements.md | requirements.html (spec renderer, auto-detected) |
Edit any project .md | Companion HTML in .claude/_html/<same-path>.html |
Trading-domain renderers also included: backtest-comparison,
risk-dashboard, signal-audit, market-regime.
/plugin marketplace add fernandoxavier02/FX-studio-AI
/plugin install html-artifacts
The skill html-artifacts should now appear in your skills list. The slash
command /gen-html should be available. The PostToolUse hook fires
automatically when you edit a .md file under .claude/skills/,
.claude/rules/, project CLAUDE.md, */knowledge_base/**, or
.kiro/specs/**.
markdown, PyYAML, Jinja2, pydantic installed
(pip install markdown PyYAML Jinja2 pydantic).claude/_html/ (gitignored — add to your .gitignore)Edit any of these files and the hook regenerates the corresponding
.claude/_html/<same-path>.html:
.claude/skills/**/*.md.claude/rules/*.mdCLAUDE.md (and */CLAUDE.md under subprojects)*/knowledge_base/**/*.md.kiro/specs/**/*.mdOpen with your OS's default browser:
start .claude\_html\CLAUDE.htmlopen .claude/_html/CLAUDE.htmlxdg-open .claude/_html/CLAUDE.html/gen-html # full regen (5 categories)
/gen-html --skills # only skills
/gen-html --specs # only .kiro/specs
/gen-html --kb # only knowledge_base
/gen-html --claude # only CLAUDE.md files
/gen-html --rules # only .claude/rules
/gen-html <path> # single file
from html_artifacts.src.artifact_engine import ArtifactEngine
from pathlib import Path
engine = ArtifactEngine()
# Tabular artifact
path = engine.render("table", {
"title": "Backtest comparison",
"columns": [{"key": "tf", "label": "Timeframe", "type": "str"},
{"key": "pnl", "label": "PnL ($)", "type": "num"}],
"rows": [{"tf": "H1", "pnl": 1620.5}, {"tf": "M30", "pnl": 1180.3}],
})
# Spec renderer (auto-detects requirements/design/tasks from filename)
path = engine.render_from_spec(Path(".kiro/specs/feat/requirements.md"))
# Output: .claude/_html/artifacts/<type>-YYYYMMDD-HHMMSS.html
print(path)
| Category | type_id |
|---|---|
| Core | table, report, interactive |
| Trading | backtest-comparison, risk-dashboard, signal-audit, market-regime |
| Spec | spec-requirements, spec-design, spec-tasks |
Full schema in skills/html-artifacts/src/artifact_schemas.py. Visual
templates in skills/html-artifacts/examples/INDEX.md.
When you need item-by-item validation (5+ items), generate an interactive
artifact. The user marks decisions in the browser, clicks Confirm response,
copies a JSON block delimited by === ARTIFACT RESPONSE === ... === END RESPONSE ===,
and pastes it back into the chat. Your agent parses the block and continues.
Schema:
{
"title": "Validate plan v3",
"subtitle": "5 fixes to approve",
"context": "Markdown context paragraph...",
"items": [
{
"id": "fix_1",
"label": "Approve fix X",
"details_md": "**Why:** ...\n**Risk:** ...",
"type": "decision",
"allow_note": true
},
{"id": "model", "label": "Model", "type": "select",
"options": [{"value": "haiku", "label": "Haiku 4.5"},
{"value": "sonnet", "label": "Sonnet 4.6"}]}
]
}
type per item: decision (approve/reject/skip, default), checkbox,
select, text.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub fernandoxavier02/fx-studio-ai --plugin html-artifactsGenerates mandatory engineering rules, architecture contracts, anti-pattern catalogs, and validation tests adapted to any project's stack. 6 focused skills: setup, detect-stack, map-architecture, generate-rules, mine-anti-patterns, validate-context.
Claude Code Swiss Army Knife — diagnose, configure, and build your Claude Code environment. Meta-skill /cc with triage menu + 9 specialized skills for context audit, MCP, hooks, agents, prompts, security, setup, and skill building.
Intelligent toolchain orchestrator for Claude Code — recommends skills, plugins, MCPs, and agents for any task with dependency-aware ordering
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Comprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Permanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.