Remote script. The install script is piped from GitHub into bash; use Homebrew if you prefer not to run it.
Who it is forA developer who wants repeatable design updates, such as regenerating screens for each locale or brand.
The problemRepeating the same design edits by hand across many files is slow and inconsistent.
The outcomeDesign changes applied by script with op design and op insert, against the desktop app or web server.
What you need first
- macOS, Windows or Linux (desktop) or the web app
- An AI model provider key, or Claude Code, Codex or OpenCode via MCP
- Homebrew, Scoop or a GitHub Release download
Steps
- Install with
curl -fsSL https://raw.githubusercontent.com/ZSeven-W/openpencil/main/scripts/install-op.sh | bashor Homebrew - Start the desktop app or the web server
- Use
op designandop insertwith the batch design DSL - Pipe commands in from a file or stdin
- Export the updated designs to code
Prompt for your agent
Install the ZSeven-W/openpencil op CLI and write a script that uses op design and op insert to <batch change> across <files>, then export each to <framework>.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ZSeven-W/openpencil and "Script batch design changes from the terminal with the op CLI"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer