← 返回 Skills 市场
786
总下载
0
收藏
10
当前安装
1
版本数
在 OpenClaw 中安装
/install alpha-vantage
功能描述
Use this skill when users need Alpha Vantage market data or indicators (stocks, ETFs, forex, crypto, commodities, macro, company fundamentals) via the offici...
使用说明 (SKILL.md)
Alpha Vantage
Overview
This skill provides a production-ready workflow for Alpha Vantage API usage: selecting the right endpoints, building validated requests, handling throttling/error responses, and preparing safe public/commercial deployment.
Quick Start
- Set API key:
export ALPHAVANTAGE_API_KEY=... - For endpoint/params, read
references/api_docs.md - For scriptable calls with retry/backoff, use
scripts/alpha_vantage_client.py - For public deployment, follow the
Deployment Guardrailssection before release
Workflow
- Classify request type:
- Price bars or latest price: time series functions
- Indicators (RSI, SMA, MACD, etc.): technical indicator functions
- Company info, earnings, statements: fundamentals
- FX/Crypto/Commodities/Macro: their dedicated function families
- Resolve mandatory parameters from
references/api_docs.md. - Build request with
function=...andapikey=.... - Parse response and branch for:
- HTTP error status
Error MessageNote(usually rate-limit/throttle condition)- Empty/partial payload
- If
Note/throttled, retry using exponential backoff with jitter. - Normalize output to a stable schema before downstream use.
Implementation Guidelines
Authentication
- Use
ALPHAVANTAGE_API_KEYenvironment variable by default. - Never hardcode keys in source, logs, prompts, or examples.
- Mask keys in debug output (show only short prefix/suffix).
Reliability and Rate Limits
- Treat responses containing
Noteas retriable throttle events. - Use bounded retries with exponential backoff and jitter.
- For multi-symbol jobs, queue calls and pace to plan limits.
- Cache stable responses (fundamentals, metadata) to reduce quota burn.
Response Validation
- Validate both transport and payload success.
- Handle string-encoded numbers safely (
float(...)/Decimalas needed). - Keep parser logic resilient to minor schema/key ordering changes.
Data Quality
- Preserve source timestamps/time zones from payload metadata.
- Do not infer adjusted/unadjusted semantics; use explicit functions.
- Record the function and params used for reproducibility/auditability.
Deployment Guardrails
Public/Commercial Readiness
- Review Alpha Vantage terms before public/commercial release: https://www.alphavantage.co/terms_of_service/
- Ensure your usage tier and traffic profile are aligned with your plan: https://www.alphavantage.co/premium/
- Do not redistribute restricted content if terms disallow it.
Security and Operations
- Store API keys in secret managers (or environment variables for local dev only).
- Add circuit-breaking and queue backpressure for upstream rate spikes.
- Instrument call counts, throttle rate, retry count, and error classes.
- Add alerting for sustained
Noteresponses and non-2xx response spikes.
Resources
references/
references/api_docs.mdcontains endpoint selection guidance and required parameters.
scripts/
scripts/alpha_vantage_client.pyprovides a reusable request wrapper with:- env-based auth
- timeout and retry logic
- throttle/error detection
- optional compact output
安全使用建议
This skill appears to be what it claims: a throttle-aware Alpha Vantage client. Before installing: (1) provide your ALPHAVANTAGE_API_KEY via a secret manager or environment variable (don’t hardcode it), (2) be mindful of Alpha Vantage rate limits and the need for retry/backoff and caching, and (3) review/verify the included script if you will run it in production. Note the registry metadata omits declaring the required env var — ensure you set ALPHAVANTAGE_API_KEY in the agent environment. Autonomous invocation is allowed by default (normal), but because this skill will make outbound requests using your key, only enable it in agents/environments where you trust the key’s use.
功能分析
Type: OpenClaw Skill
Name: alpha-vantage
Version: 1.0.0
The OpenClaw skill bundle for Alpha Vantage is benign. It provides a well-structured client (`scripts/alpha_vantage_client.py`) for the Alpha Vantage API, handling authentication via environment variables (`ALPHAVANTAGE_API_KEY`) or command-line arguments, and implementing robust retry logic for rate limits. The `SKILL.md` and `references/api_docs.md` documentation promotes secure practices like not hardcoding API keys, reviewing terms of service, and using secret managers. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, prompt injection against the agent, or obfuscation. All network communication is directed to the legitimate Alpha Vantage API endpoint.
能力评估
Purpose & Capability
Name/description match the provided files: SKILL.md, api_docs reference, and a small Python client that queries https://www.alphavantage.co/query. No unrelated binaries, services, or credentials are requested.
Instruction Scope
Runtime instructions focus on building validated API requests, handling throttling/retries, and protecting API keys. They instruct use of ALPHAVANTAGE_API_KEY and caution against hardcoding keys; no instructions ask the agent to read unrelated files, environment variables, or to contact endpoints other than Alpha Vantage.
Install Mechanism
No install spec; skill is instruction-first and includes a single small Python script. No downloads, archives, or third-party install sources are present — low installation risk.
Credentials
The code and SKILL.md expect an ALPHAVANTAGE_API_KEY (and advise secret manager use), which is proportionate to the purpose. Minor inconsistency: registry metadata lists no required env vars or primary credential even though the client requires ALPHAVANTAGE_API_KEY at runtime.
Persistence & Privilege
Skill is not always-enabled, does not request persistent/system-level privileges, and does not modify other skills or global agent configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install alpha-vantage - 安装完成后,直接呼叫该 Skill 的名称或使用
/alpha-vantage触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Alpha Vantage skill initial release.
- Provides robust workflows for querying Alpha Vantage market data and indicators (stocks, forex, crypto, ETFs, commodities, fundamentals).
- Supports ticker lookup, time series, technical indicators, screening, and data retrieval with safe API key handling.
- Implements throttling detection, retry logic with exponential backoff, and error handling for deployment-ready reliability.
- Includes detailed guidelines for public/commercial usage and secure operations.
- References and scripts included for endpoint selection and reusable API integration.
元数据
常见问题
Alpha Vantage CLI 是什么?
Use this skill when users need Alpha Vantage market data or indicators (stocks, ETFs, forex, crypto, commodities, macro, company fundamentals) via the offici... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 786 次。
如何安装 Alpha Vantage CLI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install alpha-vantage」即可一键安装,无需额外配置。
Alpha Vantage CLI 是免费的吗?
是的,Alpha Vantage CLI 完全免费(开源免费),可自由下载、安装和使用。
Alpha Vantage CLI 支持哪些平台?
Alpha Vantage CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Alpha Vantage CLI?
由 oscraters(@oscraters)开发并维护,当前版本 v1.0.0。
推荐 Skills