Launches browser-based whiteboard for drawing, sketching, sticky notes. Captures PNG snapshot for AI to analyze visuals, text, and suggest ideas.
From awesome-copilotnpx claudepluginhub ctr26/dotfiles --plugin awesome-copilotThis skill uses the workspace's default tool permissions.
assets/napkin.htmlassets/step1-activate.svgassets/step2-whiteboard.svgassets/step3-draw.svgassets/step4-share.svgassets/step5-response.svgFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
Napkin gives users a browser-based whiteboard where they can draw, sketch, and add sticky notes to think through ideas visually. The agent reads back the whiteboard contents (via a PNG snapshot and optional JSON data) and responds conversationally with analysis, suggestions, and next steps.
The target audience is lawyers, PMs, and business stakeholders — not software developers. Keep everything approachable and jargon-free.
When the user invokes this skill — saying things like "let's napkin," "open a napkin," "start a whiteboard," or using the slash command — do the following:
Copy the bundled HTML template from the skill assets to the user's Desktop.
assets/napkin.html relative to this SKILL.md file.~/Desktop/napkin.html.~/Desktop/napkin.html already exists, ask the user whether they want to open the existing one or start fresh before overwriting.Open it in the default browser:
open ~/Desktop/napkin.htmlxdg-open ~/Desktop/napkin.htmlstart ~/Desktop/napkin.htmlTell the user what to do next. Say something warm and simple:
Your napkin is open in your browser!
Draw, sketch, or add sticky notes — whatever helps you think through your idea.
When you're ready for my input, click the green "Share with Copilot" button on the whiteboard, then come back here and say "check the napkin."
When the user says "check the napkin," "look at the napkin," "what do you think," "read my napkin," or anything similar, follow these steps:
Look for a PNG file called napkin-snapshot.png. Check these locations in order (the browser saves it to the user's default download folder, which varies):
~/Downloads/napkin-snapshot.png~/Desktop/napkin-snapshot.pngUse the view tool to read the PNG. This sends the image as base64-encoded data to the model, which can visually interpret it. The PNG is the primary way the agent understands what the user drew — it captures freehand sketches, arrows, spatial layout, annotations, circled or crossed-out items, and anything else on the canvas.
If the PNG is not found in either location, do NOT silently skip it. Instead, tell the user:
I don't see a snapshot from your napkin yet. Here's what to do:
1. Go to your whiteboard in the browser
2. Click the green "Share with Copilot" button
3. Come back here and say "check the napkin" again
The button saves a screenshot that I can look at.
Also try to grab structured JSON data from the system clipboard. The whiteboard copies this automatically alongside the PNG.
pbpastexclip -selection clipboard -opowershell -command "Get-Clipboard"The JSON contains the exact text content of sticky notes and text labels, their positions, and their colors. This supplements the PNG by giving you precise text that might be hard to read from a screenshot.
If the clipboard doesn't contain JSON data, that's fine — the PNG alone gives the model plenty to work with. Do not treat a missing clipboard as an error.
Synthesize the visual snapshot and the structured text into a coherent understanding of what the user is thinking or planning:
Do not dump raw data or a technical summary. Respond as a collaborator who looked at someone's whiteboard sketch. Examples:
Always end by offering a next step:
When the user wants the agent to add content back to the whiteboard:
napkin.html with pre-loaded content.PNG snapshot not found:
I don't see a snapshot from your napkin yet. Here's what to do:
1. Go to your whiteboard in the browser
2. Click the green "Share with Copilot" button
3. Come back here and say "check the napkin" again
The button saves a screenshot that I can look at.
Whiteboard file doesn't exist on Desktop:
It looks like we haven't started a napkin yet. Want me to open one for you?
view tool.assets/napkin.html relative to this SKILL.md file.