generative-ui-minis
Skill438 starsChanged 3 months agoMITView on GitHub
In the current Minis environment, automatically convert text descriptions into a single-file HTML generator similar to Claude Artifact, with unified support for outputs such as cards, tables, records, timelines, code blocks, and charts. Use this skill first when users mention these components or visualization pages.
In this repository51 other files it gives its agents.
- android-devSkill
- android-ui-automationSkill
- apple-remindersSkill
- appstoreprice-hubSkill
- asc-cliSkill
- bilibili-hubSkill
- Clash 控制器Skill
- cloudflare-dnsSkill
- codex-imageSkill
- codex-on-ishSkill
- contact-vcard-extractorSkill
- deepseek-usageSkill
- doubao-ttsSkill
- douyin-downloaderSkill
- exa-searchSkill
- free-ttsSkill
- fucai3d-latestSkill
- github-sync-helperSkill
- health-sleep-analysisSkill
- hyperframes-cliSkill
- hyperframesSkill
- korea-stockSkill
- maimai-hubSkill
- memos-apiSkill
- nano-bananaSkill
- notion-hubSkill
- openstreetmap-markerSkill
- pdf-converterSkill
- production-agent-publicSkill
- qbt-hubSkill
- quark-hubSkill
- reverse-dcfSkill
- self-improving-agentSkill
- shortcut-share-fileSkill
- spotify-hubSkill
- stock-fund-flowSkill
- stock-priceSkill
- tavily-searchSkill
- tg-hubSkill
- todoocardSkill
- twitter-downloaderSkill
- twitter-x-hubSkill
- us-stockSkill
- web-content-extractorSkill
- web-searchSkill
- weibo-hubSkill
- whenpeakSkill
- xianyu-hubSkill
- xiaohongshu-hubSkill
- youtube-downloaderSkill
- ytmusic-hubSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Use this skill first when users express any of the following intentions:
- Distinctive: line 125
If the input is only a natural-language description, first use the script to automatically infer the basic blocks
- Distinctive: line 126
If the content is complex, organize it into a JSON spec before rendering
- Distinctive: line 127
After generating the HTML, send the workspace link directly to the user
- Distinctive: line 144
If the user says:
- Distinctive: line 149
Do not respond with text only.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generative UI Minis Skill
This is a Claude Artifact-style generator skill designed for the current Minis / iSH environment.
The goal is not to modify the chat host itself, but to:
- Organize user instructions into a structured spec
- Render them with Python into a single-file HTML artifact
- Save it to
/var/minis/workspace/ - Let users preview, share, and continue iterating directly
Automatic Trigger Scenarios
Use this skill first when users express any of the following intentions:
- "Create a Claude Artifact / Claude-style page"
- "Turn the answer into cards"
- "Generate a table / record sheet / checklist"
- "Organize the content into a timeline"
- "Generate a code block display page"
- "Create a chart / visualization page"
- "Render this content as an HTML prototype"
- "Create an interactive explanation page / artifact"
In particular, when the user also mentions: cards, tables, records, code blocks, timelines, charts, visualization pages, artifacts assume by default that this skill should be invoked to generate an additional page.
Currently Supported Unified Components
cards: information cards / KPI cardstable: tablerecords: record listtimeline: timeline / step flowcode: code blockchart: built-in bar chartdetails: collapsible details
Main Scripts
1) Complete Artifact Generator
python3 /var/minis/skills/generative-ui-minis/scripts/generative_ui_artifact.py \
"Weekly Project Report" \
--text "Need overview cards\nNeed risk table\nNeed timeline\nNeed code block\nNeed chart"By default, this outputs to:
/var/minis/workspace/<title>_artifact.html2) Render from a JSON spec
python3 /var/minis/skills/generative-ui-minis/scripts/generative_ui_artifact.py \
"Demo" \
--spec /path/to/spec.json \
--out /var/minis/workspace/demo_artifact.html \
--json-out /var/minis/workspace/demo_spec.jsonspec Format
{
"title": "Generative UI Example",
"summary": "Unified output of multiple components.",
"chips": ["Artifact", "Cards", "Table"],
"blocks": [
{
"type": "cards",
"title": "Overview Cards",
"items": [
{"title": "Status", "value": "In Progress", "desc": "In the current iteration"}
]
},
{
"type": "table",
"title": "Record Sheet",
"columns": ["Date", "Item", "Status"],
"rows": [["03-17", "Generator Development", "Done"]]
},
{
"type": "timeline",
"title": "Timeline",
"items": [
{"title": "Phase One", "desc": "Requirements Organization"},
{"title": "Phase Two", "desc": "Page Rendering"}
]
},
{
"type": "code",
"title": "Sample Code",
"language": "python",
"content": "print('hello artifact')"
},
{
"type": "chart",
"title": "Progress Chart",
"series": [
{"label": "Design", "value": 70},
{"label": "Development", "value": 85}
]
}
]
}Recommended Workflow
- Determine whether the user needs an artifact page
- If the input is only a natural-language description, first use the script to automatically infer the basic blocks
- If the content is complex, organize it into a JSON spec before rendering
- After generating the HTML, send the workspace link directly to the user
- Continue modifying the spec or template based on feedback
Capability Boundaries
Can do:
- Generate a unified single-file artifact HTML
- Support cards, tables, records, timelines, code blocks, and charts
- Serve as a visual supplement to an answer
Does not directly do yet:
- Native message-level component injection into the chat host
- Complex frontend applications driven by real-time databases
- Long-running interactive server-side services
Trigger Recommendations
If the user says:
- "Make me a card version"
- "Also generate a table/timeline/code block"
- "Organize it into an artifact page"
Do not respond with text only. Run this skill directly to generate an additional HTML artifact.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

