Token导航 LogoToken导航

Agent Skill · 效率

pencil-design(铅笔设计)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

pencil-design 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 17,533。

总安装 2,584周安装 111GitHub Stars 公开资料未说明下载 906核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pencil-design(铅笔设计)
来源仓库:https://github.com/gerhardberger/pencil-design
安装命令:
openclaw skills install pencil-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pencil-design

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

利用 Pencil CLI 创建高质量视觉设计,涵盖网页、App 界面与营销素材。支持线框图、原型与多端适配方案的一键生成。pencil-design 属于效率类 Skill,可作为该场景下的辅助能力补充。输出为标准 HTML/CSS,可导入 Figma 或其他设计工具继续编辑。

内置响应式模板,但复杂动效应手动调整优化。免费版有分辨率与使用次数限制,商用需升级许可证。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install pencil-design;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pencil-design 怎么安装?

在终端执行 openclaw skills install pencil-design。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pencil-design 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pencil-design 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

pencil-design 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

pencil-design 用的人多吗?

公开数据是累计安装 2,584 次,近一周安装 111 次,下载 906 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pencil-design 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
pencil-design

铅笔设计 · 本页

2,584—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
pencil-design
description
>

Pencil Design

Create professional visual designs from natural language descriptions using the Pencil CLI. Pencil is a headless design tool that generates .pen files (a structured JSON design format) and can export them as images.

Setup

Before designing, make sure the Pencil CLI is available.

Check installation

which pencil || npx pencil version

If pencil is not found, install it:

npm install -g @pencil.dev/cli

If global install fails due to permissions, install locally instead:

npm install @pencil.dev/cli

Then run it via npx pencil (or ./node_modules/.bin/pencil) instead of pencil. You can learn about the available commands via the pencil --help command.

Authentication

Pencil user

To use the CLI, an authenticated user logged in to Pencil is required. First, check the current user configuration on the machine with the pencil status command.

If not logged in, there are the following options:

  • use pencil signup --email you@example.com --username johndoe --name "John Doe" command, to create a new user.
  • use pencil login --email you@example.com [--code abc123] to authenticate an existing or newly created user.
  • optionally, the PENCIL_CLI_KEY env var can also be used for authentication if its set in your session.
Claude Code agent

The CLI needs auth to run its AI agent for which Claude Code is required. For that there needs to be an authenticated Claude Code user set in the system configuration either via env var or a user subscription.

If none of these are available, tell the user what options they have and help them set one up.

Staying up to date

This skill stays in sync with the Pencil CLI npm package (@pencil.dev/cli). The published package includes SKILL.md at its root; the package version is the skill version.

Check for a newer CLI / skill

  • Latest version on the registry: npm view @pencil.dev/cli version
  • Installed CLI: pencil version, or npm list -g @pencil.dev/cli (global) / npm list @pencil.dev/cli (project)

Upgrade the CLI, then refresh your copied skill file (agents do not auto-update skill files you placed in config folders):

npm install -g @pencil.dev/cli

Where to copy the skill from after installing

  • From a dependency tree: node_modules/@pencil.dev/cli/SKILL.md (path is the same for global and local installs; resolve from your project root or global node_modules prefix).

Fetch the same file without cloning the repo (mirrors the npm tarball; optional third-party CDNs):

  • https://unpkg.com/@pencil.dev/cli@latest/SKILL.md
  • https://cdn.jsdelivr.net/npm/@pencil.dev/cli@latest/SKILL.md

Use @latest for the newest publish, or pin (e.g. @0.2.4) for a reproducible snapshot.

If you don’t know where skills live on this machine

Agents don’t always get the skills directory from context. When the path isn’t obvious:

  • Ask the user where their agent or IDE loads skills from, or where they want this skill installed.
  • Check the product’s docs for “skills”, “agent skills”, or “plugins” — paths differ by tool and version.
  • You can still use the skill content without installing: fetch or open the SKILL.md URL above (unpkg/jsDelivr) in the session so guidance applies even when the on-disk path is unknown. For a persistent install, copy the fetched file into the path the user or docs specify.

Typical skill locations (confirm with your tool’s current docs — layouts change):

EnvironmentWhere to put SKILL.md
CursorProject: .cursor/skills/pencil-design/SKILL.md; user-level: under ~/.cursor/skills/
Claude CodeOften .claude/skills/pencil-design/SKILL.md or user-level under ~/.claude/
OpenClawOften ~/.openclaw/skills/, workspace .agents/skills/, or paths in OpenClaw skills docs — verify for the user’s setup
Other agents (Codex, etc.)Use the directory your product uses for skills or prompts

Example (adjust the destination path to match your agent):

curl -fsSL "https://unpkg.com/@pencil.dev/cli@latest/SKILL.md" -o .cursor/skills/pencil-design/SKILL.md

When to check for an update

  • Early in the session, before the first Pencil design run (compare npm view @pencil.dev/cli version to the installed CLI), so you aren’t following stale instructions.
  • Again if the user says they upgraded the CLI, or if behavior doesn’t match this doc (flags, auth, timing).
  • Not before every single command — once per session is enough unless something changed or errors suggest a version mismatch.

Creating a Design

The core command:

pencil --out <output.pen> --prompt "<design description>" --export <output.png> --export-scale 2

Key flags:

  • --out, -o — where to save the .pen file (required)
  • --prompt, -p — what to design (required)
  • --export, -e — export an image of the result
  • --export-scale — image resolution multiplier (use 2 for crisp output)
  • --export-type — format: png (default), jpeg, webp, pdf
  • --in, -i — start from an existing .pen file (for iteration)
  • --model, -m — Claude model to use (defaults to Opus)

Passing the Prompt

Pass the user's request directly as the prompt — do not expand, or add detail beyond what the user actually said. The Pencil CLI has its own AI designer agent that handles creative decisions like layout structure, color palettes, typography, spacing, and content. Adding your own design specifics on top of the user's request will conflict with the CLI agent's own judgment and produce worse results.

If the user says "make me a landing page for a coffee shop", the prompt should be exactly that — not a paragraph with hero sections, color palettes, and font choices you invented.

Timing Expectations

Design generation is not instant — the CLI runs an AI agent that plans the layout, creates each element, and validates the result visually. Expect:

  • Simple designs (a card, a single component): 1-2 minutes
  • Medium designs (an app screen, a landing page section): 2-3 minutes
  • Complex designs (full landing page, detailed dashboard): 3-5+ minutes

Let the user know upfront that generation will take a few minutes so they're not left wondering. Use a generous timeout (at least 600000ms / 10 minutes) when running the command.

Showing the Result

After the command completes, read the exported image to show it to the user:

# The command exports to the path you specified
pencil --out design.pen --prompt "..." --export design.png --export-scale 2

Then use the Read tool on the exported PNG — it will render visually since you're a multimodal model.

Always show the image to the user after creating it. This is the whole point — they want to see the visual.

Iterating on a Design

When the user wants changes to an existing design, use the --in flag to load the previous .pen file:

pencil --in design.pen --out design-v2.pen --prompt "Make the header larger and change the accent color to green" --export design-v2.png --export-scale 2

The agent will read the existing design and apply modifications rather than starting from scratch.

For quick successive iterations, keep a consistent naming pattern:

  • design.pen → design-v2.pen → design-v3.pen
  • Or use a single file: --in design.pen --out design.pen (overwrites)

Working Directory

Save design files in the user's current working directory or a subdirectory like designs/. Don't use temp directories — the user will want to find and iterate on these files later.

平台分布

OpenClaw

81.72%
按下载量换算740

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills