28sungmin/m4-add-skills/vitrine-api
Claude Code and agent skill by 28sungmin/m4-add-skills
- community
Checking that the SKILL.md file is still in the repository.
Use the vitrine display API for M4 research visualization, review cards, forms, study tracking, approvals, exports, and recovery of displayed results.
Install
npx vskill@latest install 28sungmin/m4-add-skills/vitrine-apiSKILL.md
Vitrine API
Vitrine is the live display and research journal used by M4 analyses. Use it to show DataFrames, plots, markdown findings, forms, and approval gates in a browser while keeping a persistent study trail.
When to Use This Skill
- Display query or analysis results from M4 in the browser
- Collect structured researcher input with forms
- Ask for review or approval before continuing an analysis
- Organize outputs by study and export a provenance trail
- Recover a card, study context, selected rows, or a timed-out response
Quick Start
show() starts the display server automatically. The CLI is available through the M4 project environment:
show()
Common parameters:
| Parameter | Use | |
|---|---|---|
obj | DataFrame, Plotly/matplotlib figure, markdown string, dict, or Form | |
title | Card title | |
description | Short explanation or interpretation | |
study | Group cards into a named study | |
source | Provenance such as dataset, table, script, or SQL summary | |
replace | Existing card id to update in place | |
wait=True | Block until the researcher responds | |
prompt | Review question shown with wait=True | |
actions | Quick action buttons | |
controls | Form fields attached to the card |
Return values:
wait=False: a string-like card handle with.urlwait=True: aDisplayResponsewithaction,card_id,message,summary, andvalues
Forms
Use multiple=True whenever several answers can be selected. Use allow_other=True when free-text additions are expected.
Study Management
Useful functions:
| Function | Use | |
|---|---|---|
register_output_dir(path=None, study=None) | Create/register artifact directory | |
list_studies() | List known studies | |
study_context(study) | Re-orient to prior cards and decisions | |
section(title, study=None) | Add a visual section divider | |
export(path, format="html", study=None) | Export HTML or JSON | |
get_card(card_id) | Fetch card metadata by id/prefix | |
list_annotations(study=None) | Read researcher annotations |
Interaction Patterns
Blocking Review
Narrate the handoff in the terminal before using wait=True, so the researcher knows to respond in vitrine.
Progressive Updates
Passive Selection and Recovery
Plot Guidance
- Use plots for distributions with many categories or continuous variables.
- Always pass
description=for plots, describing what the plot shows and why it matters. - Save Plotly figures as JSON from scripts, then reload with
plotly.io.from_json()before callingshow().
References
- Vitrine Python package API, installed as the M4 dependency
vitrine>=0.1.0.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/m4/skills/system/vitrine-api/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/28sungmin/m4-add-skills/vitrine-api)