you-web-search
БесплатноБез исполняемых скриптовНе проверенWeb search using You.com Search API with high-quality, cited results — runs keyless out of the box; YDC_API_KEY unlocks higher limits and real-time web crawling
от aeonfun★ 801 звезда на GitHubОб этом скилле
${var} — Search query or topic. When empty, uses a general search for current notable developments across tracked areas.
Today is ${today}. Perform web search using You.com's Search API to find current, high-quality information on ${var}.
Overview
This skill provides web search functionality via You.com's Search API, offering several advantages over basic WebSearch:
- Higher quality results with relevance ranking and citation extraction
- Works with zero configuration — no key, wallet, or sign-up needed for the keyless tier
- Real-time web crawling for fresh content when
livecrawl=webis enabled (keyed tier) - Structured result format with titles, URLs, snippets, and publication dates
- Optional livecrawl control through
YOUCOM_LIVECRAWLwhen a full page fetch is useful
Auth modes
| Mode | When | Endpoint | Limits |
|---|---|---|---|
keyless |
YDC_API_KEY unset |
https://api.you.com/v1/agents/search |
100 searches/day per IP, no livecrawl |
keyed |
YDC_API_KEY set |
https://api.you.com/v1/search |
Your plan's limits, livecrawl available |
Phase 1 — Execute Search
Auth Mode
Key check: read the "Keys set for this run" line in your run notes, never a shell test (those are refused and cost a turn). YDC_API_KEY on that line = AUTH_MODE keyed, not on it = keyless. Read the two optional settings with one call:
node -e 'console.log("freshness=" + (process.env.YOUCOM_FRESHNESS || "week") + " livecrawl=" + (process.env.YOUCOM_LIVECRAWL || ""))'
It prints FRESHNESS (default week) and LIVECRAWL (empty when unset).
A missing key is not an error — the skill runs on the keyless tier.
API Call
Both modes call the same REST contract through ./secretcurl. In keyed mode the {YDC_API_KEY} placeholder is substituted inside the helper; in keyless mode no key header is sent at all.
QUERY = ${var}, or current notable developments in AI, crypto, and technology when it is empty. COUNT = 10. Make exactly one call for the AUTH_MODE you got, with QUERY, FRESHNESS and LIVECRAWL written in literally (--data-urlencode does the URL encoding).
keyed (livecrawl is a keyed-tier feature; the keyless endpoint answers it with 402). Add the livecrawl line only when LIVECRAWL is non-empty:
./secretcurl -s -o /tmp/youcom-search.json -w 'youcom http=%{http_code} auth_mode=keyed bytes=%{size_download}\n' \
--max-time 30 -G "https://api.you.com/v1/search" \
--data-urlencode "query=<QUERY>" --data-urlencode "count=10" --data-urlencode "safesearch=strict" --data-urlencode "freshness=<FRESHNESS>" \
--data-urlencode "livecrawl=<LIVECRAWL>" \
-H "X-API-Key: {YDC_API_KEY}" \
-H "User-Agent: youdotcom-integration/aeonfun-aeon"
keyless. If LIVECRAWL is non-empty, first record that it is skipped:
echo "youcom livecrawl=skipped reason=keyless (set YDC_API_KEY to enable)"
Then:
./secretcurl -s -o /tmp/youcom-search.json -w 'youcom http=%{http_code} auth_mode=keyless bytes=%{size_download}\n' \
--max-time 30 -G "https://api.you.com/v1/agents/search" \
--data-urlencode "query=<QUERY>" --data-urlencode "count=10" --data-urlencode "safesearch=strict" --data-urlencode "freshness=<FRESHNESS>" \
-H "User-Agent: youdotcom-integration/aeonfun-aeon"
The -w label prints HTTP (000 on a network failure) and the body size.
Never send the key to the keyless endpoint, and never call the keyed endpoint without a key (it answers with a 402 payment challenge rather than results).
Response Processing
On HTTP=200 with a non-empty body (bytes above 0), extract web and news results using the documented Search API shape, one call:
jq -r '
[
(.results.web[]? | ["web", (.title // ""), (.url // ""), ((.snippets // []) | join(" ")), (.page_age // "recent")]),
(.results.news[]? | ["news", (.title // ""), (.url // ""), ((.snippets // []) | join(" ")), (.page_age // "recent")])
] | .[] | @tsv
' /tmp/youcom-search.json
RESULT_COUNT = the number of rows it printed (state Extracted <N> search results). If jq failed, the parse failed and RESULT_COUNT = 0. On any other HTTP, RESULT_COUNT = 0.
Then decide (in prose, no if/case block). Any non-200, or a 200 with nothing usable, hands the run to the built-in WebSearch:
RESULT_COUNTabove 0:SOURCE_PATH=youcom.RESULT_COUNT= 0:SOURCE_PATH=websearch, withREASON=EMPTY(HTTP 200, parse OK),PARSE(HTTP 200,jqfailed),NETWORK(HTTP000), elseHTTP_<code>. Record it with one call, values written in literally:echo "youcom fallback=websearch reason=<REASON> auth_mode=<AUTH_MODE>"
WebSearch Fallback
When SOURCE_PATH=websearch, don't end the run empty. Run the same query (QUERY) through the built-in WebSearch tool and continue to Phase 2 with those results. The log line above is the record of why:
youcom fallback=websearch reason=HTT
Установить you-web-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл you-web-search?
Web search using You.com Search API with high-quality, cited results — runs keyless out of the box; YDC_API_KEY unlocks higher limits and real-time web crawling
Как установить скилл you-web-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл you-web-search запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic