pencil-renderer
Render DNA codes to Pencil .pen frames. Does ONE thing well. Input: DNA code + component type (hero, card, form, etc.) Output: .pen frame ID + screenshot Use when: design-exploration or other orchestrators need to render visual proposals using Pencil MCP backend.
Why use this skill?
Convert abstract design DNA into functional .pen frames for rapid visual prototyping. Automate your Pencil design workflow with OpenClaw.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jcwen/pencil-rendererWhat This Skill Does
The pencil-renderer skill serves as the primary bridge between abstract design DNA and concrete visual artifacts within the Pencil MCP ecosystem. It translates high-level design attributes—encompassing layout, color, typography, motion, density, and background—directly into functional .pen frame files. By leveraging a deterministic mapping system, it ensures that your aesthetic requirements are rendered with pixel-perfect consistency, allowing for rapid iteration and design exploration.
At its core, this skill interprets structured JSON or natural language inputs representing design DNA and maps them to Pencil's batch design operations. It automates the entire lifecycle of a frame: verifying the editor state, fetching appropriate style guide assets, applying design patterns based on component templates (such as heroes, cards, or navigation bars), and ultimately delivering a rendered screenshot for immediate visual feedback.
Installation
To integrate this skill into your environment, use the OpenClaw CLI:
clawhub install openclaw/skills/skills/jcwen/pencil-renderer
Ensure that your Pencil MCP backend is properly configured and reachable by the OpenClaw agent before triggering your first rendering request.
Use Cases
- Automated Prototyping: Instantly generate multiple layout variations of a landing page component based on different mood DNA (e.g., 'brutalist' vs. 'minimalist').
- Design System Testing: Programmatically verify how specific typography and color combinations scale across various component types like cards or forms.
- Rapid Exploration: Use orchestrator agents to feed 'mood' parameters to the renderer, allowing the AI to generate exploratory visual mockups for client meetings in seconds.
- Documentation Generation: Automatically populate visual catalogs by rendering every component variation defined in your project’s style guide.
Example Prompts
- "Render a hero component for my landing page using 'centered' layout, 'dark' color theme, and 'spacious' density DNA. Please output the frame ID and a screenshot."
- "Create a 'card' component in the current open document with 'asymmetric' layout, 'minimal' typography, and a 'textured' background. Map it to the 'corporate-style' guide tags."
- "Batch create all variations for a 'form' component using my current design DNA: [asymmetric, light, minimal, static, compact, solid]."
Tips & Limitations
- Deterministic Mapping: For best results, ensure your input DNA maps clearly to the provided categories. Using non-standard tags may result in fallback to default styles.
- Component Readiness: Always ensure your
filePathOrTemplatematches an existing or valid template in your Pencil environment to avoid rendering errors. - Performance: Complex renderings with heavy texture maps or high-density elements may increase latency. Use the
batch-design-patternsefficiently to minimize individual API calls. - Limitations: The skill is strictly for Pencil .pen files. It does not export to other design formats like Figma or Sketch directly; you must utilize the .pen file format throughout your rendering workflow.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jcwen-pencil-renderer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read