/assay:connectfrom assay
Connect, reconnect or troubleshoot a dashboard MCP server so its tools show up for the assay plugin. Use when the tool list has no describe_dashboard tool, the user says the dashboard or its tools disappeared, asks how to connect a dashboard or where its MCP address comes from, got a 401 / needs to re-authorize, or is setting up a new machine. Read-only: it diagnoses, then walks the user through the connectors UI or prints the mcp add / login commands for them to run. Not for questions about the numbers on a dashboard that is already visible — that is assay:ask. 连接或修复数据看板(只做只读诊断,步骤和命令交给用户自己做): 用户说「看不到看板」「工具不见了」「怎么连看板」「MCP 地址哪里拿」「授权过期了」「401」「换了台电脑」时使用; 看板连着、只是数字有疑问,走 assay:ask。
Ships in assay. 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.
连接这一步你可以执行的命令只有 claude --version、codex --version、claude mcp list、codex mcp list。
mcp add、plugin install、mcp login 一律由用户在自己的终端里粘贴执行 —— 理由:
新加的 server 当前会话看不到,用户随后会以为没成功;Codex 的授权命令会阻塞等浏览器,
跑在你这里用户看不到那条链接。把要执行的命令原样打印给他,说明「退出会话、在终端里跑、再重开」。
先看工具表里有没有以 describe_dashboard 结尾的工具,再问用户是「从没连过」还是「之前能用」。
| 状态 | 处方 |
|---|---|
| 从没连过 | 走第 2 节 |
| 之前能用、工具不见了 | 授权过期。看板的工具会整个消失而不是报错。连接器路径:回到连接器里重新连一次;命令行路径:claude mcp list / codex mcp list 看到条目还在但未连接 → 重新授权(Codex 是 codex mcp login board-<看板id>),不要重新注册 |
| 换了台电脑 | 完整重做第 2 节。旧机器的授权仍然有效,目前无法自助吊销,会随令牌上限自然过期 |
不开终端的路径(推荐给产品经理): 打开看板网页 → 找「在 AI 里用」或连接说明 → 复制 MCP 地址 → Claude 设置 → 连接器 → 添加自定义连接器 → 粘贴 → 用公司邮箱登录 → 授权。
命令行路径(工程):
claude mcp add --transport http board-<看板id> <MCP 地址>,然后重开会话,/mcp 里完成授权。codex mcp add board-<看板id> --url <MCP 地址> --oauth-client-registration dcr,
然后 codex mcp login board-<看板id>,新开 thread。MCP 地址只从看板网页或 describe_dashboard 返回的 connect.mcpUrl 来,本 skill 不含任何地址。
codex --version 在 PATH 上解析到的那个必须 ≥ 0.149。
already exists:条目已在,不要再加;若未连接就走重新授权。重开会话、看板工具出现后(此时由 assay:ask 接手),第一次调 describe_dashboard 时除了 capabilities,
也看一眼 repos 和 repos.guidance:那是这个看板关联的代码仓,每条的 role / purpose 说明它管哪一端,
guidance 是部署方写的溯源指引。以后排除口径问题后数字仍不对劲,assay:ask 第 5 节会按 guidance 去这些仓溯源、
先查已有 PR / issue、没有再开并跟进到解决,不停在报告上(权限与确认规则以 assay:ask 第 5 节为准)。本 skill 只提醒你 repos 存在,不做任何写操作。
repos 缺失或 repos.items 为空 → 这个看板不支持溯源,问题走 escalation.contact;issueTargetId 为 null 只表示没有缺省的开 issue 目标仓。
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/askAsk a connected data dashboard a product or marketing data question — revenue, orders, signups, DAU, conversion, ARPU, retention, A/B tests, funnels, event tracking and custom cohorts or paths — and analyze the answer by the dashboard's own definitions (describe_dashboard first). Use when the user asks how a metric moved, why a number looks wrong, whether an experiment won, where users drop off, wants to compare periods, or wants a suspicious number traced to its code repo and an issue / PR filed or followed up. Not for connecting, re-authorizing or locating a dashboard's MCP address — that is assay:connect. 向连上的数据看板提问、做数据分析并按看板口径作答:收入、订单、新增、活跃、转化率、ARPU、留存、AB 实验、漏斗、埋点事件、复杂人群与路径。 用户问「上周多少单」「收入对不上」「转化率怎么掉了」「漏斗哪一步在漏」「实验跑赢了没」「埋点没数据了」「帮我查是哪端的问题」「帮我记个问题跟进」时使用; 「看不到看板」「授权过期」走 assay:connect。
/listList the dashboards connected in this session (read-only — fetches no data, changes no config). Use when the user asks which dashboards are connected or wants an inventory before asking a question. 列出当前连上的数据看板(只读,不取数、不改配置)。用户问「连了哪些看板」「有哪些看板」时使用。
Other plugins' skills for the same job
npx claudepluginhub xmindltd/assay --plugin assay