A high-performance financial data skill for Openclaw agents to query A-share stock prices, intraday bars, and valuation factors.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-stock-data-skill
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install openclaw-stock-data-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Openclaw Stock Skill empowers AI agents to interact with professional-grade financial market data. By integrating with the diemeng.chat data service, agents can retrieve comprehensive stock information including daily K-lines, minute-by-minute historical data, and complex financial factors. This skill is a vital component for developers building trading assistants or market analysis tools within the Openclaw Skills ecosystem.
It provides a standardized, secure way to fetch A-share market data using an API key mechanism. Whether the agent needs to analyze historical price trends, compare industry valuations, or check trading calendars, this skill offers a robust set of HTTP-based tools designed for seamless invocation and high-accuracy financial reporting.
To enable this skill, you must provide a valid API key from the data provider. Configure your openclaw.json file to include the skill entry and environment variables:
# Set your environment variable in your shell or via the Openclaw UI
export STOCK_API_KEY="your_real_stock_api_key"
Update your configuration structure:
{
"skills": {
"entries": {
"openclaw-stock-skill": {
"enabled": true,
"apiKey": { "source": "env", "provider": "default", "id": "STOCK_API_KEY" },
"env": {
"STOCK_API_KEY": "YOUR_REAL_STOCK_API_KEY"
},
"config": {
"baseUrl": "https://data.diemeng.chat"
}
}
}
}
}
The skill organizes market data into several specific categories to ensure clarity and ease of analysis:
| Data Category | Key Fields | Description |
|---|---|---|
| Daily Bars | stock_code, trade_date, open, high, low, close, vol | Standard daily K-line metrics |
| Intraday Bars | trade_time, level (1min-60min), open, close | High-frequency historical data |
| Financial Factors | pe_ttm, pb, turnover_rate, total_mv, float_share | Valuation and liquidity metrics |
| Stock Valuation | pe_percentile, industry_pe_rank, roe, eps_growth | Comparative industry analysis |
| Trading Basic | date, is_open, stock_name, industry, area | Calendar and metadata taxonomy |
Loading
An advanced interface for querying multi-chain EVM data, including balances, transactions, and smart contract details via the Etherscan API v2.

A privacy-preserving identity integration that uses zero-knowledge proofs to verify passports and ID cards without exposing personal data.

A protocol-driven approach for AI agents to discover and execute structured skills directly from websites instead of relying on fragile web scraping.

An AI-powered utility for generating standardized git commit messages following the Conventional Commits specification.

A specialized browser automation tool that retrieves real-time bid, ask, and high/low prices for over 20 types of precious metals.

A privacy-focused, API-key-free web search skill for AI agents to retrieve real-time news, images, and documentation.








































