kumo / kumo-screenshot-worker
AGENTS.md3.9k starsChanged 4 months agoMITView on GitHub
Cloudflare Worker that uses Puppeteer + Browser Rendering to capture screenshots of Kumo docs pages. Used for visual regression testing. Parent: See root AGENTS.md for monorepo context. Never commit secret values. .dev.vars is gitignored at the root level. All requests require X-API-Key: <API_KEY> header. Returns { results: ScreenshotResult[] } where each result has a base64-encoded image or an error string. Limits: max 50 pages per batch, max 64 KB per css action payload. When captureSections: true, the worker looks for…
- Reads credentials
Trending
More talk lately.about the whole repository
Who's talking about cloudflare/kumo
- @adityamitra.bsky.social“github.com/cloudflare/k... @cloudflare.social building awesome open source stuff #opensource #design …”Bluesky · Apr 22, 2026 · 3 likes
- nexu-io/open-design“feat(design-systems): add Cloudflare Kumo UI”GitHub · Aug 11, 2026 · 2 reactions
- cloudflare/cloudflare-os“Bump the react-and-ui group with 4 updates”GitHub · Sep 1, 2026 · 1 reactions
- cloudflare/cloudflare-os“Bump the react-and-ui group across 1 directory with 6 updates”GitHub · Aug 13, 2026 · 1 reactions
- cloudflare/workerd“pin OpenCode to "1.4.6"”GitHub · Apr 22, 2026 · 1 reactions
The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 49
Talked about on GitHub and Bluesky (49 times).
On GitHub · 48
- Aug 11, 2026feat(design-systems): add Cloudflare Kumo UI — nexu-io/open-design2 reactions · 5 comments
- Sep 1, 2026Bump the react-and-ui group with 4 updates — cloudflare/cloudflare-os1 reaction · 3 comments
- Aug 13, 2026Bump the react-and-ui group across 1 directory with 6 updates — cloudflare/cloudflare-os1 reaction · 2 comments
- Apr 22, 2026pin OpenCode to "1.4.6" — cloudflare/workerd1 reaction · 2 comments
- Oct 2, 2026Bump the npm-non-major group across 1 directory with 20 updates — ankka-ai/ankka-mcp-gateway0 reactions
43 more on GitHub
- Oct 1, 2026Bump the react-and-ui group across 1 directory with 7 updates — vnikhilbuddhavarapu/peer-point-cloudflare-os0 reactions
- Oct 1, 2026Bump the react-and-ui group across 1 directory with 7 updates — erxes/cloudflare-os-erxes0 reactions · 2 comments
- Oct 1, 2026Bump the react-and-ui group with 3 updates — cloudflare/cloudflare-os0 reactions · 2 comments
- Sep 29, 2026Bump the cloudflare group across 1 directory with 4 updates — VortexNYC/seal0 reactions · 2 comments
- Sep 28, 2026Bump the minor-patch group across 1 directory with 3 updates — Vortexmind/cf-zt-m365-split-tunnel-automation0 reactions · 2 comments
- Sep 27, 2026build(deps): bump @cloudflare/kumo from 2.13.2 to 2.14.0 — roerohan/automations0 reactions
- Sep 26, 2026agent-skills.github.cloudflare.kumo: init at 2.14.0 — sudosubin/agents.nix0 reactions
- Sep 25, 2026Bump the react-and-ui group with 7 updates — batd-htplus/batd-os0 reactions
- Sep 23, 2026build(deps): bump @cloudflare/kumo from 2.8.0 to 2.14.0 in /frontend — misaka310/video-highlights-site0 reactions · 1 comment
- Sep 23, 2026build(deps): bump @cloudflare/kumo from 2.13.2 to 2.14.0 — dedkola/vercelab0 reactions · 1 comment
- Sep 22, 2026chore(deps): bump @cloudflare/kumo from 2.13.2 to 2.14.0 — dedkola/homelab-index0 reactions · 2 comments
- Sep 21, 2026Bump the react-and-ui group across 1 directory with 7 updates — RoderickOxen/foundation-os0 reactions
- Sep 21, 2026Bump the minor-patch group with 4 updates — Vortexmind/cf-zt-m365-split-tunnel-automation0 reactions · 3 comments
- Sep 21, 2026build(deps): bump @cloudflare/kumo from 2.6.0 to 2.14.0 — codebam/seanbehan.ca0 reactions
- Sep 19, 2026Bump the react-and-ui group with 7 updates — ramihollings/supros-compute-source-fixture0 reactions
- Sep 19, 2026Bump @cloudflare/kumo from 2.13.2 to 2.14.0 in the design group — demosjarco/Cloudflare-One-DNS-Privacy-AdBlock0 reactions · 2 comments
- Sep 16, 2026Bump the npm group across 1 directory with 9 updates — kagamirror123/side-filters0 reactions
- Sep 16, 2026Bump the react-and-ui group across 1 directory with 4 updates — cloudflare/cloudflare-os0 reactions · 3 comments
- Sep 16, 2026build(deps): bump @cloudflare/kumo from 2.13.1 to 2.13.2 — dedkola/vercelab0 reactions · 2 comments
- Sep 15, 2026chore(deps): bump the compatible-updates group across 1 directory with 13 updates — Compfest18-AgusLaparBuk/boundary-prince0 reactions
- Sep 15, 2026Bump the react-and-ui group with 3 updates — cloudflare/cloudflare-os0 reactions · 4 comments
- Sep 15, 2026chore(deps): bump @cloudflare/kumo from 2.13.1 to 2.13.2 — dedkola/homelab-index0 reactions · 2 comments
- Sep 14, 2026build(deps): bump @cloudflare/kumo from 2.6.0 to 2.13.2 — codebam/seanbehan.ca0 reactions · 1 comment
- Sep 13, 2026chore(deps): bump the compatible-updates group across 1 directory with 13 updates — AgusLaparBukTeam/Agus-Lapar-Buk0 reactions
- Sep 9, 2026build(deps): bump @cloudflare/kumo from 2.12.0 to 2.13.1 — dedkola/vercelab0 reactions · 1 comment
- Sep 8, 2026chore(deps): bump @cloudflare/kumo from 2.12.0 to 2.13.1 — dedkola/homelab-index0 reactions · 11 comments
- Sep 7, 2026build(deps): bump @cloudflare/kumo from 2.10.0 to 2.13.1 — Beicho/arkadia-sub0 reactions
- Sep 7, 2026build(deps): bump @cloudflare/kumo from 2.6.0 to 2.13.1 — codebam/seanbehan.ca0 reactions · 1 comment
- Sep 6, 2026Bump @cloudflare/kumo from 2.7.0 to 2.13.0 in /dashboard — kossisoroyce/Tenta0 reactions
- Sep 1, 2026Bump the react-and-ui group across 1 directory with 4 updates — erxes/cloudflare-os-erxes0 reactions · 3 comments
- Aug 30, 2026Bump @cloudflare/kumo from 2.7.0 to 2.12.0 in /dashboard — kossisoroyce/Tenta0 reactions · 1 comment
- Aug 26, 2026Bump the react-and-ui group with 3 updates — erxes/cloudflare-os-erxes0 reactions · 2 comments
- Aug 24, 2026build(deps): bump @cloudflare/kumo from 2.10.0 to 2.12.0 — Beicho/arkadia-sub0 reactions · 1 comment
- Aug 24, 2026chore(deps): bump @cloudflare/kumo from 2.9.0 to 2.12.0 — sincanmaulanaa/inovamedika-frontend0 reactions
- Aug 23, 2026Bump @cloudflare/kumo from 2.7.0 to 2.11.0 in /dashboard — kossisoroyce/Tenta0 reactions · 1 comment
- Aug 17, 2026chore(deps): bump @cloudflare/kumo from 2.9.0 to 2.10.0 — sincanmaulanaa/inovamedika-frontend0 reactions · 1 comment
- Aug 16, 2026Bump @cloudflare/kumo from 2.7.0 to 2.10.0 in /dashboard — kossisoroyce/Tenta0 reactions · 1 comment
- Aug 13, 2026Bump @cloudflare/kumo from 2.9.0 to 2.9.2 — lazytechai/tokapi-anthropic-console0 reactions
- Aug 10, 2026chore(deps): bump @cloudflare/kumo from 2.9.0 to 2.9.2 — sincanmaulanaa/inovamedika-frontend0 reactions · 1 comment
- Jul 23, 2026`vp migrate` silently drops custom lint rules when a `jsPlugin`'s namespace can't be derived — voidzero-dev/vite-plus0 reactions
- May 16, 2026chore(deps): bump @cloudflare/kumo from 1.16.0 to 2.2.1 — IcyBlue17/Blue-Archive-NET0 reactions · 2 comments
- Mar 24, 2026Add Kumo (Cloudflare) categorical palette — joaopalmeiro/d3-extra-scale-chromatic0 reactions
- Nov 21, 2025User interface — panodata/suraya0 reactions · 4 comments
On Bluesky · 1
- Apr 22, 2026github.com/cloudflare/k... @cloudflare.social building awesome open source stuff #opensource #design #cloudflare #dashboard #component… — @adityamitra.bsky.social3 likes and reposts
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ci/AGENTS.mdAGENTS.md
- packages/kumo/AGENTS.mdAGENTS.md
- packages/kumo-docs-astro/AGENTS.mdAGENTS.md
- packages/kumo-docs-astro/src/components/demos/AGENTS.mdAGENTS.md
- packages/kumo-figma/AGENTS.mdAGENTS.md
- packages/kumo-figma/src/generators/AGENTS.mdAGENTS.md
- packages/kumo/src/components/AGENTS.mdAGENTS.md
- index-knowledgeSkill
- kumo-designSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 48
All requests require X-API-Key: <API_KEY> header.
- Very specific: line 71
When captureSections: true, the worker looks for elements with data-vr-demo, data-vr-section, and data-vr-title attributes in the DOM.
- Very specific: line 75
URL validation: all Browser Rendering targets must be https:// and match the explicit Kumo docs allowlist (kumo-ui.com, …
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Screenshot Worker (@cloudflare/kumo-screenshot-worker)
Cloudflare Worker that uses Puppeteer + Browser Rendering to capture screenshots of Kumo docs pages. Used for visual regression testing.
Parent: See root AGENTS.md for monorepo context.
STRUCTURE
kumo-screenshot-worker/
├── src/
│ └── index.ts # Worker entry — auth, validation, screenshot logic
├── wrangler.jsonc # Worker config (no secrets committed)
├── tsconfig.json # Workers + DOM lib (DOM needed for evaluate() callbacks)
├── .dev.vars.example # Template for local secrets
└── AGENTS.md # This fileSETUP
Local dev:
cp .dev.vars.example .dev.vars # then fill in API_KEY
pnpm --filter @cloudflare/kumo-screenshot-worker devDeploy:
# Set secret (one-time per environment):
pnpm --filter @cloudflare/kumo-screenshot-worker exec wrangler secret put API_KEY
# Deploy:
pnpm --filter @cloudflare/kumo-screenshot-worker deploySECRETS
| Name | How set | Description |
API_KEY | wrangler secret put API_KEY | Shared secret sent as X-API-Key request header |
Never commit secret values. .dev.vars is gitignored at the root level.
API
All requests require X-API-Key: <API_KEY> header.
POST /batch
{
"baseUrl": "https://kumo-ui.com",
"pages": [
{
"url": "/components/button",
"captureSections": true,
"viewport": { "width": 1440, "height": 900 }
}
]
}Returns { results: ScreenshotResult[] } where each result has a base64-encoded image or an error string.
Limits: max 50 pages per batch, max 64 KB per css action payload.
Section Capture
When captureSections: true, the worker looks for elements with data-vr-demo, data-vr-section, and data-vr-title attributes in the DOM. These are set via vrSection and vrTitle props on ComponentExample.astro in the docs site.
SECURITY NOTES
- URL validation: all Browser Rendering targets must be
https://and match the explicit Kumo docs allowlist (kumo-ui.com,staging.kumo-ui.com, and Kumo docs preview deployments). Do not replace this with a private-IP denylist; IP notation edge cases can bypass incomplete filters. - Selector injection prevention:
sectionSelectorfrom the request is passed as a parameter topage.evaluate(), never interpolated into eval strings. - CORS: restricted to the same Kumo docs allowlist used for navigation targets.
COMMANDS
pnpm --filter @cloudflare/kumo-screenshot-worker dev # Local dev server
pnpm --filter @cloudflare/kumo-screenshot-worker deploy # Deploy to Cloudflare
pnpm --filter @cloudflare/kumo-screenshot-worker typecheck # TypeScript check
pnpm --filter @cloudflare/kumo-screenshot-worker lint # vp lint (Oxlint)NOTES
tsconfig.jsonincludes"DOM"inlib— required so TypeScript understands the DOM code insidepage.evaluate()callbacks, even though the Worker host has no DOM.Bufferusage requiresnodejs_compatflag inwrangler.toml(already set).- A fresh browser page is created per URL to prevent cookie/localStorage/style bleed between pages.
- External endpoint:
kumo-screenshot-worker.design-engineering.workers.dev
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

