openwork-docker-chrome-mcp
Original:🇺🇸 English
Translated
Start the OpenWork dev stack via Docker and verify real user flows via Chrome MCP. Triggers when user mentions: - "dev-up.sh" - "docker dev stack" - "verify in chrome mcp" - "test the real flow"
3installs
Sourcedifferent-ai/openwork
Added on
NPX Install
npx skill4agent add different-ai/openwork openwork-docker-chrome-mcpTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Quick Usage (Already Configured)
1) Start the dev stack (Docker)
Run from the OpenWork repo root:
bash
packaging/docker/dev-up.shThis prints:
- Web UI URL (http://localhost:<WEB_PORT>)
- OpenWork server URL (http://localhost:<OPENWORK_PORT>)
- Token file path () containing
tmp/.dev-env-<id>+OPENWORK_TOKENOPENWORK_HOST_TOKEN - A command that stops this stack
docker compose ... down
2) Verify a real UI flow (Chrome MCP)
Minimum gate:
- Open the printed Web UI URL.
- Navigate to the session/chat surface (typically ).
/session - Send a message (example: ).
smoke: hello from chrome mcp - Confirm a response renders in the UI.
Chrome MCP tool recipe (typical):
- (optional: see existing tabs)
chrome-devtools_list_pages - with the Web UI URL (or
chrome-devtools_new_pageif a page is already open)chrome-devtools_navigate_page - to locate the chat input + Send button uids
chrome-devtools_take_snapshot - the chat input uid with your message
chrome-devtools_fill - the Send button uid
chrome-devtools_click - a distinctive piece of response text (or re-snapshot until the response appears)
chrome-devtools_wait_for - (save to
chrome-devtools_take_screenshotwhen possible)/tmp/...png - If debugging:
chrome-devtools_list_console_messages
Evidence:
- Take a Chrome MCP screenshot after the response appears.
- If something fails, capture console logs and (optionally) Docker logs.
3) Stop the stack
Use the exact command printed by .
docker compose -p ... downdev-up.shIf you lost it, you can find the project name via:
bash
docker ps --format '{{.Names}}' | rg '^openwork-dev-'Then stop it (replace ):
<project>bash
docker compose -p <project> -f packaging/docker/docker-compose.dev.yml downRequired Gate (Non-Negotiable)
- Any user-facing change or change that touches remote behavior must be validated end-to-end in the running UI.
- The change is not "done" until it succeeds via Chrome MCP against the Docker dev stack started by .
packaging/docker/dev-up.sh
Common Gotchas
- Docker is required (and the CLI must be available on PATH).
docker - uses random host ports; do not assume
dev-up.sh/5173.8787 - If the UI looks up but is disconnected, confirm you opened the printed URL and that headless is healthy.