agentleFS
arch3rProarch3rPro/ark-space-legacy/skills/web-search/SKILL.md

web-search

Skill2 starsChanged 6 months agoMITView on GitHub

Use when discovering public sources from a query, searching papers via arXiv, using a privacy-oriented SearXNG instance, or finding pages semantically related to a known URL; optionally select Exa MCP, Exa, Tavily, Firecrawl, Jina, DuckDuckGo, Brave, SearXNG, or arXiv.

  • Reads credentials

49 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use gift-evaluator, Podcast Generate and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jjyaoaoSkill

    gift-evaluator

    The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.

    Also in 4 projects that use this

  • jjyaoaoSkill

    Podcast Generate

    Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).

    Also in 4 projects that use this

  • MindrallySkill

    llm

    Large Language Model development, training, fine-tuning, and deployment best practices.

    Also in 4 projects that use this

  • SuperInstanceSkill

    aminer-data-search

    使用 AMiner 开放平台 API 进行学术数据查询与分析。当用户需要查询学者信息、论文详情、机构数据、期刊内容或专利信息时使用此 skill。 触发场景:提到 AMiner、学术数据查询、查论文/学者/机构/期刊/专利、学术问答搜索、引用分析、科研机构分析、学者画像、论文引用链、期刊投稿分析等。 支持 6 大组合工作流(学者全景分析、论文深度挖掘、机构研究力分析、期刊论文监控、学术智能问答、专利链分析)以及 28 个独立 API 的直接调用。 即使用户只说"帮我查一下 XXX 学者"或"找找关于 XXX 的论文",也应主动使用此 skill。

    Also in 3 projects that use this

  • SuperInstanceSkill

    auto-target-tracker

    自动目标进度追踪器。在对话中检测到目标相关图片(笔记、进度、截图、记录)时,自动调用 VLM 识别关键信息并记录到目标日记。适用于学习管理、健身追踪、工作进度、习惯养成、创作记录等所有目标管理场景。

    Also in 3 projects that use this

  • +2 more from jjyaoao
  • +5 more from SuperInstance

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not infer related from an arbitrary URL: use it only when the URL is the semantic seed.

    line 15
  2. Distinctive:

    Check a provider before searching when privacy, reproducibility, or reliability matters:

    line 21
  3. Distinctive:

    Prefer a provider by the task, then by registry priority:

    line 52
  4. Distinctive:

    When the user explicitly asks for a result type, select an explicit supporting provider and preserve it as a filter rather than encoding it …

    line 73
  5. Very specific:

    Use --strict-result-type when the requested type is a requirement.

    line 75
  6. Very specific:

    When multiple skills or providers qualify, let Orchestrator choose the role first, then pick a provider from the registry.

    line 77
  7. Distinctive:

    Treat results as discovery: titles, URLs, snippets, and optional metadata, not full article content.

    line 82
  8. Distinctive:

    Prefer opening primary sources from the result list before making factual claims.

    line 83

“Common” is measured: kept by at least 6 in 10 of the 41 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Web Search

Discover public sources through the configured provider registry. This is the single query-search entry point; provider-specific syntax, filters, and troubleshooting live in docs/.

Select one explicit mode:

  • search: accept a query and use registry/search-providers.yaml (Exa MCP, Exa, Tavily, Firecrawl, Jina, DuckDuckGo, Brave, SearXNG, arXiv).
  • related: accept a seed URL and use registry/related-page-providers.yaml (Exa similar links).

Do not infer related from an arbitrary URL: use it only when the URL is the semantic seed. Do not silently substitute a user-requested provider. Report the actual provider, request ID when supplied, result URLs, and any fallback.

Before Use

Resolve the installed ArkSpace package root before running commands. Replace <installed-arkspace-path> with the directory two levels above this loaded SKILL.md, such as /Users/<user>/.claude/plugins/cache/ark-space/ark-space/0.2.0. Use the installed package path, not a repository-relative command.

Check a provider before searching when privacy, reproducibility, or reliability matters:

python3 <installed-arkspace-path>/scripts/arkspace.py provider check exa-mcp --capability web_search
python3 <installed-arkspace-path>/scripts/arkspace.py provider check jina --capability web_search
python3 <installed-arkspace-path>/scripts/arkspace.py provider check duckduckgo --capability web_search
python3 <installed-arkspace-path>/scripts/arkspace.py provider check brave --capability web_search
python3 <installed-arkspace-path>/scripts/arkspace.py provider check tavily --capability web_search
python3 <installed-arkspace-path>/scripts/arkspace.py provider check searxng
python3 <installed-arkspace-path>/scripts/arkspace.py provider check arxiv --capability web_search

If a check fails or a provider is unconfigured, use provider-manager; never ask users to edit provider files or expose keys. arXiv needs no key or setup. SearXNG needs a self-hosted URL (provider configure searxng --base-url <url>, SEARXNG_URL, or --base-url). The keyless providers exa-mcp, jina, and duckduckgo need no configuration; brave is keyed and needs BRAVE_API_KEY.

Run

python3 <installed-arkspace-path>/scripts/arkspace.py web search "agent skills frameworks" --output json
python3 <installed-arkspace-path>/scripts/arkspace.py web search --provider tavily "agent skills frameworks" --output json
python3 <installed-arkspace-path>/scripts/arkspace.py web search --provider arxiv "diffusion transformers" --max-results 5 --output json
python3 <installed-arkspace-path>/scripts/arkspace.py web search --provider searxng "privacy metasearch" --max-results 5 --output json
python3 <installed-arkspace-path>/scripts/arkspace.py web search --provider searxng "Python tutorial" --result-type videos --strict-result-type --max-results 5 --output json
python3 <installed-arkspace-path>/scripts/arkspace.py web search --provider duckduckgo "agent skills" --max-results 5 --output json
python3 <installed-arkspace-path>/scripts/arkspace.py web search --providers exa-mcp,jina "agent skills" --max-results 5
python3 <installed-arkspace-path>/scripts/arkspace.py web similar --provider exa https://example.com --output json

A plain web search (no --provider) resolves the zero-config default exa-mcp.

Provider Selection

Prefer a provider by the task, then by registry priority:

  • Exa MCP — zero-config default web search: general queries with no key or setup. See docs/exa-mcp.md.
  • arXiv — academic preprint discovery, arXiv IDs, authors, categories (cs.AI), title/abstract search, literature candidates. No key needed. See docs/arxiv-search.md.
  • SearXNG — privacy-oriented or self-hosted metasearch, or when the user names an instance. Preserve an explicit result-type request with --result-type; add --strict-result-type when that type is required rather than preferred. See docs/searxng-search.md.
  • Exa — semantic/neural discovery, coding docs, repositories, technical research, deep modes, structured output, and URL-seeded related pages.
  • Tavily — broad current search, finance, news, LLM-optimized snippets, research synthesis.
  • Firecrawl — when search should optionally scrape full page content or JS-heavy sources are likely; web_search is keyless.
  • Jina — keyless general web search when no key is configured. See docs/jina.md.
  • DuckDuckGo — keyless, explicit-only web search; used only when the caller names it. See docs/duckduckgo.md.
  • Brave — keyed web search when a BRAVE_API_KEY is configured. See docs/brave.md.

Default, chains, and explicit-only

  • The default web search uses exa-mcp: keyless, zero-config, and with no hidden fallback. If the chosen provider is unreachable, the command fails rather than silently switching.
  • exa-mcp, jina, duckduckgo, and brave accept only the common chain arguments (query, --max-results, --timeout, --output). Provider-specific flags are rejected; use an explicit matching --provider (for example --provider exa) for those options.
  • duckduckgo is explicitOnly: true: it is never auto-selected by priority and never part of the default choice. It runs only when the caller names it.
  • In a --providers chain, only common chain flags are forwarded to each candidate. Report which provider actually produced each result and any fallback.

Result type

When the user explicitly asks for a result type, select an explicit supporting provider and preserve it as a filter rather than encoding it only in the query. SearXNG supports general, images, videos, news, map, music, files, science, it, and social-media through --result-type.

Use --strict-result-type when the requested type is a requirement. A strict SearXNG search reports no matching results instead of silently falling back to general search. Without it, a fallback is allowed but must be reported.

When multiple skills or providers qualify, let Orchestrator choose the role first, then pick a provider from the registry. If the user provides an exact URL to read, route to a web-fetch provider instead of this skill.

Result Handling

  • Cite result URLs when using search output in an answer.
  • Treat results as discovery: titles, URLs, snippets, and optional metadata, not full article content.
  • Prefer opening primary sources from the result list before making factual claims.
  • For current, legal, medical, financial, or other high-stakes facts, verify with primary sources after discovery.
  • Respect arXiv API pacing for repeated paged requests; keep at least three seconds between repeated arXiv calls.

Troubleshooting

SymptomResponse
401 / 403Key invalid or quota blocked; check the provider, use provider-manager, or switch provider
429 Too Many RequestsRate limited; retry later, use another configured web_search provider, or a better SearXNG endpoint
SearXNG 403 / HTML for format=jsonJSON format disabled on the instance; try another instance
Empty resultsRetry with broader terms, different engines/categories, or another provider
TimeoutUse a self-hosted or faster provider, or reduce candidate count
Captcha/block pageDo not bypass; switch to a configured endpoint

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.