doko-page-reader
Installation
SKILL.md
Dokobot Local
Use Dokobot only through the local bridge and the user's Chrome session.
Prerequisites
- Ensure
dokobotCLI is installed. - Ensure Chrome is open with the Dokobot extension enabled.
- Ensure the local bridge is installed with
dokobot install-bridge. - Prefer local browser reading when the page needs JavaScript, an authenticated browser session, or a real browser to bypass bot friction.
Core workflow
- Read the page in local mode:
dokobot read '<URL>' --local
-
If the read fails because no local browser is available, tell the user to open Chrome, enable the Dokobot extension, and verify the local bridge is installed.
-
For long pages, collect more screens or extend timeout:
dokobot read '<URL>' --local --screens 5 --timeout 120
- When the response includes a
sessionIdand more scrolling is needed, continue the same session:
dokobot read '<URL>' --local --session-id <SESSION_ID> --screens 5
- Close the session when finished:
dokobot doko close <SESSION_ID> --local
Commands
Read a page
Use:
dokobot read '<URL>' --local [--screens N] [--timeout S] [--format text|chunks] [--reuse-tab]
Notes:
- Always include
--local. - Use
--screens Nto scroll and capture more content. - Use
--timeout Sfor slow pages. - Use
--format chunksonly when segmented content is needed. - Use
--reuse-tabto avoid opening a new tab for the same URL.
Default text response shape:
{
text?: string
sessionId: string
canContinue: unknown
}
Chunked response shape:
{
text?: string
chunks: Array<{
id: string
sourceIds: Array<string>
text: string
bounds: [number, number, number, number]
zIndex?: number
containerId?: string
}>
sessionId: string
canContinue: unknown
}
Operating rules
- Treat this skill as local-only.
- Keep the command surface minimal: use only
read --localanddoko close --local. - Analyze and summarize content after receiving the raw page text; keep Dokobot focused on extraction.
- Close sessions explicitly when you are done.
- Keep concurrent reads modest; up to 5 parallel reads is a reasonable ceiling.
Troubleshooting
No registered devices.or similar local-connection failures: Ask the user to open Chrome, enable the Dokobot extension, and confirm the local bridge is installed.503: Treat it as no local extension/device available and check the local setup.504: Retry with a larger timeout or fewer screens.422: Treat it as a cancelled or failed local read and retry if appropriate.
Security
- Keep usage local to the user's browser session.
- Treat
readas read-only extraction.