anyclaw
anyclaw turns any API, website, or CLI tool into agent-ready commands. Use it to search for packages, install them, and run commands directly from the terminal.
When to use
- When the user asks to fetch data from websites (Hacker News, Stack Overflow, Reddit, Bilibili, etc.)
- When the user asks to call an API (translation, IP lookup, etc.)
- When the user needs a CLI tool wrapped for easier use
- When the user wants to discover available tools or data sources
Core workflow
1. Search for packages
# Search by keyword
anyclaw search news
anyclaw search chinese
anyclaw search finance
# Browse all available packages
anyclaw list --all
2. Install a package
# Install from registry by name
anyclaw install hackernews
anyclaw install translator
# Install from GitHub URL
anyclaw install https://github.com/Astro-Han/opencli-plugin-juejin
# Install a local YAML file
anyclaw install path/to/spec.yaml
# Wrap a system CLI tool
anyclaw install gh
anyclaw install docker
3. List installed packages
anyclaw list
4. Run commands
# Space-separated format (primary)
anyclaw run <package> <command> [--arg value ...]
# Examples
anyclaw run hackernews top --limit 5
anyclaw run hackernews search --query "AI" --limit 10
anyclaw run translator translate --q "hello world" --langpair "en|zh"
# Shorthand format
anyclaw hackernews top --limit 5
anyclaw gh pr list
anyclaw docker ps
# Show available commands for a package
anyclaw run hackernews
anyclaw hackernews --help
5. Manage packages
# Uninstall
anyclaw uninstall hackernews
# Set API key for packages that require auth
anyclaw auth <package> <api-key>
Available registry packages
Common packages you can install:
| Package |
Description |
Install |
| hackernews |
Hacker News - top, search, best, jobs, new, ask, show, user |
anyclaw install hackernews |
| translator |
Translation service |
anyclaw install translator |
| lobsters |
Lobsters - hot, active, newest, tag |
anyclaw install lobsters |
| stackoverflow |
Stack Overflow - hot, search, bounties, unanswered |
anyclaw install stackoverflow |
| v2ex |
V2EX developer community |
anyclaw install v2ex |
| juejin |
掘金 developer community |
anyclaw install juejin |
| bilibili |
Bilibili video platform |
anyclaw install bilibili |
| zhihu |
知乎 Q&A community |
anyclaw install zhihu |
| douban |
豆瓣 movies, books, music |
anyclaw install douban |
| reddit |
Reddit discussions |
anyclaw install reddit |
| twitter |
Twitter/X social media |
anyclaw install twitter |
| youtube |
YouTube video platform |
anyclaw install youtube |
| arxiv |
arXiv scientific papers |
anyclaw install arxiv |
| wikipedia |
Wikipedia encyclopedia |
anyclaw install wikipedia |
Run anyclaw search <keyword> or anyclaw list --all to discover more.
Output format
Commands return JSON output. Parse the JSON and present results in a human-readable format (table, list, or summary) based on the user's request.
Tips
- Always check if a package is installed (
anyclaw list) before running commands
- If a package is not installed, install it first with
anyclaw install <name>
- Use
--help on any command for detailed usage: anyclaw run hackernews top --help
- If a command fails with auth errors, set the API key:
anyclaw auth <package> <key>
1---2name: anyclaw3description: The universal tool adapter for AI agents. Search, install, and run packages from the anyclaw registry. Use anyclaw to access web APIs, data pipelines, CLI tools, and scripts as unified commands.4---56# anyclaw78anyclaw turns any API, website, or CLI tool into agent-ready commands. Use it to search for packages, install them, and run commands directly from the terminal.910## When to use1112- When the user asks to fetch data from websites (Hacker News, Stack Overflow, Reddit, Bilibili, etc.)13- When the user asks to call an API (translation, IP lookup, etc.)14- When the user needs a CLI tool wrapped for easier use15- When the user wants to discover available tools or data sources1617## Core workflow1819### 1. Search for packages2021```bash22# Search by keyword23anyclaw search news24anyclaw search chinese25anyclaw search finance2627# Browse all available packages28anyclaw list --all29```3031### 2. Install a package3233```bash34# Install from registry by name35anyclaw install hackernews36anyclaw install translator3738# Install from GitHub URL39anyclaw install https://github.com/Astro-Han/opencli-plugin-juejin4041# Install a local YAML file42anyclaw install path/to/spec.yaml4344# Wrap a system CLI tool45anyclaw install gh46anyclaw install docker47```4849### 3. List installed packages5051```bash52anyclaw list53```5455### 4. Run commands5657```bash58# Space-separated format (primary)59anyclaw run <package> <command> [--arg value ...]6061# Examples62anyclaw run hackernews top --limit 563anyclaw run hackernews search --query "AI" --limit 1064anyclaw run translator translate --q "hello world" --langpair "en|zh"6566# Shorthand format67anyclaw hackernews top --limit 568anyclaw gh pr list69anyclaw docker ps7071# Show available commands for a package72anyclaw run hackernews73anyclaw hackernews --help74```7576### 5. Manage packages7778```bash79# Uninstall80anyclaw uninstall hackernews8182# Set API key for packages that require auth83anyclaw auth <package> <api-key>84```8586## Available registry packages8788Common packages you can install:8990| Package | Description | Install |91|---------|-------------|---------|92| hackernews | Hacker News - top, search, best, jobs, new, ask, show, user | `anyclaw install hackernews` |93| translator | Translation service | `anyclaw install translator` |94| lobsters | Lobsters - hot, active, newest, tag | `anyclaw install lobsters` |95| stackoverflow | Stack Overflow - hot, search, bounties, unanswered | `anyclaw install stackoverflow` |96| v2ex | V2EX developer community | `anyclaw install v2ex` |97| juejin | 掘金 developer community | `anyclaw install juejin` |98| bilibili | Bilibili video platform | `anyclaw install bilibili` |99| zhihu | 知乎 Q&A community | `anyclaw install zhihu` |100| douban | 豆瓣 movies, books, music | `anyclaw install douban` |101| reddit | Reddit discussions | `anyclaw install reddit` |102| twitter | Twitter/X social media | `anyclaw install twitter` |103| youtube | YouTube video platform | `anyclaw install youtube` |104| arxiv | arXiv scientific papers | `anyclaw install arxiv` |105| wikipedia | Wikipedia encyclopedia | `anyclaw install wikipedia` |106107Run `anyclaw search <keyword>` or `anyclaw list --all` to discover more.108109## Output format110111Commands return JSON output. Parse the JSON and present results in a human-readable format (table, list, or summary) based on the user's request.112113## Tips114115- Always check if a package is installed (`anyclaw list`) before running commands116- If a package is not installed, install it first with `anyclaw install <name>`117- Use `--help` on any command for detailed usage: `anyclaw run hackernews top --help`118- If a command fails with auth errors, set the API key: `anyclaw auth <package> <key>`