跳到主内容
智客 ZICQ

技能库 智客分类:数据与分析 Crypto & Stock Market Data (Node.js) OpenClaw

Crypto & Stock Market Data (Node.js)

免费等级不需要 API 关键值 。 专业级别的密码货币和股票市场数据集成,用于实时价格、公司概况和全球分析。 由Node.js提供动力,外部依赖性为零.

533 安装量 · 11 星标

官方网址:ClawHub

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

免费等级不需要 API 关键值 。 专业级别的密码货币和股票市场数据集成,用于实时价格、公司概况和全球分析。 由Node.js提供动力,外部依赖性为零.

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Crypto & Stock Market Data Skill (Node.js)、Key Capabilities、Tool Reference、Usage Details、1. `get_crypto_price.js`、2. `get_top_coins.js`。

文件分析

文件分析:除 SKILL.md 外,正文引用了 scripts/get_crypto_price.js、scripts/get_stock_quote.js、scripts/get_company_profile.js、scripts/search_stocks.js、scripts/get_trending_coins.js、scripts/get_top_coins.js,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

No API KEY needed for free tier. Professional-grade cryptocurrency and stock market data integration for real-time prices, company profiles, and global analytics. Powered by Node.js with zero external dependencies.

Crypto & Stock Market Data Skill (Node.js)Key CapabilitiesTool ReferenceUsage Details1. `get_crypto_price.js`2. `get_top_coins.js`3. `get_coin_ohlc_chart.js`4. `get_coin_historical_chart.js`5. `get_stock_quote.js`6. `get_company_profile.js`Important GuidelinesCryptos: Use IDs | Stocks: Use Tickers

来源分类:ClawHub Crypto

SKILL.md 与 Agent 调用

官方规范 ↗
name
Crypto & Stock Market Data (Node.js)
description
No API KEY needed for free tier. Professional-grade cryptocurrency and stock market data integration for real-time prices, company profiles, and global analytics. Powered by Node.js with zero external dependencies.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 12
  • scripts/get_crypto_price.js
  • scripts/get_stock_quote.js
  • scripts/get_company_profile.js
  • scripts/search_stocks.js
  • scripts/get_trending_coins.js
  • scripts/get_top_coins.js
  • scripts/search_coins.js
  • scripts/get_coin_details.js
  • scripts/get_coin_ohlc_chart.js
  • scripts/get_coin_historical_chart.js
  • scripts/get_global_market_data.js
  • scripts/get_public_companies_holdings.js

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「Crypto & Stock Market Data (Node.js)」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-0e0ef99e39407125-Crypto-Stock-Market-Data-Node-js.html
请存为 .cursor/skills/crypto-stock-market-data-node-js/SKILL.md 或 .claude/skills/crypto-stock-market-data-node-js/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://clawhub.ai/skills/crypto-market-data 取完整目录,不要只建一个 SKILL.md。

当前没有明确的 GitHub 技能包地址,请按来源页面的安装器说明操作。

ClawHub ↗

阅读排版
--- name: Crypto & Stock Market Data (Node.js) description: No API KEY needed for free tier. Professional-grade cryptocurrency and stock market data integration for real-time prices, company profiles, and global analytics. Powered by Node.js with zero external dependencies. --- # Crypto & Stock Market Data Skill (Node.js) A comprehensive suite of tools for retrieving real-time and historical cryptocurrency and stock market data. This skill interfaces with a dedicated market data server to provide high-performance, authenticated access to global financial statistics. Built entirely on Node.js standard libraries — no `npm install` required. ## Key Capabilities | Category | Description | | :--- | :--- | | **Real-time Prices** | Fetch current valuations, market caps, 24h volumes, and price changes for crypto & stocks. | | **Market Discovery** | Track trending assets and top-performing coins by market capitalization. | | **Smart Search** | Quickly find coin IDs or stock tickers by searching names or symbols. | | **Deep Details** | Access exhaustive asset information, from community links to company profiles. | | **Precise Charts** | Retrieve OHLC candlestick data and historical price/volume time-series. | | **Global Metrics** | Monitor total market capitalization and public company treasury holdings. | ## Tool Reference | Script Name | Primary Function | Command Example | | :--- | :--- | :--- | | `get_crypto_price.js` | Multi-coin price fetch | `node scripts/get_crypto_price.js bitcoin` | | `get_stock_quote.js` | Real-time stock quotes | `node scripts/get_stock_quote.js AAPL MSFT` | | `get_company_profile.js` | Company overview | `node scripts/get_company_profile.js AAPL` | | `search_stocks.js` | Find stock tickers | `node scripts/search_stocks.js apple` | | `get_trending_coins.js` | 24h trending assets | `node scripts/get_trending_coins.js` | | `get_top_coins.js` | Market leaderboards | `node scripts/get_top_coins.js --per_page=20` | | `search_coins.js` | Asset discovery | `node scripts/search_coins.js solana` | | `get_coin_details.js` | Comprehensive metadata | `node scripts/get_coin_details.js ethereum` | | `get_coin_ohlc_chart.js` | Candlestick data | `node scripts/get_coin_ohlc_chart.js bitcoin` | | `get_coin_historical_chart.js` | Time-series data | `node scripts/get_coin_historical_chart.js bitcoin` | | `get_global_market_data.js` | Macro market stats | `node scripts/get_global_market_data.js` | | `get_public_companies_holdings.js` | Treasury holdings | `node scripts/get_public_companies_holdings.js bitcoin` | | `get_supported_currencies.js` | Valuation options | `node scripts/get_supported_currencies.js` | --- ## Usage Details ### 1. `get_crypto_price.js` Fetch real-time pricing and basic market metrics for one or more cryptocurrencies. **Syntax:** ```bash node scripts/get_crypto_price.js [coin_id_2] ... [--currency=usd] ``` **Parameters:** - `coin_id`: The unique identifier for the coin (e.g., `bitcoin`, `solana`). - `--currency`: The target currency for valuation (default: `usd`). **Example:** ```bash node scripts/get_crypto_price.js bitcoin ethereum cardano --currency=jpy ``` --- ### 2. `get_top_coins.js` Retrieve a list of the top cryptocurrencies ranked by market capitalization. **Syntax:** ```bash node scripts/get_top_coins.js [--currency=usd] [--per_page=10] [--page=1] [--order=market_cap_desc] ``` **Parameters:** - `--currency`: Valuation currency (default: `usd`). - `--per_page`: Number of results (1-250, default: `10`). - `--order`: Sorting logic (e.g., `market_cap_desc`, `volume_desc`). --- ### 3. `get_coin_ohlc_chart.js` Get Open, High, Low, Close (candlestick) data for technical analysis. **Syntax:** ```bash node scripts/get_coin_ohlc_chart.js [--currency=usd] [--days=7] ``` **Allowed `days` values:** `1, 7, 14, 30, 90, 180, 365`. | Range | Resolution | | :--- | :--- | | 1-2 Days | 30 Minute intervals | | 3-30 Days | 4 Hour intervals | | 31+ Days | 4 Day intervals | --- ### 4. `get_coin_historical_chart.js` Retrieve detailed historical time-series data for price, market cap, and volume. **Syntax:** ```bash node scripts/get_coin_historical_chart.js [--currency=usd] [--days=30] ``` --- ### 5. `get_stock_quote.js` Fetch real-time stock prices for one or more ticker symbols. **Syntax:** ```bash node scripts/get_stock_quote.js [SYMBOL_2] ... ``` --- ### 6. `get_company_profile.js` Get a comprehensive company profile, including description, industry, and CEO. **Syntax:** ```bash node scripts/get_company_profile.js ``` --- ## Important Guidelines ### Cryptos: Use IDs | Stocks: Use Tickers - **Cryptocurrencies**: Always use **Coin IDs** (slugs) instead of ticker symbols (e.g., `bitcoin`, `BTC`). - **Stocks**: Always use **Ticker Symbols** (e.g., `AAPL`, `Apple`). Use `search_coins.js` if you are unsure of the correct ID. ### Authentication Authentication is handled **automatically** by the internal `api_client.js`. Here is how it works simply: - **Endpoint**: `GET https://api.igent.net/api/token` - **Mechanism**: 1. **Automatic Retrieval**: The first time you use a tool, it asks the server for a temporary session token. 2. **Local Storage**: This token is stored in a hidden `.token` file locally so it can be reused for subsequent requests. 3. **Automatic Headers**: The client automatically includes this token in every request to prove you are authorized. 4. **Auto-Refresh**: If a token expires, the client automatically fetches a new one without you needing to do anything. No manual API keys or configuration are required. ### Rate Limiting While the system is robust, please avoid burst requests (more than 30 per minute) to maintain service stability for all users. ### Agent Integration This skill is fully compatible with OpenClaw and other agents using the **AgentSkills** standard. Execute scripts directly from the `scripts/` directory.

相关技能

数据与分析

Marketing Skills

TL; DR:23个营销剧本(CRO,SEO,拷贝,分析,实验,定价,发布,广告,社交). 用于快速获取清单+副本/粘贴可交付品.

数据与分析

Azure Kusto

Azure Data Explorer(Kusto/ADX)中使用KQL进行日志分析,遥测和时间序列分析的查询并分析数据. When: KQL 查询, Kusto 数据库查询, Azure Data Explorer, ADX 集群, 日志分析, 时间序列数据, IoT 遥测, …

数据与分析

Azure Storage

Azure存储服务包括Blob存储,文件共享,等式存储,表存储,和数据湖. 解答关于存储访问级别(热,凉,冷,存档),何时使用每个级别,以及级别比较的问题. 提供对象存储,SMB文件共享,async消息,NoSQL密钥-值,和大数据分析. 包括生命周期管理。 USE FOR: b…

数据与分析

Paper Context Resolver

README-第一深层学习回波复制的硬纸上下文帮助器. 只有当 README 和寄存器文件留下了狭义的复制关键空白时才使用,任务就是在记录冲突时解决一个特定的纸张细节,如数据集分解,预处理,评价协议,检查点映射,或来自主纸张源的运行时间假设等. 不要使用一般的纸张摘要,repo扫…