ythx-101/ask-search — reverse-engineered prompt
Reverse engineered prompt
Build me a simple self hosted web search tool my local AI agent can use without paid search APIs or sending queries to random third parties. I want a command like ask search "my query" that returns clean search results with titles, links, snippets, and where the result came from. It should use a local SearxNG instance by default, support limiting result count, news only searches, language filtering, choosing engines, urls only output, and raw JSON output.
Please make the setup smooth, including starting SearxNG with Docker or Docker Compose, wiring in the secret, and making sure JSON search is enabled. I also want it usable from normal shell scripts, plus an MCP server so tools like Claude Code or Antigravity can call web search as a tool. If it already makes sense, include the OpenClaw skill hookup too.
Keep it privacy first and local by default, with a simple fallback option for Tavily only if someone sets an API key. Look up current docs online if you need to.
Want more depth? Deep Reverse