← 返回 Skills 市场
stock-analysis-lianghua
作者
llq20133100095
· GitHub ↗
· v1.0.0
2763
总下载
4
收藏
15
当前安装
1
版本数
在 OpenClaw 中安装
/install stock-analysis-lianghua
功能描述
分析任意股票的技术指标和趋势,或修改 TradingAgentsV2 中的分析师节点。当用户需要分析某只股票、查看技术指标、获取市场趋势判断时,使用独立分析脚本;当需要新增/修改分析师节点时,参考架构模板。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install stock-analysis-lianghua - 安装完成后,直接呼叫该 Skill 的名称或使用
/stock-analysis-lianghua触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
stock-analysis-lianghua 是什么?
分析任意股票的技术指标和趋势,或修改 TradingAgentsV2 中的分析师节点。当用户需要分析某只股票、查看技术指标、获取市场趋势判断时,使用独立分析脚本;当需要新增/修改分析师节点时,参考架构模板。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2763 次。
如何安装 stock-analysis-lianghua?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install stock-analysis-lianghua」即可一键安装,无需额外配置。
stock-analysis-lianghua 是免费的吗?
是的,stock-analysis-lianghua 完全免费(开源免费),可自由下载、安装和使用。
stock-analysis-lianghua 支持哪些平台?
stock-analysis-lianghua 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 stock-analysis-lianghua?
由 llq20133100095(@llq20133100095)开发并维护,当前版本 v1.0.0。
推荐 Skills