
Inspector Workbench
Runs Inspector UI work on the standalone Threads state lab so the agent can see the...
Install
npx skills add CopilotKit/CopilotKit --skill inspector-workbench -g -a claude-code -y- Repository
- CopilotKit/CopilotKit38.5k
- Category
- Design
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 1,478 tokens
- Runs scripts
- No, instructions only
What it does
Runs Inspector UI work on the standalone Threads state lab so the agent can see the overlay. Use when a CopilotKit employee asks an agent to fix, polish, add, or debug Inspector UI, chrome, panes, overlay actions, launcher, Home, Threads, Playground, Memory, or any visual behavior in @copilotkit/web-inspector. Don't use for docs-only Callout updates (load inspector-docs), runtime or core changes with no Inspector UI, showcase cell work, or reading Inspector as a consumer inside an app.
Inspector Workbench
The Inspector overlay is a visual product. Code that compiles is not proof. The agent must run the standalone workbench and look at screenshots after each visual change.
This skill does not replace inspector-docs. If a pane is added, renamed,
or removed, load inspector-docs as well.
When To Use
Load this skill at the start of any task that changes
packages/web-inspector UI, chrome, or overlay behavior.
Do not load it for docs-only Callout work. Do not load it for showcase cells. If the host app is the bug (z-index against host CSS, CopilotChat layout), use that host, then still take screenshots.
Default host
The default host is the standalone Threads state lab:
- Command, from the repo root:
nx run @copilotkit/web-inspector:dev:standalone - URL:
http://127.0.0.1:5177/?scenario=pro-enabled-existing&reset=1 - The lab mounts the real
cpk-web-inspectorand opens the overlay.
Do not start a showcase app, an example app, or Storybook as the default host. Those are slower and hide Inspector-only faults.
The Nx target runs Vite and the CSS watch together. Do not run Vite alone.
Do not run pnpm --filter @copilotkit/web-inspector run dev. That watch
serves consumers, not this lab.
Procedures
Procedure 1: Start the workbench
- If the change adds, renames, or removes a pane, load
inspector-docstoo. - From the repo root, start
nx run @copilotkit/web-inspector:dev:standalone. - Wait until
http://127.0.0.1:5177serves. - Open the browser tool this session has (Playwright MCP, Claude browser, or Codex computer use).
- Go to
http://127.0.0.1:5177/?scenario=pro-enabled-existing&reset=1. - If the bug is an empty, locked, error, or unread state, pick that scenario in the lab dropdown, then reload.
- Wait until the overlay is open on Home or Threads. The lab clicks the launcher.
- Take a baseline screenshot. Look at it before any edit.


