AGENT SKILL

web-search

Search the web, fetch content, extract branding profiles, and capture screenshots from URLs. Use for real-time information, API documentation, current events, design matching, and visual reference.

License 许可
MIT
最近更新
2026-08-01
Stars
★ 2
Forks
3

01 前言 Front Matter

name
web-search
description
Search the web, fetch content, extract branding profiles, and capture screenshots from URLs. Use for real-time information, API documentation, current events, design matching, and visual reference.

02 资源文件 1

03 SKILL.md 正文

Web Search Skill

When to Use

  • Real-time information (news, prices, events)
  • Looking up API documentation or SDK guides
  • Current technical information beyond training data
  • Verifying facts from authoritative sources

When NOT to Use

  • Replit-specific features (use the replit-docs skill)
  • Searching for real web images or logo files (use the image-search skill)
  • Image or video generation (use the media-generation skill)
  • Code search within the project (use grep/glob tools)

Available Functions

Single web search — webSearch(query)

Parameters:

  • query (str, required): Natural language search query phrased as a complete question

Returns: Dict with searchAnswer and resultPages (list of title/url/snippet dicts)

Example:

const results = await webSearch({ query: "OpenAI API rate limits 2026" });
for (const page of results.resultPages) {
    console.log(`${page.title}: ${page.url}`);
}

Multiple web searches — webSearch({ queries })

Run multiple searches concurrently (max 10).

Parameters:

  • queries (list[str]): List of natural language search queries phrased as complete questions

Returns: List of result dicts, each with searchAnswer and resultPages (list of title/url/snippet dicts)

Example:

const results = await webSearch({
    queries: ["OpenAI API rate limits 2026", "Anthropic API rate limits 2026"]
});

webFetch(url)

Fetch and extract content from a URL as markdown.

Parameters:

  • url (str, required): Full HTTPS URL to fetch

Returns: Dict with markdown key containing page content

Example:

const content = await webFetch({ url: "https://platform.openai.com/docs/guides/rate-limits" });
console.log(content.markdown.slice(0, 1000));

Best Practices

  1. Use natural language queries: write queries as complete questions with context.
  2. Chain search and fetch: search first, then fetch specific pages for details.
  3. Be specific: include dates, versions, or other specifics in queries.
  4. Verify with fetch: don't rely only on search snippets for critical information.
  5. Use branding for design matching: when replicating a site's visual style, use extractBranding to get exact colors, fonts, and spacing.
  6. Use screenshot for visual reference: when you need to see what a site looks like before replicating its design.

Example Workflow

// Find information about a topic
const searchResult = await webSearch({ query: "FastAPI dependency injection tutorial 2026" });

// Get full content from the most relevant result
if (searchResult.resultPages.length > 0) {
    const bestUrl = searchResult.resultPages[0].url;
    const fullContent = await webFetch({ url: bestUrl });
    console.log(fullContent.markdown);
}

Limitations

  • Cannot access social media platforms (LinkedIn, Twitter, Instagram, Facebook, Reddit, YouTube)
  • Cannot download media files (images, videos, audio)
  • Paywalled or authenticated content may be inaccessible

Copyright

  • Respect copyright for media content from websites.
  • You can reference or link to public content.
  • Do not copy media files (images, videos, audio) directly from websites.
  • Use the media-generation skill for images and videos instead.

04 同仓库更多 Skills

clawdsolana
clawdsolana/OpenClawd

solana-dev

End-to-end Solana development playbook (Jan 2026). Prefer Solana Foundation framework-kit (@solana/client + @solana/react-hooks) for React/Next.js UI. Prefer @solana/kit for all new client/RPC/transaction code. When legacy dependencies require web3.js, isolate it behind @solana/web3-compat (or @solana/web3.js as a true legacy fallback). Covers wallet-standard-first connection (incl. ConnectorKit), Anchor/Pinocchio programs, Codama-based client generation, LiteSVM/Mollusk/Surfpool testing, and security checklists.

测试与质量
★ 2
clawdsolana
clawdsolana/OpenClawd

xurl

A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.

Skill与智能体开发
★ 2
clawdsolana
clawdsolana/OpenClawd

wurk-integration

WURK API integration for monetizing agents with x402 payments on Solana/Base - create social jobs, custom challenges, and agent help tasks

Skill与智能体开发
★ 2
clawdsolana
clawdsolana/OpenClawd

workflows

Manage application workflows including configuration, restart, and removal.

★ 2
clawdsolana
clawdsolana/OpenClawd

weather

Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.

★ 2
clawdsolana
clawdsolana/OpenClawd

wacli

Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).

★ 2