askill
web

webSafety 90Repository

Use to browse or verify external info—run web searches, open pages, drive Chrome via CDP tools, and cite sources when facts may be outdated, niche, or user-requested.

14 stars
1.2k downloads
Updated 12/18/2025

Package Files

Loading files...
SKILL.md

Web (search + browse + cite + CDP)

Overview

Default to web search when info may have changed, is niche, or the user asks. Use web.run for queries; follow citation rules and prefer authoritative sources. If interaction with a live page is needed, start Chrome with the bundled CDP helpers (tools/start.js, nav.js, eval.js, pick.js, screenshot.js, click-link.js).

When to Use

  • User says search/browse/look up/verify.
  • Topics likely to change: news, prices, releases, schedules, policies, versions, CEOs, rankings, travel, recommendations.
  • Niche/uncertain terms or potential typos.
  • Need direct quotes/links/citations.
  • Need to click, navigate, or extract structured data from a live site (use CDP tools).

Core Pattern

  1. Clarify intent + recency if not given.
  2. Issue 1–3 targeted search_query calls (diverse terms/domains as needed).
  3. Open promising results; skim with find for key patterns (names, dates, numbers).
  4. Extract 3–5 load-bearing facts; ensure dates are explicit.
  5. Cite each non-obvious fact with citeturnX… immediately after the sentence.
  6. State assumptions; if data missing, say so briefly.
  7. If interaction is required, start Chrome and use CDP helpers (below) to click/navigate/screenshot.

Query Tips

  • Add qualifiers: site:docs.example.com, version numbers, region.
  • For names with ambiguity, include org or role.
  • For recency: set recency days on search_query when asking “today/latest”.
  • Run multiple queries in one search_query array to save turns.

Reading & Validation

  • Check publish date vs event date; prefer the latest credible source.
  • Cross-check at least two domains for important claims.
  • Avoid low-trust domains unless only source; if used, flag confidence.

CDP Browser Controls (Chrome DevTools Protocol)

  • Start Chrome with remote debugging on :9222
    ./tools/start.js          # fresh profile
    ./tools/start.js --profile # reuse your profile/cookies
    
  • Navigate current tab or open new tab
    ./tools/nav.js https://example.com
    ./tools/nav.js https://example.com --new
    
  • Evaluate JS in active tab
    ./tools/eval.js 'document.title'
    ./tools/eval.js 'document.querySelectorAll(\"a\").length'
    
  • Screenshot current viewport
    ./tools/screenshot.js
    
  • Pick elements interactively
    ./tools/pick.js "Click the submit button"
    
  • Click a known link/text
    ./tools/click-link.js "Submit"
    
  • All CDP scripts live in skills/web/tools/; ensure they’re executable.

Citations

  • Place after punctuation; avoid bold/italics/code fences.
  • Group multiple sources: citeturn2search1turn2open0
  • Cite every fact that isn’t obvious or could have changed since 2024.
  • Don’t paste raw URLs; citations render as links.

Output Style

  • Be concise; surface the answer first, then short context.
  • Include exact dates (e.g., “as of 2025-12-12”).
  • If unresolved, say what you tried and what’s missing.

Red Flags

  • Answering from memory when the topic is time-sensitive.
  • No dates on “latest/new/current”.
  • Failing to cite or citing irrelevant pages.
  • Over-long quotes; keep ≤25 words per source.
  • Ignoring conflicting sources—mention disagreement briefly.
  • Using CDP without starting Chrome on :9222 via tools/start.js.
  • Forgetting to give citations when summarizing CDP-derived content.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

72/100Analyzed 2/19/2026

Well-structured skill covering web search, browsing, and CDP browser controls with clear sections, concrete commands, and good safety guidance. High internal_only signal due to .codex path and repo-specific tooling. Actionable and comprehensive but limited reusability outside this specific dotfiles repo."

90
85
70
85
80

Metadata

Licenseunknown
Version-
Updated12/18/2025
Publishergakonst

Tags

No tags yet.