← スキル一覧に戻る

web
by gakonst
My dotfiles along with a script to deploy them to your environment.
⭐ 14🍴 2📅 2026年1月15日
SKILL.md
name: web description: 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.
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
- Clarify intent + recency if not given.
- Issue 1–3 targeted
search_querycalls (diverse terms/domains as needed). - Open promising results; skim with
findfor key patterns (names, dates, numbers). - Extract 3–5 load-bearing facts; ensure dates are explicit.
- Cite each non-obvious fact with citeturnX… immediately after the sentence.
- State assumptions; if data missing, say so briefly.
- 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
recencydays onsearch_querywhen asking “today/latest”. - Run multiple queries in one
search_queryarray 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: citeturn2search1turn2open0
- 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.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です