DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to script batch design changes from the terminal with the op CLI with Openpencil

Install the op CLI and pipe batch design commands into OpenPencil from files or stdin.

Short answer: Install with curl -fsSL https://raw.githubusercontent.com/ZSeven-W/openpencil/main/scripts/install-op.sh | bash or Homebrew; then start the desktop app or the web server; use op design and op insert with the batch design DSL. All steps.

  • Content
  • Advanced
  • 45 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor

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

  1. Install with curl -fsSL https://raw.githubusercontent.com/ZSeven-W/openpencil/main/scripts/install-op.sh | bash or Homebrew
  2. Start the desktop app or the web server
  3. Use op design and op insert with the batch design DSL
  4. Pipe commands in from a file or stdin
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer