← Back to Skills Marketplace
seantjs

TradingAgents-CN 股票分析助手

by SeanTJS · GitHub ↗ · v1.2.1 · MIT-0
cross-platform ⚠ suspicious
144
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install tradingagents-cn-assistant
Description
多智能体大语言模型金融交易分析助手。基于 TradingAgents-CN 框架,使用多个专业AI分析师协作分析股票(A股/港股/美股),生成投资建议和专业报告。 触发场景: - 用户说"分析某只股票"、"帮我看看茅台"、"股票怎么样" - 用户说"股票分析"、"投资建议"、"股票研究报告" - 用户提到股票代码...
Usage Guidance
Things to check before installing or running this skill: - Be aware the included scripts expect you to clone the upstream TradingAgents-CN repo into a local folder; the code hardcodes E:\/TradingAgents-CN which will fail on non‑Windows systems or if you choose a different path — inspect and adjust paths before running. - The skill metadata declares no required env vars, but the docs and scripts require multiple API keys (LLM providers and market data APIs). Only provide the minimum API keys you intend to use, and never commit your .env to git. - Running the scripts will send data (stock tickers, prompts, possibly snippets of reports) to third‑party LLM and data provider endpoints — do not include any private or sensitive information in prompts or configuration. - Because the skill is instruction-only and will instruct you to 'pip install -r requirements.txt', review requirements.txt and the cloned repository code before installing dependencies; run in an isolated environment (virtualenv/container) if possible. - The mismatches (no declared env vars, hardcoded path, vague 'AI will remember' note) suggest sloppy packaging rather than overt malice, but exercise caution: review the upstream TradingAgents-CN repository and the included scripts thoroughly before use. If you want, I can summarize the exact lines you should change (path and env handling) to make this safer and portable, or produce a checklist to run the scripts in a sandboxed environment.
Capability Analysis
Type: OpenClaw Skill Name: tradingagents-cn-assistant Version: 1.2.1 The skill bundle acts as a wrapper for the external 'TradingAgents-CN' GitHub repository, requiring the agent to clone and execute code from a local directory. It contains hardcoded absolute paths ('E:/TradingAgents-CN') in 'scripts/analyze.py' and 'scripts/check_env.py', which is a high-risk practice that could lead to unauthorized file access or execution if the environment is misconfigured. While the functionality aligns with the stated financial analysis purpose, the reliance on external code execution and the lack of path abstraction are significant security vulnerabilities that could be exploited for remote code execution (RCE).
Capability Assessment
Purpose & Capability
Name/description (multi‑agent stock analysis) matches the included scripts and documentation. However, the code hardcodes a Windows path (E:/TradingAgents-CN) and the SKILL.md uses a generic {PROJECT_DIR} placeholder — this mismatch is surprising and reduces portability. The skill's manifest declares no required env vars but the project clearly expects multiple LLM and data API keys.
Instruction Scope
SKILL.md instructs the agent/user to clone the upstream TradingAgents-CN repo, create a .env with API keys, and run python scripts — all expected for this purpose. A minor concern: the doc tells the AI to 'remember' the project path (persistent memory) and the scripts will load .env and call external LLM/data providers, which means user inputs and tickers will be sent to third‑party APIs. The instructions do not ask the agent to read unrelated system files, but they do rely on environment variables and local repo contents that are not declared in the skill metadata.
Install Mechanism
No install spec is present (instruction-only), so nothing is fetched automatically by the skill. The code recommends running 'pip install -r requirements.txt' which is normal for a Python project; the installer risk is left to the user and not automatic.
Credentials
The skill metadata lists no required environment variables, but SKILL.md, references/api-keys.md, check_env.py and analyze.py expect multiple API keys (DEEPSEEK_API_KEY, DASHSCOPE_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, TUSHARE_TOKEN, FINNHUB_API_KEY, etc.) and even optional DB creds in examples. This mismatch (declared none vs required many) is a notable incoherence and increases the risk that secrets will be provided without the user realizing the skill needs them.
Persistence & Privilege
always:false and normal autonomous invocation settings. The only persistence-related text is a suggestion that the AI 'remember' the project path; the skill does not request system-wide config modifications or cross-skill privileges. No 'always:true' or other elevated flags are present.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tradingagents-cn-assistant
  3. After installation, invoke the skill by name or use /tradingagents-cn-assistant
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.1
修复绝对路径问题:将所有硬编码的本地路径(E:\TradingAgents-CN)替换为通用占位符 {PROJECT_DIR},支持任意路径安装;新增首次使用配置引导说明
v1.2.0
补全完整9步多智能体分析流程:新增A股市场分析师、看涨/看跌研究员、激进/保守/中性风险分析师、风险管理总监、投资组合经理角色说明;完善各角色职责映射、输出报告标准格式、进度汇报规范
v1.1.0
v1.1.0: 移除绝对路径,改为自动发现项目目录;重命名为 tradingagents-cn-assistant
v1.0.0
v1.0.0 初始版本:多智能体股票分析框架,支持A股/港股/美股
Metadata
Slug tradingagents-cn-assistant
Version 1.2.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is TradingAgents-CN 股票分析助手?

多智能体大语言模型金融交易分析助手。基于 TradingAgents-CN 框架,使用多个专业AI分析师协作分析股票(A股/港股/美股),生成投资建议和专业报告。 触发场景: - 用户说"分析某只股票"、"帮我看看茅台"、"股票怎么样" - 用户说"股票分析"、"投资建议"、"股票研究报告" - 用户提到股票代码... It is an AI Agent Skill for Claude Code / OpenClaw, with 144 downloads so far.

How do I install TradingAgents-CN 股票分析助手?

Run "/install tradingagents-cn-assistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is TradingAgents-CN 股票分析助手 free?

Yes, TradingAgents-CN 股票分析助手 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does TradingAgents-CN 股票分析助手 support?

TradingAgents-CN 股票分析助手 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created TradingAgents-CN 股票分析助手?

It is built and maintained by SeanTJS (@seantjs); the current version is v1.2.1.

💬 Comments