/cncjs-custom-widget:cncjs-custom-widgetfrom cncjs-custom-widget
Develops, mounts, or troubleshoots external CNCjs iframe widgets, including host messages and layout. Useful for building custom CNCjs UI panels.
Ships in cncjs-custom-widget. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Start in the consumer's widget project. An external widget is a static web bundle loaded into an iframe. Do not change the CNCjs core widget registry.
This skill covers CNCjs v1. Check the target CNCjs version before relying on a host message or mount behavior.
Use a fake parent and dummy data for verification. Do not attach to a physical port or send machine commands. Never print, store, or request real session tokens. Never share a widget URL that contains a token. Embed only trusted widget code.
Read only the applicable references. Combine routes when the task spans both.
| Task | Read before making changes |
|---|---|
| Implement the handshake, handle port and fullscreen changes, or size and theme the frame | Widget host contract |
| Build and serve the bundle, configure the widget URL, or diagnose loading and message failures | Mount and test |
Report the target version, the checked message or mount behavior, and the fixture results. Separate offline results from behavior verified in a host.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub cncjs/cncjs --plugin cncjs-custom-widgetOther plugins' skills for the same job