Napkin
Napkin是一款design方向的AI技能,核心价值是Visual whiteboard collaboration for Copilot CLI,可用于解决开发者在design领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。
Visual whiteboard collaboration for Copilot CLI. Creates an interactive whiteboard that opens in your browser — draw, sketch, add sticky notes, then share everything back with Copilot. Copilot sees yo
mkdir -p ./skills/napkin && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/napkin/SKILL.md -o ./skills/napkin/SKILL.md Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).
Skill Content
# Napkin — Visual Whiteboard for Copilot CLI
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.
---
Activation
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:
1. **Copy the bundled HTML template** from the skill assets to the user's Desktop.
- The template lives at `assets/napkin.html` relative to this SKILL.md file.
- Copy it to `~/Desktop/napkin.html`.
- If `~/Desktop/napkin.html` already exists, ask the user whether they want to open the existing one or start fresh before overwriting.
2. **Open it in the default browser:**
- macOS: `open ~/Desktop/napkin.html`
- Linux: `xdg-open ~/Desktop/napkin.html`
- Windows: `start ~/Desktop/napkin.html`
3. **Tell 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."
```
---
Reading 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:
Step 1 — Read the PNG snapshot (primary)
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):
1. `~/Downloads/napkin-snapshot.png`
2. `~/Desktop/napkin-snapshot.png`
Use 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.Step 2 — Read the clipboard for structured JSON (supplementary)
Also try to grab structured JSON data from the system clipboard. The whiteboard copies this automatically alongside the PNG.
- macOS: `pbpaste`
- Linux: `xclip -selection clipboard -o`
- Windows: `powershell -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.
Step 3 — Interpret both sources together
Synthesize the visual snapshot and the structured text into a coherent understanding of what the user is thinking or planning:
- **From the PNG:** Describe what you see — sketches, diagrams, flowcharts, groupings, arrows, spatial layout, annotations, circled items, crossed-out items, emphasis marks.
- **From the JSON:** Read the exact text content of sticky notes and labels, noting their positions and colors.
- **Combine both** into a single, conversational interpretation.
Step 4 — Respond conversationally
Do not dump raw data or a technical summary. Respond as a collaborator who looked at someone's whiteboard
🎯 Best For
- Claude users
- GitHub Copilot users
- Designers
- Creative professionals
- Product teams
💡 Use Cases
- Design system documentation
- Component specification creation
📖 How to Use This Skill
- 1
Install the Skill
Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.
- 2
Load into Your AI Assistant
Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.
- 3
Apply Napkin to Your Work
Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.
- 4
Review and Refine
Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.
❓ Frequently Asked Questions
Does Napkin generate production-ready design specs?
It generates detailed specifications that developers can use directly. Review and adjust for your specific design system.
How do I install Napkin?
Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/napkin/SKILL.md, ready to use.
Can I customize this skill for my team?
Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.
⚠️ Common Mistakes to Avoid
Not reading the full skill
Skills contain important context and edge cases beyond the quick start.