No slash command · from search
Unified real-time search across 40+ vertical domains (finance, academic, legal, security, etc.) with batch search and URL extraction. Use for fact-checking, structured queries, and multi-intent searches.
Ships in search. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
AnySearch is a unified real-time search service supporting general web search, vertical domain search, parallel batch search, and full-page content extraction. The bundled cross-platform CLI tools call the public HTTP endpoints directly; no MCP server installation or JSON-RPC wrapper is required. Use the configured runtime directly for routine search, batch_search, extract, and get_sub_domains calls; run the doc command only when the CLI interface is unknown or recovery information is needed (see Recommended Entry Point).
This skill SHOULD be activated when the AI agent needs to perform any of the following:
Vertical domain rule: The DEFAULT search path is Path 2 (vertical). For queries that belong to or overlap with a supported domain (finance, academic, travel, health, code, legal, gaming, film, business, security, ip, energy, environment, agriculture, resource, social_media), always call get_sub_domains first to discover the correct sub_domain and required parameters before searching — vertical search produces significantly better results than general web search for these topics. Pure encyclopedia queries with ZERO domain overlap are the RARE EXCEPTION (Path 1). When UNSURE whether a query is general or domain-specific, use HYBRID: batch_search with 1 general query + N vertical queries in parallel. Coverage beats guessing.
Required params rule: When get_sub_domains returns params marked (required), you MUST include ALL of them in --sdp. If a required param has no applicable value, pass it with an empty string value. Omitting a required param will cause a backend validation error. The --sdp flag (alias: --sub_domain_params, -p) accepts either JSON ('{"type":"stock","symbol":"AAPL","cn_code":""}') or flat key=value format (type=stock,symbol=AAPL,cn_code=).
Prefer direct CLI invocation. If <skill_dir>/runtime.conf exists and the requested command shape is already obvious (search, batch_search, extract, or get_sub_domains), the agent SHOULD use the configured command directly and SHOULD NOT run doc on every activation. Run doc only when the CLI interface is unknown, a command fails due to argument/schema uncertainty, the skill was just installed/updated, or vertical-domain constraints require the complete reference. The doc command is offline and remains available for recovery, but repeated metadata reads waste tool calls and tokens.
Use these exact command shapes for routine calls. Replace <cmd> with the command from runtime.conf (for example, python3 <skill_dir>/scripts/anysearch_cli.py). Do not invent extra output-format flags.
# Search. Optional filter: --max_results N (1-10, default 10)
# REST-native --tag/--params are preferred; --domain/--sub_domain/--sdp remain compatibility aliases.
<cmd> search "query" --max_results 5
<cmd> search "AAPL" --tag finance.quote --params type=stock,symbol=AAPL,cn_code=
<cmd> search "latest trends" --domain finance --sub_domain finance.market --sdp region=US,timeframe=2025Q1
# Discover sub-domains. Required before any vertical search.
<cmd> get_sub_domains --domain finance
<cmd> get_sub_domains --domains finance,health
# Batch search — shared params (--domain/--sub_domain/--sdp/--max_results) apply to all queries (per-query fields override).
<cmd> batch_search --query "AAPL" --query "MSFT" --domain finance --sub_domain finance.quote --sdp type=stock,symbol=AAPL,cn_code=
<cmd> batch_search --queries '[{"query":"AAPL","sub_domain_params":"type=stock,symbol=AAPL,cn_code="},{"query":"MSFT","sub_domain_params":"type=stock,symbol=MSFT,cn_code="}]' --domain finance --sub_domain finance.quote
# Shared --max_results (1-10) is injected into every query item that doesn't set its own
<cmd> batch_search --query AAPL --query GOOG --max_results 3
# Hybrid (mixed domains): omit shared params, specify per-query
<cmd> batch_search --queries '[{"query":"quantum computing"},{"query":"QBTS","domain":"finance","sub_domain":"finance.quote","sub_domain_params":"type=stock,symbol=QBTS,cn_code="}]'
# Extract. Output is already Markdown. Supported args are only the URL positional argument or --url/-u.
<cmd> extract "https://example.com/page"
<cmd> extract --url "https://example.com/page"
For extract:
Invalid examples: do not use extract --format markdown, extract --format json, or extract --markdown; the extract command has no format option. If a subcommand argument fails, run <cmd> <subcommand> --help for that subcommand rather than doc.
Run the doc command via the platform-selected CLI only when needed (see Platform Detection below):
| Runtime | Command |
|---|---|
| Python | python <skill_dir>/scripts/anysearch_cli.py doc or python3 <skill_dir>/scripts/anysearch_cli.py doc |
| Node.js | node <skill_dir>/scripts/anysearch_cli.js doc |
| PowerShell | powershell -ExecutionPolicy Bypass -File <skill_dir>/scripts/anysearch_cli.ps1 doc |
| Bash | bash <skill_dir>/scripts/anysearch_cli.sh doc |
Security & Privacy notes:
doc command is a local-only operation and makes no network requests.SHA256SUMS.txt before first use.https://api.anysearch.com. Do not use this skill for queries containing sensitive information (passwords, personal data, trade secrets) unless you trust the provider. https://api.anysearch.com has claimed zero retention execution, zero-knowledge credentials, no tracking, no telemetry, and no logging — your queries stay yours.--api_key CLI flag > .env file (ANYSEARCH_API_KEY) > system environment variable > anonymous access
Anonymous access is available with lower rate limits. An API Key is optional but recommended for higher rate limits. If no key is found, the agent may proceed with anonymous access. If the user wants higher limits, guide them to configure a key securely.
All bundled CLIs automatically load .env from the skill directory at startup (if present). The .env file format:
ANYSEARCH_API_KEY=<your_api_key_here>
| Scenario | Behavior |
|---|---|
| No key | Proceed with anonymous access (lower rate limits). Optionally inform the user that a key provides higher limits. |
| Has key | Key is sent via Authorization: Bearer <key> header. Higher rate limits. |
| Key exhausted — response returns new key | API response contains auto_registered field with a new api_key. Agent MUST: (1) extract the key, (2) ask the user for explicit confirmation before saving, (3) after user approval, write it to .env file, (4) retry the failed call. |
| Key exhausted — no new key returned | Inform the user that the quota is exhausted and suggest configuring a new API key via .env or environment variable. |
Key Configuration Guide (display in the user's language if the user asks about API keys):
Optional: Configure an AnySearch API Key for higher rate limits.
To configure a key:
- Visit https://anysearch.com/console/api-keys to create a free API key
- Add it to your
.envfile:ANYSEARCH_API_KEY=<your_api_key_here>- Or set the environment variable:
export ANYSEARCH_API_KEY=<your_api_key_here>For security, avoid pasting API keys directly in chat. Anonymous access remains available with lower limits.
When a new key is obtained via auto-registration, the agent MUST:
.env file.When a user provides a key in chat, advise them to configure it via .env or environment variable instead, for security.
If <skill_dir>/runtime.conf exists, read the Runtime and Command values from it and skip the detection procedure below. Treat this as the normal fast path for routine searches. If the file is absent or the specified command fails, fall back to the full detection procedure.
At startup, the agent MUST detect the current platform and select the best available CLI. The priority order is:
Python > Node.js > Shell (powershell on Windows, bash on Linux/macOS)
Run the following checks in order. The first success determines the active CLI:
Step 1 — Check Python
python --version 2>&1
python3 --version 2>&1
python or python3 exists with version >= 3.6 → use anysearch_cli.pypython is absent while python3 is available. Treat both names as valid probes.requests library (not part of the standard library). It is commonly already available; if importing it fails, install with pip install requests (or pip install -r requirements.txt), or fall through to the Node.js CLI, which has no dependencies.Step 2 — Check Node.js (if Python failed)
node --version 2>&1
anysearch_cli.jshttps module)Step 3 — Check Shell (if both Python and Node.js failed)
| Platform | Shell | CLI |
|---|---|---|
| Windows | PowerShell 5.1+ | anysearch_cli.ps1 |
| Linux / macOS | bash 3.2+ (with jq and curl) | anysearch_cli.sh |
powershell -Command "$PSVersionTable.PSVersion" to verifybash --version, and jq --version / curl --version (the Bash CLI requires both)Note:
anysearch_cli.shis a Bash script (it uses[[ … ]], arrays andBASH_SOURCE); it is not POSIXsh-compatible. Run it withbash, notsh.
Once the active CLI is determined, all tool calls use the same subcommand syntax:
| Runtime | Invocation |
|---|---|
| Python | python <skill_dir>/scripts/anysearch_cli.py <command> [options] or python3 <skill_dir>/scripts/anysearch_cli.py <command> [options] |
| Node.js | node <skill_dir>/scripts/anysearch_cli.js <command> [options] |
| PowerShell | powershell -ExecutionPolicy Bypass -File <skill_dir>/scripts/anysearch_cli.ps1 <command> [options] |
| Bash | bash <skill_dir>/scripts/anysearch_cli.sh <command> [options] |
python or python3 with requests, or Node.js 12+, or PowerShell 5.1+, or bash 3.2+ with jq and curl).LICENSE (opens in a new tab)NOTICE (opens in a new tab)README.md (opens in a new tab)README_zh.md (opens in a new tab)SECURITY.md (opens in a new tab)SHA256SUMS.txt (opens in a new tab)UPSTREAM.md (opens in a new tab)requirements.txt (opens in a new tab)runtime.conf.example (opens in a new tab)scripts/anysearch_cli.js (opens in a new tab)scripts/anysearch_cli.ps1 (opens in a new tab)scripts/anysearch_cli.py (opens in a new tab)scripts/anysearch_cli.sh (opens in a new tab)scripts/generate.py (opens in a new tab)scripts/shared/constants.json (opens in a new tab)scripts/shared/doc_spec.md (opens in a new tab)scripts/test_cli.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sunflowerslwtech/sunkit --plugin search5 skills in this plugin
/exa-agentDetail doc assigned by the `search` router — Exa Agent (`agent_run`, usage-billed): multi-step research, list-building, enrichment, structured output, extra data providers./exa-researchDetail doc assigned by the `search` router — Exa research orchestrator: plans and dispatches subagents for deep dives, literature reviews, lead generation, "find me all X"./searchSingle entry point for finding things on the web and reading web pages: quick lookups, current facts and news, filtered or site-specific search, reading or quoting a URL, multi-step research, list-building, enrichment and structured-output research. Fires on 「搜一下」「查一下网上」「最新的…是什么」「帮我找资料」「调研一下」「深挖」「找出所有」 「给我讲讲这个链接」「这篇文章讲了什么」「原文怎么写的」「逐字」「核对这句引用」 「verbatim」「股价/行情/财报/汇率/宏观数据」「这个 CVE / IP / 域名安全吗」「查专利/法条/判例」 「论文引用/PubMed」「查这家公司/工商/招聘」「航班/航班动态」「空气质量」「Steam 价格」, any x.com or twitter.com URL, "search the web", "look up", "latest news on", "research this", "find everything about", "find me all", "deep dive on", "literature review", "competitive analysis", "lead generation", "explain this link", "is this quote real". Not for the user's own notes or past decisions (obsidian-wiki), pages that need a login, or calling an API endpoint (curl/xh)./verbatim-fetchDetail doc assigned by the `search` router — which retrieval rung returns a page's actual words (WebFetch summarizes), what each rung drops, x.com handling.Other plugins' skills for the same job