← Back to Skills Marketplace
stock-analysis-lianghua
by
llq20133100095
· GitHub ↗
· v1.0.0
2763
Downloads
4
Stars
15
Active Installs
1
Versions
Install in OpenClaw
/install stock-analysis-lianghua
Description
分析任意股票的技术指标和趋势,或修改 TradingAgentsV2 中的分析师节点。当用户需要分析某只股票、查看技术指标、获取市场趋势判断时,使用独立分析脚本;当需要新增/修改分析师节点时,参考架构模板。
Usage Guidance
This skill appears to do what it says: it fetches market data from public endpoints, computes indicators, and provides templates for LangGraph analyst nodes. Before enabling or running it: 1) review the included analyze_stock.py yourself (it runs HTTP requests and writes cache files to local project paths); 2) ensure you are comfortable the agent can modify files in your project (SKILL.md shows node-editing guidance); 3) install required Python packages in an isolated environment (virtualenv/container) to limit impact; 4) if you need to restrict network access, run the script in an environment without outbound HTTP or inspect logs; and 5) there are no secrets requested by the skill, so you don't need to provide API keys for normal operation.
Capability Analysis
Type: OpenClaw Skill
Name: stock-analysis-lianghua
Version: 1.0.0
The `analyze_stock.py` script contains a path traversal vulnerability in its caching mechanism. The `_find_cached_file` and `_save_cache` functions use the user-provided `symbol` directly in `os.path.join` to construct file paths. This allows an attacker to potentially read or write files to arbitrary locations on the system by injecting path traversal sequences (e.g., `../`) into the stock symbol. Additionally, the `SKILL.md` describes a LangGraph agent architecture where user input (`ticker`) is directly embedded into the LLM's system prompt, posing a prompt injection risk to the agent itself.
Capability Assessment
Purpose & Capability
The name/description (technical stock analysis and analyst-node templates) matches the delivered artifacts: analyze_stock.py (analysis script), an indicators reference, and SKILL.md with node templates. Declared dependencies (yfinance, stockstats, pandas, requests) and use of public data sources (Stooq, Yahoo, yfinance) are consistent with the stated purpose.
Instruction Scope
SKILL.md instructs running the included analyze_stock.py and describes modifying TradingAgentsV2 analyst node templates. The runtime instructions reference local project paths (tradingagents/dataflows/data_cache/, .cursor/skills/...) and direct the agent to read/write cached CSVs and potentially modify node code. The instructions do not ask for secrets or system credentials and do not send data to unknown external endpoints, but they do permit file writes within the project and network requests to public finance endpoints.
Install Mechanism
No install spec is provided and this is effectively an instruction+script package. That is low risk: nothing is downloaded or extracted during install. The only runtime network I/O comes from the analysis script contacting public finance APIs (Stooq, Yahoo) which is expected for this skill.
Credentials
The skill requests no environment variables, keys, or config paths. The code operates against public HTTP endpoints and local cache directories; the lack of credential requests is appropriate for the described data sources.
Persistence & Privilege
always is false and the skill does not request persistent platform-wide privileges. It may write cache files under local project paths and SKILL.md describes editing project node code, which is normal for a development helper but worth noting before allowing autonomous file modifications.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stock-analysis-lianghua - After installation, invoke the skill by name or use
/stock-analysis-lianghua - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of stock-analysis skill
- Provides analysis of any stock's technical indicators and trends using a standalone Python script.
- Supports quick CLI analysis with customizable parameters (symbol, date, days, indicators).
- Implements multi-source data fetching with automatic failover and local caching.
- Outputs structured reports: recent market activity, indicator trends, comprehensive analysis, and summary tables.
- Integrates with TradingAgentsV2 as an analyst node, following a unified template for easy extension or modification.
- Includes detailed instructions for customizing indicators, analyst types, and report formats.
Metadata
Frequently Asked Questions
What is stock-analysis-lianghua?
分析任意股票的技术指标和趋势,或修改 TradingAgentsV2 中的分析师节点。当用户需要分析某只股票、查看技术指标、获取市场趋势判断时,使用独立分析脚本;当需要新增/修改分析师节点时,参考架构模板。 It is an AI Agent Skill for Claude Code / OpenClaw, with 2763 downloads so far.
How do I install stock-analysis-lianghua?
Run "/install stock-analysis-lianghua" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is stock-analysis-lianghua free?
Yes, stock-analysis-lianghua is completely free (open-source). You can download, install and use it at no cost.
Which platforms does stock-analysis-lianghua support?
stock-analysis-lianghua is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created stock-analysis-lianghua?
It is built and maintained by llq20133100095 (@llq20133100095); the current version is v1.0.0.
More Skills