agentleFS
t1mericksont1merickson/skills/paper-mcp/SKILL.md

paper-mcp

Skill1 starsChanged 3 months agoMITView on GitHub

Operate an open Paper.design canvas through Paper Desktop's local MCP server for layer editing, masks, blends, screenshots, and exports.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when the user asks to work in Paper and Paper Desktop is running with the intended file open.

    line 8
  2. Distinctive:

    call the server's Paper instructions/guide tool when advertised.

    line 25
  3. Very specific:

    Prefer targeted replace/style/move operations over delete-and-rebuild.

    line 36
  4. Distinctive:

    Use raster assets as data URIs only when size and current schema permit.

    line 37
  5. Distinctive:

    Never expose internal node IDs as user-facing labels or prose.

    line 39
  6. Distinctive:

    Treat calls as a budget even when the installed plan is generous.

    line 43
  7. Distinctive:

    Read references/verified-snapshot.md only for debugging clues.

    line 51

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Paper MCP

Use when the user asks to work in Paper and Paper Desktop is running with the intended file open. Canvas edits and exports change user state; stay within the named file/artboard and preserve existing work.

Initialize and inspect

Resolve this installed skill directory from the host; do not assume a Claude-specific environment variable.

sid="$(<skill-directory>/paper-mcp.sh init)"
<skill-directory>/paper-mcp.sh raw "$sid" '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'
<skill-directory>/paper-mcp.sh call "$sid" get_basic_info '{}'

The helper accepts PAPER_MCP_ENDPOINT and PAPER_MCP_PROTOCOL_VERSION overrides for a changed local server. The endpoint replies as SSE data: lines. The helper removes that framing but leaves MCP content intact; many tool payloads are themselves JSON strings inside .result.content[].text, while screenshots and exports arrive as image content blocks. Unwrap only the layer you need rather than guessing that the first JSON object is the payload.

Before editing:

  1. inspect tools/list and use its current schemas rather than memorized arguments;
  2. call the server's Paper instructions/guide tool when advertised;
  3. inspect basic file/page/artboard/node state;
  4. confirm the intended target when more than one file or artboard is open;
  5. inspect font availability before applying a family.

The first file may become session-sticky on some builds. Pass file IDs explicitly when supported and re-read state after switching.

Edit in reviewable groups

  • Make one coherent visual group per write rather than replacing a whole composition.
  • Preserve z-order, grouping, masks, and existing node identity where practical.
  • Prefer targeted replace/style/move operations over delete-and-rebuild.
  • Use raster assets as data URIs only when size and current schema permit; keep local source assets and transformations reproducible.
  • Treat Paper as a compositor, not a darkroom. Bake heavy image processing locally, bring raster scraps in as data-URI layers, use inline SVG for line work, and keep live text as text. This division produced more predictable collage work than asking CSS inside Paper to become an image pipeline.
  • Never expose internal node IDs as user-facing labels or prose.

After a burst of edits, verify node state first, then request a screenshot once rendering has settled. A screenshot can lag document state; this has already cost a debugging round. Measure alignment from node bounds or full-resolution pixels, not a downscaled preview, whose resampling can manufacture half-pixel-looking errors.

Treat calls as a budget even when the installed plan is generous. Inspect once, make coherent groups, and screenshot at review boundaries rather than after every property. Re-probe limits instead of preserving a dated quota as doctrine.

Export and finish

Probe the current export schema and supported formats/scales. Export only named nodes/artboards. The server may choose a user Downloads location; touch only the returned artifact, then copy it to the approved project/output location if needed.

Inspect transparency, dimensions, color, and the actual exported file—not just the canvas preview. Call the server's finish/cleanup tool when its guide requires one.

Read references/verified-snapshot.md only for debugging clues. It is a dated observation, not the live schema or service policy.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.