dismiss-cookie-banner
Detects and dismisses cookie consent banners on any site. Use on the first interaction after navigation to any page that may show a banner.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detects and dismisses cookie consent banners on any site. Use on the first interaction after navigation to any page that may show a banner.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Signs into a site using credentials provided via `vars` (typically sourced from environment variables) or via a pre-saved Playwright persistent context. Never harvests or stores credentials. See docs/ethics.md.
Detects whether the current page contains a captcha challenge (reCAPTCHA, hCaptcha, Cloudflare Turnstile, GeeTest, etc.). Reports detection and stops. Never attempts to solve. See docs/ethics.md.
Extract structured data from an HTML table, optionally walking through paginated views. Returns a list of row dicts keyed by header cells. The demo skill (used to monitor conference paper lists).
Confirms that the current page has finished loading and is ready for interaction. Detects loading spinners, skeleton screens, and content placeholders. Run before extraction skills.
Fills a multi-step form (stepper wizard) by routing labeled fields to values from `vars`, clicking "Next" between steps, and submitting at the end. Pairs with the `searchable-dropdown` and `date-picker-widget` skills for compound widgets.
Uploads a local file to an HTML5 file input, or triggers a download and captures the resulting path. Composes with multi-step-form for file-attaching workflows.
| name | dismiss-cookie-banner |
| description | Detects and dismisses cookie consent banners on any site. Use on the first interaction after navigation to any page that may show a banner. |
| version | 0.1.0 |
| allowed-tools | ["wait_for_dom_ready","wait","try_each","assert"] |
| metadata | {"applies_to":"any-website","url_patterns":["*"],"dom_markers":["[aria-label*='cookie' i]","#onetrust-banner-sdk",".cc-window","[id*='cookie' i][role='dialog']"],"flake_rate_target":0.05,"flake_rate_measured":null,"exercised_on":["bbc-home","guardian-home","nytimes-home"],"cost_budget":{"deterministic_only":false,"max_vision_calls":1},"sensitive":false} |
On the first interaction after navigating to a new page, before the agent attempts to interact with content. Especially relevant for sites in EU, UK, California, or Chinese jurisdictions, where banners are near-universal.
The matcher will assign this skill a high score when:
is_initial_load = truecookies_present = true and DOM contains a cookie-related markerfailed and the agent decides.<iframe>) cannot be clicked through Playwright's default context. We report failed with reason="iframe_cross_origin".reject-cookie-banner skill (post-launch) or override the recipe via the agent.Agent: "Go to bbc.com and tell me the top story."
→ matcher selects [dismiss-cookie-banner, verify-page-loaded, extract-text]
→ invoke_skill("dismiss-cookie-banner") → success in 207ms, deterministic_path=true
→ invoke_skill("verify-page-loaded") → success in 84ms
→ agent reads the top story headline directly
verify-page-loaded — typically chained immediately after this onedismiss-newsletter-popup — sometimes co-occurs on news sitesexit-tracking-popup — for the rare "we use cookies for analytics" upsells that aren't the main consent UI