Overview

Skill Installation

1
Download & install

Download the Skill zip from GitHub, extract it, and move it to the skill directory for your platform.

Agent platform Skill directory
Claude Code ~/.claude/skills/anysearch
OpenCode ~/.opencode/skills/anysearch
Cursor / Windsurf <project>/.skills/anysearch
OpenClaw ~/.openclaw/skills/anysearch
Other platforms <agent_skill_dir>/anysearch

Tip: OpenClaw users can install directly via openclaw skills install anysearch — no manual download needed.

# Download
curl -L -o anysearch-skill.zip https://github.com/anysearch-ai/anysearch-skill/archive/refs/heads/main.zip
 
# Extract
unzip anysearch-skill.zip
 
# Move to skill directory (OpenCode example — adjust path for your platform)
mv anysearch-skill ~/.opencode/skills/anysearch
2
Set up your API key

An API key is optional but strongly recommended. Without one, all search features still work via anonymous access, but with lower rate limits and quota.

cp .env.example .env
# Edit .env and set: ANYSEARCH_API_KEY=your_api_key_here
# Linux / macOS
export ANYSEARCH_API_KEY=your_api_key_here
 
# Windows CMD
set ANYSEARCH_API_KEY=your_api_key_here
 
# Windows PowerShell
$env:ANYSEARCH_API_KEY="your_api_key_here"

Tip: create a free API key at anysearch.com/console/api-keys. Priority order: CLI flag > .env file > environment variable > anonymous access.

3
Verify installation

Detect available runtimes and run the entry test to confirm everything works.

# Check in priority order (Python > Node.js > Shell)
python --version # Requires >= 3.6, needs requests library
node --version    # Requires >= 12, no external dependencies
# Python
python <skill_dir>/scripts/anysearch_cli.py doc
 
# Node.js
node <skill_dir>/scripts/anysearch_cli.js doc
 
# PowerShell (Windows)
powershell -ExecutionPolicy Bypass -File <skill_dir>/scripts/anysearch_cli.ps1 doc
 
# Bash (Linux/macOS)
bash <skill_dir>/scripts/anysearch_cli.sh doc
python <skill_dir>/scripts/anysearch_cli.py search "hello world" --max_results 1

Tip: a successful JSON response from the entry test confirms the installation is working. Replace <skill_dir> with the actual path to your skill directory.

  • MCP Server — Alternative integration path, no local skill directory needed
  • Authentication — API key vs. anonymous access

Updated

Was this page helpful?