{"id":50517463,"url":"https://github.com/anysearch-ai/anysearch-skill","last_synced_at":"2026-06-03T01:01:33.472Z","repository":{"id":354820339,"uuid":"1225178950","full_name":"anysearch-ai/anysearch-skill","owner":"anysearch-ai","description":"Unified real-time search engine skill for AI agents. ","archived":false,"fork":false,"pushed_at":"2026-05-19T06:14:16.000Z","size":85,"stargazers_count":506,"open_issues_count":0,"forks_count":56,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-05-19T07:55:39.398Z","etag":null,"topics":["anysearch","hermes","openclaw","qclaw","skill","skills"],"latest_commit_sha":null,"homepage":"https://www.anysearch.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anysearch-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-30T02:55:36.000Z","updated_at":"2026-05-19T07:46:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/anysearch-ai/anysearch-skill","commit_stats":null,"previous_names":["anysearch-ai/anysearch-skill"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anysearch-ai/anysearch-skill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anysearch-ai%2Fanysearch-skill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anysearch-ai%2Fanysearch-skill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anysearch-ai%2Fanysearch-skill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anysearch-ai%2Fanysearch-skill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anysearch-ai","download_url":"https://codeload.github.com/anysearch-ai/anysearch-skill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anysearch-ai%2Fanysearch-skill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33843611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anysearch","hermes","openclaw","qclaw","skill","skills"],"created_at":"2026-06-03T01:01:32.752Z","updated_at":"2026-06-03T01:01:33.443Z","avatar_url":"https://github.com/anysearch-ai.png","language":"Python","funding_links":[],"categories":["🧠 Agent Skills"],"sub_categories":[],"readme":"# AnySearch Skill\n\nUnified real-time search engine skill for AI agents. Supports general web search, vertical domain search, parallel batch search, and full-page content extraction.\n\n## Download \u0026 Install\n\n### For AI Agents\n\nIf your agent platform supports a skill marketplace/store, search for **anysearch** and install from there. Otherwise, download and install manually:\n\n```bash\n# Download (pin to a specific release version)\ncurl -L -o anysearch-skill.zip https://github.com/anysearch-ai/anysearch-skill/archive/refs/heads/main.zip\n# or: wget -O anysearch-skill.zip https://github.com/anysearch-ai/anysearch-skill/archive/refs/heads/main.zip\n\n# Verify integrity (replace with actual checksum from the release page)\n# sha256sum anysearch-skill.zip\n\n# Unzip\nunzip anysearch-skill.zip\n\n# Move to your agent's skill directory (example paths below, adjust for your agent)\n# Claude Code:    mv anysearch-skill ~/.claude/skills/anysearch\n# OpenCode:       mv anysearch-skill ~/.config/opencode/skills/anysearch\n# Cursor/Windsurf: mv anysearch-skill \u003cproject\u003e/.skills/anysearch\n# Generic:        mv anysearch-skill \u003cyour_agent_skill_dir\u003e/anysearch\n# Shared agents:  mv anysearch-skill ~/.agents/skills/anysearch\n```\n\n`~/.agents/skills/` is a useful shared install location when multiple AI tools read from the same skill directory, including Codex, Cursor, and OpenClaw personal agent skills.\n\n### For Humans\n\n1. Download the zip: https://github.com/anysearch-ai/anysearch-skill/archive/refs/heads/main.zip\n2. Unzip to your agent's skill directory\n3. Configure API key (see below)\n4. Run the entry test to verify installation\n\n## API Key Configuration\n\nAn API key is **optional but strongly recommended**. Without a key, you can still use all search features via anonymous access, but with **lower rate limits and quota**.\n\n### How to configure\n\nCopy the example env file and fill in your key:\n\n```bash\ncp .env.example .env\n# Edit .env and set: ANYSEARCH_API_KEY=\u003cyour_api_key_here\u003e\n```\n\nOr set the environment variable directly:\n\n```bash\nexport ANYSEARCH_API_KEY=\u003cyour_api_key_here\u003e   # Linux/macOS\nset ANYSEARCH_API_KEY=\u003cyour_api_key_here\u003e       # Windows CMD\n$env:ANYSEARCH_API_KEY=\"\u003cyour_api_key_here\u003e\"    # Windows PowerShell\n```\n\n### Get an API Key\n\nVisit https://anysearch.com/console/api-keys to sign up and create a free API key.\n\nKey priority order: `--api_key` CLI flag \u003e `.env` file \u003e environment variable \u003e anonymous\n\n## Post-Install Verification\n\nAfter installation, probe the platform and run the entry test:\n\n### Step 1: Detect available runtime\n\nRun these checks in order. The first success determines the active CLI:\n\n```bash\n# Check Python (recommended)\npython --version   # Need \u003e= 3.6, requires `requests` library\npython3 --version  # Need \u003e= 3.6, requires `requests` library\n# Check Node.js (alternative)\nnode --version     # Need \u003e= 12, no external dependencies\n# Check Shell (fallback)\n# Windows: PowerShell 5.1+ / Linux/macOS: bash 4+\n```\n\nPriority: **Python \u003e Node.js \u003e Shell**\n\nImportant: do not assume `python` exists. On many macOS systems, the correct executable is `python3`. Check both `python` and `python3`; if either works, Python is available.\n\n### Step 2: Run entry test (probe all available runtimes)\n\nRun the `doc` command with **each available** runtime to verify the skill works, and observe which runs without errors or warnings:\n\n```bash\n# Python\npython \u003cskill_dir\u003e/scripts/anysearch_cli.py doc\n\n# Python 3 fallback (common on macOS)\npython3 \u003cskill_dir\u003e/scripts/anysearch_cli.py doc\n\n# Node.js (if available)\nnode \u003cskill_dir\u003e/scripts/anysearch_cli.js doc\n\n# PowerShell (Windows)\npowershell -ExecutionPolicy Bypass -File \u003cskill_dir\u003e/scripts/anysearch_cli.ps1 doc\n\n# Bash (Linux/macOS)\nbash \u003cskill_dir\u003e/scripts/anysearch_cli.sh doc\n```\n\nFor each runtime, record whether the command succeeded and any errors/warnings encountered. The runtime that completes without errors and produces the cleanest output is the recommended runtime for this environment.\n\n### Step 3: Persist recommended runtime to configuration file\n\nBased on the entry test results, write the recommended runtime to `\u003cskill_dir\u003e/runtime.conf`:\n\n```bash\necho \"Runtime: \u003cRUNTIME\u003e\" \u003e \u003cskill_dir\u003e/runtime.conf\necho \"Command: \u003cCOMMAND\u003e\" \u003e\u003e \u003cskill_dir\u003e/runtime.conf\n```\n\nExample for Python:\n\n```bash\necho \"Runtime: Python\" \u003e \u003cskill_dir\u003e/runtime.conf\necho \"Command: python \u003cskill_dir\u003e/scripts/anysearch_cli.py\" \u003e\u003e \u003cskill_dir\u003e/runtime.conf\n```\n\nExample for Python 3:\n\n```bash\necho \"Runtime: Python\" \u003e \u003cskill_dir\u003e/runtime.conf\necho \"Command: python3 \u003cskill_dir\u003e/scripts/anysearch_cli.py\" \u003e\u003e \u003cskill_dir\u003e/runtime.conf\n```\n\nExample for Node.js:\n\n```bash\necho \"Runtime: Node.js\" \u003e \u003cskill_dir\u003e/runtime.conf\necho \"Command: node \u003cskill_dir\u003e/scripts/anysearch_cli.js\" \u003e\u003e \u003cskill_dir\u003e/runtime.conf\n```\n\nExample for PowerShell:\n\n```bash\necho \"Runtime: PowerShell\" \u003e \u003cskill_dir\u003e/runtime.conf\necho \"Command: powershell -ExecutionPolicy Bypass -File \u003cskill_dir\u003e/scripts/anysearch_cli.ps1\" \u003e\u003e \u003cskill_dir\u003e/runtime.conf\n```\n\nExample for Bash:\n\n```bash\necho \"Runtime: Bash\" \u003e \u003cskill_dir\u003e/runtime.conf\necho \"Command: bash \u003cskill_dir\u003e/scripts/anysearch_cli.sh\" \u003e\u003e \u003cskill_dir\u003e/runtime.conf\n```\n\n**Important:** Runtime preferences are stored in `runtime.conf`, NOT in SKILL.md. The agent reads `runtime.conf` on skill load to determine the active CLI. If the file is missing or corrupted, the agent falls back to the Platform Detection procedure in SKILL.md. If `runtime.conf` already exists, replace it instead of appending.\n\n### Routine agent usage\n\nAfter `runtime.conf` exists, agents should use the stored `Command` directly for routine calls instead of running `doc` before every search. For example, if `runtime.conf` contains `Command: python3 \u003cskill_dir\u003e/scripts/anysearch_cli.py`, use:\n\n```bash\npython3 \u003cskill_dir\u003e/scripts/anysearch_cli.py search \"query\" --max_results 5\npython3 \u003cskill_dir\u003e/scripts/anysearch_cli.py batch_search --queries '[{\"query\":\"q1\",\"max_results\":5},{\"query\":\"q2\",\"max_results\":5}]'\npython3 \u003cskill_dir\u003e/scripts/anysearch_cli.py extract \"https://example.com/page\"\npython3 \u003cskill_dir\u003e/scripts/anysearch_cli.py extract --url \"https://example.com/page\"\n```\n\n`extract` output is already Markdown. Do not pass `--format markdown`, `--format json`, or `--markdown`; the extract command only accepts the URL positional argument or `--url`/`-u`. If a subcommand argument is unclear or fails, run `\u003ccommand\u003e \u003csubcommand\u003e --help` for that subcommand rather than the full `doc` command.\n\n### Step 4 (optional): Test a real search\n\n```bash\npython \u003cskill_dir\u003e/scripts/anysearch_cli.py search \"hello world\" --max_results 1\n```\n\nIf your system does not provide `python`, use:\n\n```bash\npython3 \u003cskill_dir\u003e/scripts/anysearch_cli.py search \"hello world\" --max_results 1\n```\n\nA successful JSON response confirms the API connection is working.\n\n## File Structure\n\n```\nanysearch/\n├── .env.example              # API key configuration template\n├── .env                      # Your API key (gitignored, create from .env.example)\n├── runtime.conf              # Detected runtime preferences (gitignored)\n├── runtime.conf.example      # Runtime configuration template\n├── SKILL.md                  # Skill definition for AI agents\n├── README.md                 # This file\n└── scripts/\n    ├── anysearch_cli.py       # Python CLI\n    ├── anysearch_cli.js       # Node.js CLI\n    ├── anysearch_cli.ps1      # PowerShell CLI\n    └── anysearch_cli.sh       # Bash CLI\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanysearch-ai%2Fanysearch-skill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanysearch-ai%2Fanysearch-skill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanysearch-ai%2Fanysearch-skill/lists"}