/miro-pack:miro-core-workflow-bfrom miro-pack
Manages Miro connectors, images, embeds, app cards, and document items via REST API v2. Use for visual workflows, embedding content, and building rich board layouts.
Ships in miro-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Advanced item operations: connectors between items, image uploads, embedded content, app cards for custom integrations, and document items — all via the Miro REST API v2.
miro-core-workflow-a (boards and basic items)boards:read and boards:write scopesConnectors are lines that visually link two items on a board. They replaced "lines" from the v1 API.
// POST https://api.miro.com/v2/boards/{board_id}/connectors
const connector = await miroFetch(`/v2/boards/${boardId}/connectors`, 'POST', {
startItem: {
id: startItemId,
position: {
x: 1.0, // 0.0–1.0 relative position on item boundary
y: 0.5, // 0.0 = top/left, 1.0 = bottom/right
},
// or use snapTo: 'right' | 'left' | 'top' | 'bottom' | 'auto'
},
endItem: {
id: endItemId,
snapTo: 'left',
},
captions: [
{
content: 'depends on',
position: 0.5, // 0.0–1.0 along the connector line
textAlignVertical: 'top', // 'top' | 'middle' | 'bottom'
},
],
shape: 'curved', // 'straight' | 'elbowed' | 'curved'
style: {
color: '#1a1a2e',
fontSize: 12,
strokeColor: '#1a1a2e',
strokeWidth: 2,
strokeStyle: 'normal', // 'normal' | 'dashed' | 'dotted'
startStrokeCap: 'none', // 'none' | 'stealth' | 'diamond' | 'filled_diamond' | etc.
endStrokeCap: 'stealth', // arrow-style endpoint
},
});
console.log(`Connector ${connector.id}: ${startItemId} → ${endItemId}`);
// GET https://api.miro.com/v2/boards/{board_id}/connectors
const connectors = await miroFetch(`/v2/boards/${boardId}/connectors?limit=50`);
for (const c of connectors.data) {
console.log(`${c.startItem.id} --[${c.captions?.[0]?.content ?? ''}]--> ${c.endItem.id}`);
}
// PATCH https://api.miro.com/v2/boards/{board_id}/connectors/{connector_id}
await miroFetch(`/v2/boards/${boardId}/connectors/${connectorId}`, 'PATCH', {
captions: [{ content: 'blocks', position: 0.5 }],
style: { strokeColor: '#ff0000', endStrokeCap: 'filled_triangle' },
});
// DELETE https://api.miro.com/v2/boards/{board_id}/connectors/{connector_id}
await miroFetch(`/v2/boards/${boardId}/connectors/${connectorId}`, 'DELETE');
// POST https://api.miro.com/v2/boards/{board_id}/images
const image = await miroFetch(`/v2/boards/${boardId}/images`, 'POST', {
data: {
url: 'https://example.com/architecture-diagram.png',
title: 'System Architecture',
},
position: { x: 500, y: 0 },
geometry: { width: 400 }, // height auto-calculated from aspect ratio
});
import fs from 'fs';
// Read file and convert to data URL
const imageBuffer = fs.readFileSync('diagram.png');
const base64 = imageBuffer.toString('base64');
const dataUrl = `data:image/png;base64,${base64}`;
const image = await miroFetch(`/v2/boards/${boardId}/images`, 'POST', {
data: { url: dataUrl, title: 'Local Diagram' },
position: { x: 0, y: 400 },
});
Embed external content (URLs rendered as previews).
// POST https://api.miro.com/v2/boards/{board_id}/embeds
const embed = await miroFetch(`/v2/boards/${boardId}/embeds`, 'POST', {
data: {
url: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
mode: 'inline', // 'inline' | 'modal'
previewUrl: '', // optional custom preview image
},
position: { x: -400, y: 400 },
geometry: { width: 480, height: 270 },
});
App cards display custom data from your integration, with structured fields and status indicators.
// POST https://api.miro.com/v2/boards/{board_id}/app_cards
const appCard = await miroFetch(`/v2/boards/${boardId}/app_cards`, 'POST', {
data: {
title: 'JIRA-1234: Fix login bug',
description: 'Users unable to log in after password reset',
status: 'connected', // 'disconnected' | 'connected' | 'disabled'
fields: [
{ value: 'High', iconUrl: '', fillColor: '#ff0000', iconShape: 'round', tooltip: 'Priority' },
{ value: 'In Progress', fillColor: '#ffd700', iconShape: 'square', tooltip: 'Status' },
{ value: 'John Doe', tooltip: 'Assignee' },
],
},
style: { cardTheme: '#2d9bf0' },
position: { x: 600, y: 200 },
});
// PATCH https://api.miro.com/v2/boards/{board_id}/app_cards/{item_id}
await miroFetch(`/v2/boards/${boardId}/app_cards/${appCardId}`, 'PATCH', {
data: {
status: 'connected',
fields: [
{ value: 'Done', fillColor: '#00c853', tooltip: 'Status' },
],
},
});
// POST https://api.miro.com/v2/boards/{board_id}/documents
const doc = await miroFetch(`/v2/boards/${boardId}/documents`, 'POST', {
data: {
url: 'https://example.com/spec.pdf',
title: 'Technical Specification v2',
},
position: { x: -600, y: 0 },
});
Complete example: Kanban-style board with frames, cards, and connectors.
async function buildKanbanBoard(boardId: string) {
// Create column frames
const todoFrame = await miroFetch(`/v2/boards/${boardId}/frames`, 'POST', {
data: { title: 'To Do', format: 'custom' },
position: { x: 0, y: 0 },
geometry: { width: 400, height: 800 },
});
const doingFrame = await miroFetch(`/v2/boards/${boardId}/frames`, 'POST', {
data: { title: 'In Progress', format: 'custom' },
position: { x: 500, y: 0 },
geometry: { width: 400, height: 800 },
});
const doneFrame = await miroFetch(`/v2/boards/${boardId}/frames`, 'POST', {
data: { title: 'Done', format: 'custom' },
position: { x: 1000, y: 0 },
geometry: { width: 400, height: 800 },
});
// Add cards inside frames
const card1 = await miroFetch(`/v2/boards/${boardId}/cards`, 'POST', {
data: { title: 'Design API schema', description: 'OpenAPI 3.1 spec' },
position: { x: 0, y: -200 }, // Inside todo frame
parent: { id: todoFrame.id },
});
const card2 = await miroFetch(`/v2/boards/${boardId}/cards`, 'POST', {
data: { title: 'Implement auth', description: 'OAuth 2.0 flow' },
position: { x: 500, y: -200 },
parent: { id: doingFrame.id },
});
// Connect cards to show dependency
await miroFetch(`/v2/boards/${boardId}/connectors`, 'POST', {
startItem: { id: card1.id, snapTo: 'right' },
endItem: { id: card2.id, snapTo: 'left' },
captions: [{ content: 'blocks' }],
style: { endStrokeCap: 'stealth', strokeStyle: 'dashed' },
});
}
| Error | Status | Cause | Solution |
|---|---|---|---|
connectorStartItemNotFound | 404 | Start item deleted | Verify both items exist |
connectorEndItemNotFound | 404 | End item deleted | Verify both items exist |
invalidImageUrl | 400 | URL inaccessible | Check URL is publicly reachable |
imageTooLarge | 400 | File exceeds size limit | Resize image before upload |
embedUrlNotSupported | 400 | URL cannot be embedded | Check Miro's supported embed providers |
For common errors and troubleshooting, see miro-common-errors.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flight505/skill-forge --plugin miro-pack24 skills in this plugin
/miro-ci-integrationConfigure CI/CD pipelines for Miro REST API v2 integrations with GitHub Actions,
test board isolation, and automated validation.
Trigger with phrases like "miro CI", "miro GitHub Actions",
"miro automated tests", "CI miro", "miro pipeline".
/miro-common-errorsDiagnose and fix Miro REST API v2 errors by HTTP status code.
Use when encountering Miro API errors, debugging failed requests,
or troubleshooting authentication and permission issues.
Trigger with phrases like "miro error", "fix miro",
"miro not working", "debug miro", "miro 401", "miro 403", "miro 429".
/miro-core-workflow-aManage Miro boards and items — create, read, update, delete boards,
sticky notes, shapes, cards, frames, and tags via REST API v2.
Trigger with phrases like "miro board management", "create miro board",
"miro items CRUD", "miro sticky notes", "organize miro board".
/miro-cost-tuningOptimize Miro API costs through credit monitoring, request reduction,
and plan selection based on the credit-based rate limiting model.
Trigger with phrases like "miro cost", "miro billing",
"reduce miro costs", "miro pricing", "miro credits usage".
/miro-data-handlingImplement Miro REST API v2 data handling with PII detection in board content,
data export via API, retention policies, and GDPR/CCPA compliance patterns.
Trigger with phrases like "miro data", "miro PII",
"miro GDPR", "miro data export", "miro privacy", "miro compliance".
/miro-debug-bundleCollect Miro REST API v2 diagnostic evidence for support tickets.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic information for Miro integration problems.
Trigger with phrases like "miro debug", "miro support bundle",
"collect miro logs", "miro diagnostic", "miro support ticket".
Other plugins' skills for the same job