feat: add miro-agent skill with CLI, MCP, and browser tool routing#26
Open
mirowolff wants to merge 3 commits intomiroapp:mainfrom
Open
feat: add miro-agent skill with CLI, MCP, and browser tool routing#26mirowolff wants to merge 3 commits intomiroapp:mainfrom
mirowolff wants to merge 3 commits intomiroapp:mainfrom
Conversation
preflight.sh was silently skipping MCP verification, allowing the agent to proceed with partial OAuth scopes (context_* works but CRUD fails with "Board access denied"). Now the JSON output includes an mcp field forcing the agent to call board_list_items before continuing, and SKILL.md treats any failure as a hard STOP with user-facing next steps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skills/miro-agent/— a skill that routes Miro board interactions to the optimal tool (MCP, miroctl CLI, or agent-browser)Files
SKILL.mdagents.mdreference/miroctl.md+miroctl-quick.mdreference/miro-mcp.md+miro-mcp-quick.mdreference/agent-browser.md+agent-browser-quick.mdreference/tool-selection.mdscripts/preflight.shscripts/test-playbook.mdTest Playbook
The playbook (
scripts/test-playbook.md) validates the skill end-to-end on a fresh board:Test Setup
Creates a temporary board via
miroctl boards create, runs preflight, verifies MCP connectivity.Part 1 — CLI tests (18 tests):
--all(offset-based pagination)--limit 5should fail with 400)Part 2 — MCP tests (13 tests):
context_explore— discover board structurecontext_get— AI summary of frame contentsboard_list_items— filtered by typedoc_create/doc_get/doc_update— full document lifecyclediagram_get_dsl+diagram_create— flowchart creationtable_create/table_sync_rows/table_list_rows— table lifecycle with filteringimage_get_data/image_get_url— image retrievalCleanup:
Deletes the test board and temp files.
What to watch for: Tool routing correctness, quick ref usage (not loading full refs), frame two-step pattern, sleep after upload, board ID quoting,
--allcaveat on cursor-based endpoints, minimum limit enforcement, MCP→CLI fallback behavior.