# Send Pencil Renderer to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pencil-renderer",
    "name": "Pencil Renderer",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Jcwen/pencil-renderer",
    "canonicalUrl": "https://clawhub.ai/Jcwen/pencil-renderer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/pencil-renderer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pencil-renderer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/batch-design-patterns.md",
      "references/dna-to-pencil.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/pencil-renderer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pencil-renderer",
    "downloadUrl": "https://openagent3.xyz/downloads/pencil-renderer",
    "agentUrl": "https://openagent3.xyz/skills/pencil-renderer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pencil-renderer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pencil-renderer/agent.md"
  }
}
```
## Documentation

### Pencil Renderer

Translate aesthetic DNA codes into Pencil .pen frames via MCP.

### Interface

Input:

DNA code: [layout, color, typography, motion, density, background]
Component type: hero | card | form | nav | footer | section | button | input
Optional: Name, dimensions, parent frame ID

Output:

Frame ID in .pen file
Screenshot of rendered frame

### 1. Ensure Document Ready

// Check if editor open
mcp__pencil__get_editor_state({ include_schema: false })

// If no editor, open or create
mcp__pencil__open_document({ filePathOrTemplate: "new" })

### 2. Get Style Foundation

// Get available style guide tags
mcp__pencil__get_style_guide_tags()

// Get style guide matching DNA mood
// Map DNA to relevant tags:
// - dark color → ["dark-mode", "moody"]
// - light color → ["light", "clean"]
// - spacious density → ["airy", "whitespace"]
// etc.
mcp__pencil__get_style_guide({ tags: [mapped_tags] })

### 3. Translate DNA to Pencil Properties

Reference: references/dna-to-pencil.md

DNA axis → Pencil property mapping is deterministic.
Example: centered layout → alignItems: "center", symmetric padding

### 4. Execute Design Operations

Reference: references/batch-design-patterns.md

mcp__pencil__batch_design({
  filePath: "<path>.pen",
  operations: \`
    frame=I(document, {type: "frame", name: "Hero-Brutalist", ...properties})
    heading=I(frame, {type: "text", content: "Headline", ...typography})
    // ... additional operations
  \`
})

### 5. Capture Result

// Screenshot for visual verification
mcp__pencil__get_screenshot({ nodeId: "frameId" })

### 6. Return

Frame ID: [id]
DNA: [layout, color, typography, motion, density, background]

Plus screenshot image.

### Component Templates

TypeStructureheroContainer + headline + subhead + CTA buttonscardContainer + image area + content + actionsformContainer + labels + inputs + submitnavContainer + logo + links + actionsfooterContainer + columns + links + legalsectionContainer + heading + content gridbuttonFrame + text + icon slotinputFrame + label + field + validation

### DNA Translation Quick Reference

DNA AxisKey Pencil PropertiesLayout: centeredalignItems: "center", equal paddingLayout: asymmetricOffset positions, varied gapsLayout: bentoGrid with varied spansColor: darkDark fill, light foregroundColor: gradientfill: {type: "linear", stops: [...]}Typography: display-heavyLarge heading sizes, high contrastTypography: minimalRestrained scale, single familyDensity: spaciousgap: 24-48, generous paddingDensity: compactgap: 8-16, tight paddingBackground: solidSingle fill colorBackground: texturedG() for patterns/images

### Constraints

Single concern: Render DNA → frame. No interview, no iteration.
Pencil MCP required: Fails fast if unavailable
Deterministic mapping: Same DNA always produces same structure
Composable: Called by orchestrators, not users directly

### References

references/dna-to-pencil.md — Complete axis mapping
references/batch-design-patterns.md — Common operation sequences
aesthetic-system/references/dna-codes.md — DNA axis definitions

### Integration

Called by:

design-exploration orchestrator (when Pencil backend available)

Composes:

aesthetic-system (for DNA interpretation)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Jcwen
- Version: 0.1.2
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/pencil-renderer)
- [Send to Agent page](https://openagent3.xyz/skills/pencil-renderer/agent)
- [JSON manifest](https://openagent3.xyz/skills/pencil-renderer/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/pencil-renderer/agent.md)
- [Download page](https://openagent3.xyz/downloads/pencil-renderer)