← Back to Skills Marketplace
180
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install stock-pe-pb-analyzer-skill
Description
分析股票PE/PB历史水位的专业工具。使用BaoStock API获取真实股票数据,计算股票在过去十年中的PE、PB历史百分位水位。适用于:1)查询单个股票的PE/PB历史估值水平;2)评估当前估值相对于历史的高低位置;3)为投资决策提供估值参考数据。支持通过股票名称(如贵州茅台)或代码(如600519)查询A股...
Usage Guidance
This skill appears coherent for its stated purpose. Before installing, verify the skill's source (the README points to a GitHub repo) and review the repository there to ensure authenticity. Be aware the script will network-access BaoStock (bs.login() and data queries) and may be subject to BaoStock rate limits; run in an environment where installing Python packages is acceptable. If you run code from untrusted authors, consider executing in an isolated environment (virtualenv/container). Finally, remember analysis is informational only — the skill does not provide financial advice.
Capability Analysis
Type: OpenClaw Skill
Name: stock-pe-pb-analyzer-skill
Version: 0.1.0
The skill bundle is a legitimate financial analysis tool designed to calculate historical PE/PB ratios for Chinese A-shares using the BaoStock API. The Python script (scripts/analyze_stock.py) performs standard data retrieval, statistical processing with pandas/numpy, and local file reporting without any evidence of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
The name/description match the included code and README: it queries BaoStock for historical valuation fields (PE-TTM, PB-MRQ) and computes percentiles using pandas/numpy. Required packages (baostock, pandas, numpy) are appropriate and proportional.
Instruction Scope
SKILL.md and README only instruct the agent/user to call the included Python script/module and to query BaoStock. There are no instructions to read unrelated system files, environment variables, or to transmit data to unexpected endpoints.
Install Mechanism
No automated install spec is provided (instruction-only skill with code files). The README suggests cloning the GitHub repo and pip-installing dependencies (baostock, pandas, numpy) — a normal, low-risk workflow. Verify the upstream repository URL before cloning.
Credentials
The skill declares no required environment variables or credentials. The code uses baostock.login() (expected for BaoStock). It does not request unrelated secrets or access to other services.
Persistence & Privilege
always is false and the skill does not request elevated persistence or attempt to modify other skills or system-wide settings. Autonomous invocation (default) is allowed but not combined with other red flags.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stock-pe-pb-analyzer-skill - After installation, invoke the skill by name or use
/stock-pe-pb-analyzer-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of stock-pe-pb-analyzer:
- Provides historical PE/PB percentile analysis for A-share stocks using real BaoStock data.
- Supports stock name or code queries.
- Calculates water levels (percentiles) over 1, 3, 5, and 10-year periods.
- Outputs valuation ratings: undervalued, reasonable, or overvalued.
- Offers both command-line and Python module usage.
- Includes detailed reports and raw data export for further analysis.
Metadata
Frequently Asked Questions
What is Stock Pe Pb Analyzer?
分析股票PE/PB历史水位的专业工具。使用BaoStock API获取真实股票数据,计算股票在过去十年中的PE、PB历史百分位水位。适用于:1)查询单个股票的PE/PB历史估值水平;2)评估当前估值相对于历史的高低位置;3)为投资决策提供估值参考数据。支持通过股票名称(如贵州茅台)或代码(如600519)查询A股... It is an AI Agent Skill for Claude Code / OpenClaw, with 180 downloads so far.
How do I install Stock Pe Pb Analyzer?
Run "/install stock-pe-pb-analyzer-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Stock Pe Pb Analyzer free?
Yes, Stock Pe Pb Analyzer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Stock Pe Pb Analyzer support?
Stock Pe Pb Analyzer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Stock Pe Pb Analyzer?
It is built and maintained by caoyachao (@caoyachao); the current version is v0.1.0.
More Skills