stock-data-skill
OpenClaw Skill for stock data analysis
Web search, research with citations, and content extraction for bash agents using curl and You.com's REST API. - MANDATORY TRIGGERS: You.com, youdotcom, YDC, web search CLI, livecrawl, you.com API, research with citations, content extraction, fetch web page - Use when: web search needed, content extraction, URL crawling, real-time web data, research with citations
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install edwardirby/youdotcom打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
# Verify curl and jq are available
curl --version
jq --version
The Search endpoint (/v1/agents/search) works without an API key — no signup, no billing required. An API key unlocks higher rate limits and is required for Research and Contents endpoints.
# Optional for search, required for research/contents
export YDC_API_KEY="your-api-key-here"
Get an API key from https://you.com/platform/api-keys to unlock higher rate limits.
| Command | Method | URL | Auth |
|---|---|---|---|
| Search | GET | https://api.you.com/v1/agents/search |
Optional (free tier) |
| Research | POST | https://api.you.com/v1/research |
Required |
| Contents | POST | https://ydc-index.io/v1/contents |
Required |
Auth header: X-API-Key: $YDC_API_KEY
JSON Schemas for parameters and responses:
| Endpoint | Input Schema | Output Schema |
|---|---|---|
| Search | search.input.schema.json | search.output.schema.json |
| Research | research.input.schema.json | research.output.schema.json |
| Contents | contents.input.schema.json | contents.output.schema.json |
YDC_API_KEY
IF user provides URLs → Contents
ELSE IF user needs synthesized answer with citations → Research
ELSE IF user needs search + full content → Search with livecrawl=web
ELSE → Search
All fetched...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# You.com Web Search, Research & Content Extraction ## Prerequisites ```bash # Verify curl and jq are available curl --version jq --version ``` ### API Key (optional for Search) The **Search** endpoint (`/v1/agents/search`) works without an API key — no signup, no billing required. An API key unlocks higher rate limits and is **required** for Research and Contents endpoints. ```bash # Optional for search, required for research/contents export YDC_API_KEY="your-api-key-here" ``` Get an API key from https://you.com/platform/api-keys to unlock higher rate limits. ## API Reference | Command | Method | URL | Auth | |---------|--------|-----|------| | Search | GET | `https://api.you.com/v1/agents/search` | Optional (free tier) | | Research | POST | `https://api.you.com/v1/research` | Required | | Contents | POST | `https://ydc-index.io/v1/contents` | Required | Auth header: `X-API-Key: $YDC_API_KEY` JSON Schemas for parameters and responses: | Endpoint | Input Schema | Output Schema | |----------|-------------|---------------| | Search | [search.input.schema.json](assets/search.input.schema.json) | [search.output.schema.json](assets/search.output.schema.json) | | Research | [research.input.schema.json](assets/research.input.schema.json) | [research.output.schema.json](assets/research.output.schema.json) | | Contents | [contents.input.schema.json](assets/contents.input.schema.json) | [contents.output.schema.json](assets/contents.output.schema.json) | ## Workflow ### 1. Verify API Key * **Search** works without an API key (free tier, no signup required) * **Research** and **Contents** require `YDC_API_KEY` * If key is needed but not set, guide user to https://you.com/platform/api-keys ### 2. Tool Selection **IF** user provides URLs → **Contents** **ELSE IF** user needs synthesized answer with citations → **Research** **ELSE IF** user needs search + full content → **Search** with `livecrawl=web` **ELSE** → **Search** ### 3. Handle Results Safely All fetched...
OpenClaw Skill for stock data analysis
Search and hire real humans for tasks — photography, delivery, research, and more
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.