anysite-cli
Operate the anysite command-line tool for web data extraction, batch API processing, multi-source dataset pipelines with scheduling/transforms/exports, database operations, and LLM-powered data analysis. Use when users ask to collect data from LinkedIn, Instagram, Twitter, or any web source via CLI; create or run dataset pipelines; schedule automated collection; batch-process API calls; query collected data with SQL; load data into PostgreSQL or SQLite; analyze data with LLM (summarize, classify, enrich, match, deduplicate); or work with anysite commands. Triggers on anysite CLI usage, data collection, dataset creation, scraping, API batch calls, scheduling, database loading, or LLM analysis tasks.
What this skill does
# Anysite CLI
Command-line tool for web data extraction, dataset pipelines, and database operations.
## Agent Planning Workflow
**BEFORE planning any data collection task, follow this sequence:**
1. **Discover available endpoints**
```bash
anysite describe --search "<keyword>" # Search by domain (linkedin, company, user, etc.)
```
2. **Select endpoints needed for the task** — identify which endpoints will provide the required data
3. **Inspect each selected endpoint**
```bash
anysite describe /api/linkedin/company # View input params and output fields
```
4. **Only then plan** — now you know the exact parameters, field names, and data structure to build your config or API calls
This prevents errors from wrong endpoint paths, missing required parameters, or incorrect field names in dependencies.
## Best Practices
1. **Use dataset pipelines for multi-step tasks**
- If a task requires sequential API calls, LLM enrichment, or chained data processing — create a `dataset.yaml` config instead of running multiple ad-hoc commands
- Dataset pipelines handle dependencies, incremental collection, and error recovery automatically
- Even for "simple" tasks that grow in scope, a dataset config is easier to maintain
- Benefits: run history, incremental sync, scheduling, notifications, DB loading
2. **Save data in Parquet format by default** — unless user requests another format or CSV/JSON fits better
3. **Prefer datasets over ad-hoc scripts** — one dataset.yaml replaces dozens of shell commands
## Quick Start Checklist
Before any data collection task:
```bash
# 1. Check CLI is available and see latest changes
anysite --version
anysite changelog --last 1 --json # Check what's new in this version
# If not found: source .venv/bin/activate or pip install anysite-cli
# 2. Update schema cache (required for endpoint discovery)
anysite schema update
# 3. Verify API key
anysite config get api_key
# If not set: anysite config set api_key sk-xxxxx
```
After upgrading, run `anysite changelog --since <old_version> --json` to discover new features.
## Endpoint Discovery
**ALWAYS discover endpoints before writing API calls or dataset configs:**
```bash
anysite describe # List all endpoints
anysite describe --search "company" # Search with dependency context
anysite describe /api/linkedin/company # Full details: params, output, connections
```
Search returns matched endpoints plus upstream providers (who can supply input IDs) and downstream consumers (who can use output IDs). Use this to plan endpoint chains for dataset pipelines.
Input params show type, description, examples, and defaults. Array params show item structure:
```
Input parameters:
* urn string User URN, only fsd_profile urn type is allowed
example: "urn:li:fsd_profile:ACoAABXy1234"
count integer Number of posts to return
default: 20
companies array[object{type,value}] Company URNs
example: [{"type": "company", "value": "14064608"}]
```
## Prerequisites
```bash
pip install "anysite-cli[data]" # DuckDB + PyArrow for dataset commands
pip install "anysite-cli[llm]" # LLM analysis (openai/anthropic)
pip install "anysite-cli[postgres]" # PostgreSQL adapter
pip install "anysite-cli[clickhouse]" # ClickHouse adapter
anysite config set api_key sk-xxxxx # Configure API key
anysite schema update # Update schema cache
anysite llm setup # Interactive setup (human)
anysite llm setup --provider openai --api-key sk-xxx --no-test # Non-interactive (agent)
anysite llm setup --provider anthropic --api-key-env ANTHROPIC_API_KEY --no-test
anysite db add pg --type postgres --host localhost --database mydb --user app --password secret
# Or via env var: anysite db add pg ... --password-env PGPASS
anysite db add ch --type clickhouse --host ch.example.com --port 8443 --database analytics --user app --password secret --ssl
```
## Authentication
```bash
anysite auth login # Interactive browser-based OAuth2 (human)
anysite auth login --force --no-browser # Re-authenticate without confirmation (agent)
anysite auth status # Check current auth status
anysite auth status --json # Machine-readable auth status
anysite auth logout # Interactive logout (human)
anysite auth logout --force # Logout without confirmation (agent)
```
## Single API Call
```bash
anysite api /api/linkedin/user user=satyanadella
anysite api /api/linkedin/company company=anthropic --format table
anysite api /api/linkedin/search/users keywords="CTO" count=50 --format csv --output ctos.csv
anysite api /api/linkedin/user user=satyanadella --fields "name,headline,urn.value" -q | jq
```
### URN/Name Parameter Formats
Parameters like `location`, `current_companies`, `industry` accept two formats:
```bash
# Single name (text search) — resolves to URNs automatically
location="London"
current_companies="Microsoft"
# Multiple URNs (direct) — use JSON array in single quotes
'location=["urn:li:geo:101165590", "urn:li:geo:101282230"]'
'current_companies=["urn:li:company:1035", "urn:li:company:1441"]'
```
**Note:** List of names `["Microsoft", "Google"]` is NOT supported — use either one name OR multiple URNs.
## Batch Processing
```bash
anysite api /api/linkedin/user --from-file users.txt --input-key user \
--parallel 5 --rate-limit "10/s" --on-error skip --progress --stats
```
## Dataset Pipeline (Multi-Source Collection)
For complex data collection with dependencies, LLM enrichment, scheduling — use dataset pipelines.
### Initialize
```bash
anysite dataset init my-dataset
# Creates my-dataset/dataset.yaml with template config
```
### Six Source Types
1. **Independent** — single API call with static `input`
2. **from_file** — batch calls iterating over input file values
3. **Dependent** — batch calls using values extracted from a parent source
4. **Union (type: union)** — combine records from multiple parent sources into one
5. **LLM (type: llm)** — process parent data through LLM without API calls
6. **SQL (type: sql)** — query a database connection or dataset Parquet files via DuckDB
### Comprehensive Dataset YAML Reference
```yaml
name: my-dataset # Dataset name (required)
description: Optional description # Human-readable description
sources:
# === TYPE 1: Independent source (single API call) ===
- id: search_results # Unique identifier (required)
endpoint: /api/linkedin/search/users # API endpoint (required for type: api)
input: # Static API parameters
keywords: "software engineer"
count: 50
parallel: 1 # Concurrent requests: 1-10 (default: 1)
rate_limit: "10/s" # Rate limit: "N/s", "N/m", "N/h"
on_error: stop # Error handling: stop | skip (default: stop)
- id: search_extra # Another search (can be combined with union)
endpoint: /api/linkedin/search/users
input: { keywords: "data engineer", count: 50 }
# === TYPE 2: from_file source (batch from file) ===
- id: companies
endpoint: /api/linkedin/company
from_file: companies.txt # Input file: .txt (line per value), .csv, .jsonl
file_field: company_slug # CSV column name (for CSV files only)
input_key: company # API parameter to fill with each value
parallel: 3
# === TYPE 3: Dependent source (values from parent) ===
- id: employees
endpoint: /api/linkedin/company/employees
dependency:
from_source: companies # Parent source ID (required)
field: urn.value # Dot-noRelated in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.