web-search-plus-cli
Web Search Plus CLI
Use this skill when current web evidence is needed and the local repository CLI should be used instead of a hosted search connector or Hermes plugin.
Goal
Provide hermes-web-search-plus search-tool functionality through a CLI plus this skill. The plugin host is out of scope.
Command
Use the installed CLI after pip install .:
web-search-plus --query "<query>" --provider auto --max-results 5 --compact
If web-search-plus is not found after installation, the pip scripts directory is not on PATH. Do not switch interfaces unless the user asks; fix PATH and keep using the CLI.
Provider Selection
- Prefer
--provider autounless the user requests a specific provider. - Use
--provider serperfor Google-like facts, news, shopping, local, weather, places, images, videos, or shopping search. - Use
--provider tavilyfor research and analysis. - Use
--provider exafor semantic discovery, similar sites, alternatives, GitHub projects, papers, and deep modes. - Use
--provider queritfor multilingual or metadata-rich real-time search. - Use
--provider perplexityfor synthesized direct answers when configured. - Use
--provider youfor LLM-ready snippets and current overview queries when configured. - Use
--provider searxngfor a configured self-hosted/private metasearch instance.
Common Options
--time-range day|week|month|yearfor recency filters.--include-domains example.com arxiv.orgto whitelist domains.--exclude-domains reddit.com pinterest.comto block domains.--exa-depth normal|deep|deep-reasoningfor Exa depth.--explain-routingto debug provider choice without performing a provider search.--cache-stats,--clear-cache, and--no-cachefor cache control.
Environment
Live searches require at least one configured provider:
SERPER_API_KEYTAVILY_API_KEYEXA_API_KEYQUERIT_API_KEYPERPLEXITY_API_KEYorKILOCODE_API_KEYYOU_API_KEYSEARXNG_INSTANCE_URL
The CLI reads .env, config.json, and the process environment from the repository root.
Output Handling
The CLI emits JSON. When answering the user:
- Parse
results,answer,provider,routing,cached, andmetadata. - Cite URLs from
results[*].url. - Mention provider fallback only when it affects confidence or explains missing results.
- If all providers fail, summarize
provider_errorsand ask for credentials or a reachable SearXNG instance.
For exact flag mapping and output examples, read only the needed reference:
references/cli-contract.mdfor Hermes tool parameter to CLI flag mapping.references/env.mdfor credential and config precedence.references/output-schema.mdfor success and error JSON shapes.
Validation
Before relying on live provider calls, verify the CLI shape:
web-search-plus --help
web-search-plus --cache-stats --compact
web-search-plus --explain-routing --query "alternatives to Notion" --compact