wibus-wee/cradle-app/cradle-artifacts
Claude Code and agent skill by wibus-wee/cradle-app
- community
Checking that the SKILL.md file is still in the repository.
Use when creating or updating Cradle Agent Artifacts via write_artifact — interactive JSX dashboards, audits, review boards, charts, and tables rendered beside chat. Prefer this over dumping structured UI as markdown. Covers cradle/artifact imports, export default, component inventory, artifactId reuse, and ActionButton prompts.
Install
npx vskill@latest install wibus-wee/cradle-app/cradle-artifactsSKILL.md
Cradle Artifacts
Use write_artifact to publish an interactive JSX view in the chat side panel (Cursor Canvas analogue). Prefer Artifacts when a structured UI is clearer than markdown prose.
When To Use
Prefer write_artifact | Prefer markdown / chat text | |
|---|---|---|
| Dashboards, audits, review boards | Short answers, prose explanations | |
| Charts, metric grids, comparison tables | Simple lists or one-off code snippets | |
| Click-through follow-ups via ActionButton | One-shot status updates | |
| Living docs the user revisits / refreshes | Throwaway notes |
After writing, tell the user the Artifact is in the side panel. Do not dump the full JSX into chat.
The tool result is metadata-only (artifactId, sessionId, title, revision, …). Full JSX is persisted server-side and loaded by the panel — do not expect source in the tool result.
Tool
Ambient session comes from CRADLE_CHAT_SESSION_ID. No separate session id arg.
Authoring Rules
- Import only from
cradle/artifact(optionallyreact). No app modules, Electron, fs, network SDKs, or dynamic imports. export defaulta React component (required).- Compose with the kit below — do not invent host components.
Component Inventory
| Component | Role | |
|---|---|---|
Artifact | Root shell (quiet document column) | |
Header | Eyebrow / title / summary / meta fragments | |
Section | Titled block; sections separate by space, not borders | |
Metrics | Quiet KPI strip — big tabular values, optional delta + sparkline: number[] | |
DeltaBadge | Trend indicator (up / down / flat + pre-formatted label) | |
Sparkline | Tiny trend line for recent values | |
BarChart | Vertical bars, peak highlighted, hover tooltip | |
LineChart | Time-series area chart | |
DonutChart | Share-of-total donut with legend rows | |
Gauge | Percent radial gauge with center readout | |
ShareList | Share-of-total progress rows (label + track + value + %) | |
Progress | Determinate goal bar with percent | |
Table | Columnar data; right-aligned columns render as mono numerics | |
List | Item rows with status icons via tone (info/success/warning/danger) | |
Timeline | Vertical event stream with tone ticks and meta | |
Steps | Horizontal workflow indicator (done/current/upcoming) | |
Callout | Highlight / warning wash with tone icon | |
Badge | Compact status chip | |
KeyValue | Label/value metadata rows | |
CodeBlock | Mono snippet well with optional title + language badge | |
Collapsible | Expandable block for long secondary content | |
Tabs | View-local tab switcher (content passed inline) | |
EmptyState | Quiet placeholder for empty collections | |
ActionButton | Sends prompt into the owning chat | |
Stack / HStack | Layout | |
Text | Body copy | |
Divider | Separator |
Prefer real visualizations over prose or color-coded text: give Metrics sparklines, use BarChart/LineChart for series, DonutChart/ShareList for share-of-total.
Updates
Reuse the same artifactId from a prior write_artifact result to revise in place. Revision increments; the panel refreshes by id. Omit artifactId only when creating a new Artifact.
ActionButton Pattern
prompt is required. Click injects that text into the session composer/run — use concrete follow-up asks, not vague labels.
Example
Pass that source to write_artifact with a short title. On later turns, pass the returned artifactId to update.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresources/skills/cradle-artifacts/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/wibus-wee/cradle-app/cradle-artifacts)