Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

TradingAgents-AShare Skill

Repository ↗

by KylinMountain★ 9071 skills

Install

What it does

A 股多智能体智能投研系统 — 基于 TradingAgents 架构,15 名 AI Agent 模拟机构协作与实时辩论对抗,全流程可视化,支持 OpenClaw / Claude Code 集成,Docker 一键部署。

  • Connects Instruction files the AI reads, with steps that call an outside service
  • Account or key Some steps need a key for TA_APP_SECRET_KEY, TRADINGAGENTS_TOKEN, OpenAI, TA_API_KEY, TA_VLM_API_KEY (per the README)
  • Category Coding
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/kylinmountain-tradingagents-ashare.svg)](https://mcp.popnx.com/en/skills/kylinmountain-tradingagents-ashare)

Use together with

MCP servers that connect the AI to services for the same work

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

by morlutoWidely used↓ 388.7K/wk★ 468KUpdated 7 days ago

MCP · Connects a serviceRuns on your computer

Fallow

Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.

by fallow-rsWidely used↓ 2.4M/wk★ 5.4KUpdated 2 days ago

MCP · Connects a serviceRuns on your computer

Desktop Commander

MCP server for terminal commands, file operations, and process management

by wonderwhy-erWidely used↓ 740.3K/wk★ 10.3KUpdated yesterday

MCP · Connects a serviceRuns on your computer

Similar Skills

Same kind of work, ordered like the Skills list

Compared with similar ones
This one
TradingAgents-AShare
reaandrej-karpathy-skillsgraphifyMoneyPrinterTurbo
MakerKylinMountainmorlutomultica-aiGraphify-Labsharry0703
Skills11111
GitHub stars907467,235234,125149,873144,332
Last code changeNov 14, 2026Nov 18, 2026Apr 20, 2026Nov 18, 2026Nov 18, 2026
License–MIT–Apache-2.0MIT

1 skills (instruction sets) by KylinMountain that an AI reads and follows · not an MCP server

How a Skill differs from MCP

MCP = the hands

Connects the AI to an outside service or data, such as reading Notion or creating an invoice. A program or server has to be running.

Skill = the manual

A text file that teaches the AI how to do a task. It connects to nothing.

Some overlap: a few Skills run scripts that call tools, and a few MCP servers only send knowledge. Start from the task you want done.

Works with

Claude CodeCodex

From the maker’s README and the folders in the repo

Install

Is it safe?

  • Who made it

    GitHub account KylinMountain (person), 13 years old

  • Use and upkeep

    ★ 907 stars · code last changed Nov 14, 2026

  • Any scripts?

    1 scripts that can run on a computer: scripts/analyze.sh

  • Uses the internet?

    Scripts that go online: scripts/analyze.sh

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit 63b25ed (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

First: which AI do you use?

Pick your app and this page shows only how to install it there

Option 1Upload to claude.ai (web and app)

  1. Download from GitHub

    This skill has no license, so we do not hand out a ZIP from our site. Download it from GitHub and arrange the folder yourself, or use "Let the AI install it" above, which is easier

    Download from GitHub (whole repo) ↗

    Unzip it, then zip only the skills/tradingagents-analysis folder again. The ZIP must have a tradingagents-analysis folder with SKILL.md at the top level, no loose files

  2. Open Skills on claude.ai and upload

    +Create skillUpload a skillpick tradingagents-analysis.zip

    Open claude.ai/customize/skills ↗

  3. No Upload button? Turn on file creation first

    SettingsCapabilitiesCode execution and file creation

    Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free

Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)

Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)

Checked against official docs Nov 12, 2026 · Source: support.claude.com, support.claude.com, code.claude.com

Option 1Let Claude Code install it

Copy this sentence and paste it into a Claude Code chat

Where to install

Checking the commands · copy buttons appear once they pass

Checking the commands · copy buttons appear once they pass

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Restart Claude Code, then type /tradingagents-analysis or ask for a matching task and Claude picks it up

Checked against official docs Nov 12, 2026 · Source: code.claude.com

For Terminal users

A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.

  1. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead

  2. Copy the skill folder to ~/.claude/skills

    This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md

    Checking the commands · copy buttons appear once they pass

  3. Restart Claude Code, then type /tradingagents-analysis or ask for a matching task and Claude picks it up

Skills you install yourself work in the ChatGPT desktop app, Codex CLI and the Codex IDE extension · ChatGPT on the web and mobile cannot use skills you install yourself, only skills that come with a plugin from the directory

ChatGPT desktop app

The ChatGPT desktop app has Codex built in, and Codex reads skills from ~/.agents/skills

Option 1Let ChatGPT install it

Open Codex in the ChatGPT desktop app and paste this sentence into the chat

Where to install

Checking the commands · copy buttons appear once they pass

Checking the commands · copy buttons appear once they pass

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2Put the folder there yourself

Put the tradingagents-analysis folder at ~/.agents/skills/tradingagents-analysis

~ is your home folder ($HOME)

For Terminal users

A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.

  1. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead

  2. Copy the skill folder to ~/.agents/skills

    This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md

    Checking the commands · copy buttons appear once they pass

After installing

  • ChatGPT desktop app: open Skills in the sidebar to see that the skill is there
  • To use it: in ChatGPT type @ and pick the skill · in Codex CLI or the IDE extension run /skills or type $ and the skill name
  • Codex picks up newly installed skills by itself; if one does not show up, restart Codex

Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com

ChatGPT on the web and mobile

Skills you install yourself do not work here; only skills that come with a plugin from the directory

To use this skill with ChatGPT, use the ChatGPT desktop app as above

Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com

Option 1Let Codex install it

Copy this sentence and paste it into a Codex chat · Works in Codex inside the ChatGPT desktop app, Codex CLI and the IDE extension

Where to install

Checking the commands · copy buttons appear once they pass

Checking the commands · copy buttons appear once they pass

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex picks up newly installed skills by itself; if one does not show up, restart Codex · To use it: in ChatGPT type @ and pick the skill · in Codex CLI or the IDE extension run /skills or type $ and the skill name

Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com

For Terminal users

A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.

  1. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead

  2. Copy the skill folder to ~/.agents/skills

    This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md

    Checking the commands · copy buttons appear once they pass

  3. Restart Codex, then ask for a matching task; Codex lists the skill

Option 1Let Cursor install it

Copy this sentence and paste it into a Cursor chat

Where to install

Checking the commands · copy buttons appear once they pass

Checking the commands · copy buttons appear once they pass

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

In Cursor’s Agent chat, type / and pick tradingagents-analysis

Checked against official docs Nov 12, 2026 · Source: cursor.com

For Terminal users

A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.

  1. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead

  2. Copy the skill folder to ~/.cursor/skills

    This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md

    Checking the commands · copy buttons appear once they pass

  3. In Cursor’s Agent chat, type / and pick tradingagents-analysis

Option 1Let the AI install it

For other apps that read skills. The sentence gives the paths for Claude Code, Codex and Cursor so the AI picks the one for your app · Copy this sentence into the app’s chat

Where to install

Checking the commands · copy buttons appear once they pass

Checking the commands · copy buttons appear once they pass

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs Nov 12, 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

Other apps that support Agent Skills (such as Gemini CLI or GitHub Copilot) use different folders. Check that app’s guide, then copy the folder with the SKILL.md there.

View on GitHub ↗

Skill folders checked against the official Claude Code, Codex and Cursor guides on Nov 11, 2026

View the original SKILL.md

The text below comes from the maker’s repo, not from PopNx MCP

7,047 characters · Open the full file on GitHub

---
name: tradingagents-analysis
version: 0.6.1
description: >-
  A股多智能体 AI 投研分析工具 — 15 名 AI 分析师协作完成技术分析、基本面分析、
  市场情绪研判、资金流向追踪(北向资金/主力资金)、宏观经济分析及博弈论推演,
  输出结构化买卖建议与风险评估。支持沪深 A 股股票代码和中文名称。
  Multi-agent AI stock analysis for China A-shares.
  15 specialized analysts collaborate across technical analysis, fundamental analysis,
  sentiment analysis, smart money flow tracking, macro economics, and game theory
  to deliver structured buy/sell/hold recommendations with risk assessment.
homepage: https://app.510168.xyz
repository: https://github.com/KylinMountain/TradingAgents-AShare
tags:
  - stock-analysis
  - A-share
  - A股
  - 股票分析
  - 股票
  - 炒股
  - 选股
  - 荐股
  - trading
  - investment
  - 投资
  - 投研
  - 量化投研
  - 研报
  - 盘后分析
  - 复盘
  - multi-agent
  - 多智能体
  - AI分析
  - AI炒股
  - technical-analysis
  - 技术分析
  - K线
  - fundamental-analysis
  - 基本面分析
  - sentiment-analysis
  - 市场情绪
  - smart-money
  - 资金流向
  - 北向资金
  - 主力资金
  - 龙虎榜
  - finance
  - 金融
  - China
  - 中国股市
  - 沪深
  - 上证
  - 深证
  - quant
  - risk-assessment
  - 风险评估
  - 买卖建议
  - claude-code
  - openclaw
metadata:
  openclaw:
    requires:
      env:
        - TRADINGAGENTS_TOKEN
        - TRADINGAGENTS_API_URL
      bins:
        - curl
        - python3
        - bash
    primaryEnv: TRADINGAGENTS_TOKEN
    emoji: "📈"
    homepage: https://app.510168.xyz
---

# TradingAgents 多智能体 A 股投研分析

使用 TradingAgents API,让 **15 名专业 AI 分析师**对 A 股进行五阶段深度协作研判,输出结构化投资建议。

## 🎯 快速上手

**直接对我说:**
- "帮我分析一下贵州茅台"
- "宁德时代值得买入吗"
- "分析一下 600519 的技术面"
- "比亚迪最近资金流向怎么样"

**我会调用 15 个 AI 分析师,从市场、技术、基本面、情绪、资金五个维度深度分析,给你专业的投资建议。**

---

## 🤖 系统架构:五阶段 15 智能体

| 阶段 | 智能体 | 职责 |
|------|--------|------|
| 1. 分析团队 | 市场/新闻/情绪/基本面/宏观/聪明钱 | 多维度原始数据解读 |
| 2. 博弈裁判 | 博弈论管理者 | 主力与散户预期差分析 |
| 3. 多空辩论 | 多头/空头研究员 + 裁判 | 对立观点激烈博弈 |
| 4. 执行决策 | 交易员 | 综合研判生成操作建议 |
| 5. 风险管控 | 激进/中性/保守分析师 + 组合经理 | 多维度风控审核 |

---

# TradingAgents Multi-Agent Investment Research

Use the TradingAgents API to let **15 specialized AI analysts** conduct deep, five-stage collaborative research on A-Share stocks, delivering structured trading recommendations.

## 🤖 System Architecture: 5 Stages · 15 Agents

| Stage | Agents | Role |
|-------|--------|------|
| 1. Analyst Team | Market / News / Sentiment / Fundamentals / Macro / Smart Money | Multi-dimensional raw data analysis |
| 2. Game Theory | Game Theory Manager | Main-force vs. retail expectation gap |
| 3. Bull/Bear Debate | Bull & Bear Researchers + Judge | Adversarial viewpoint debate |
| 4. Trade Execution | Trader | Synthesize research into actionable decision |
| 5. Risk Control | Aggressive / Neutral / Conservative + Portfolio Manager | Multi-layer risk review |

## 📋 适用场景

✅ **适合使用:**
- 个股深度分析(技术面 + 基本面)
- 投资决策参考
- 盘后复盘分析
- 持仓标的风险评估
- 资金流向与市场情绪研判

❌ **不适合:**
- 盘中实时盯盘(分析需要 1-5 分钟)
- 超短线交易(分钟级决策)
- 加密货币、美股等非 A 股市场

## 🔒 隐私与安全

- **发送范围**:本技能**仅**从对话中提取股票名称/代码、分析日期、分析视角等参数,将其作为 `symbol`/`trade_date`/`horizons` 字段发送至后端 API。**不发送对话原文、不读取本地文件、不上传任何其他隐私数据。**
- **令牌安全**:`TRADINGAGENTS_TOKEN`(格式 `ta-sk-*`)是访问后端的唯一凭证,请使用最小权限令牌,如怀疑泄露请立即在 [app.510168.xyz](https://app.510168.xyz) 吊销并重新生成。
- **敏感内容提示**:请勿在分析请求中粘贴个人账户信息、真实持仓或其他敏感内容,本技能无法阻止用户主动提交这些内容。
- **自托管**:如需完全掌控数据流向,可参考 [GitHub 文档](https://github.com/KylinMountain/TradingAgents-AShare) 自行部署后端,并将 `TRADINGAGENTS_API_URL` 指向自建服务器。

> **关于凭证元数据**:本技能的 frontmatter 在 `metadata.openclaw` 中声明了 `TRADINGAGENTS_TOKEN` 为 `primaryEnv`,并列入 `requires.env`。

## 🔒 Privacy & Data Transmission

- **What is sent**: Only the extracted stock symbol, trade date, and analysis parameters (`symbol`, `trade_date`, `horizons`) are transmitted to the backend. The raw conversation text is **never** forwarded.
- **Token**: `TRADINGAGENTS_TOKEN` (pattern `ta-sk-*`) is the sole credential. Use a minimal-privilege token and rotate it immediately if compromised.
- **Sensitive content**: Do not paste personal account data, real positions, or other sensitive information into analysis requests.
- **Self-hosting**: For full data sovereignty, deploy the backend yourself and set `TRADINGAGENTS_API_URL` to your server. See the [GitHub repo](https://github.com/KylinMountain/TradingAgents-AShare).

> **Credential metadata**: This skill's frontmatter declares `TRADINGAGENTS_TOKEN` as `primaryEnv` under `metadata.openclaw.requires.env`.

## ⚙️ 快速配置

**方式一:使用官方托管服务(零部署,开箱即用)**

1. 登录 [https://app.510168.xyz](https://app.510168.xyz)
2. 进入 **Settings → API Tokens** 创建令牌
3. 配置环境变量:
```bash
export TRADINGAGENTS_TOKEN="ta-sk-your_key_here"
```

**方式二:私有化部署(数据完全自主可控)**

如对数据隐私有要求,可自行部署后端,所有分析数据仅在你自己的服务器上处理:

```bash
# 1. 部署后端,参考 https://github.com/KylinMountain/TradingAgents-AShare
# 2. 将 API 地址指向自建服务
export TRADINGAGENTS_API_URL="http://your-server:8000"
export TRADINGAGENTS_TOKEN="ta-sk-your_key_here"
```

## 🚀 常用操作

**推荐方式:使用一体化脚本**(自动提交 → 轮询 → 获取结果)

```bash
# 脚本路径(相对于技能目录)
bash scripts/analyze.sh <symbol[,symbol2,...]> [trade_date] [horizons]

# 单个分析
bash scripts/analyze.sh 贵州茅台
bash scripts/analyze.sh 600519.SH 2026-03-22
bash scripts/analyze.sh 600519.SH 2026-03-22 medium

# 批量分析(逗号分隔,并行提交,统一等待)
bash scripts/analyze.sh 贵州茅台,比亚迪,宁德时代
bash scripts/analyze.sh 600519.SH,002594.SZ,300750.SZ 2026-03-22
```

脚本会自动完成:提交任务 → 每 15 秒轮询状态 → 完成后输出 JSON 结果。
批量模式下所有任务并行提交,统一轮询,最后汇总输出。超时默认 600 秒。

可通过环境变量调整行为:
- `POLL_INTERVAL` — 轮询间隔秒数(默认 15)
- `POLL_TIMEOUT` — 最大等待秒数(默认 600)

**手动分步操作**(如需单独调用某一步)

所有请求使用 `$TRADINGAGENTS_TOKEN` 作为 Bearer 令牌。

1. 提交分析任务
```bash
curl -X POST "${TRADINGAGENTS_API_URL:-https://api.510168.xyz}/v1/analyze" \
  -H "Authorization: Bearer $TRADINGAGENTS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"symbol": "贵州茅台"}'
```

2. 查询任务状态
```bash
curl "${TRADINGAGENTS_API_URL:-https://api.510168.xyz}/v1/jobs/{job_id}" \
  -H "Authorization: Bearer $TRADINGAGENTS_TOKEN"
```

3. 获取完整分析结果(任务完成后)
```bash
curl "${TRADINGAGENTS_API_URL:-https://api.510168.xyz}/v1/jobs/{job_id}/result" \
  -H "Authorization: Bearer $TRADINGAGENTS_TOKEN"
```

## 📊 示例输出

```json
{
  "decision": "BUY",
  "direction": "看多",
  "confidence": 78,
  "target_price": 1850.0,
  "stop_loss_price": 1680.0,
  "risk_items": [
    {"name": "估值偏高", "level": "medium", "description": "当前 PE 处于历史 75 分位"},
    {"name": "外资流出", "level": "low",    "description": "近 5 日北向资金小幅净流出"}
  ],
  "key_metrics": [
    {"name": "PE",   "value": "32.5x",  "status": "neutral"},
    {"name": "ROE",  "value": "31.2%",  "status": "good"},
    {"name": "毛利率", "value": "91.5%", "status": "good"}
  ],
  "final_trade_decision": "综合技术面突破与基本面支撑,建议逢低分批建仓..."
}
```

## 🔄 任务执行流程

深度分析通常耗时 **1 至 5 分钟**:

1. **识别标的**:从对话中**仅**提取股票名称或代码(及可选日期/视角),不发送对话原文
2. **告知用户**:反馈任务即将提交,预计耗时 1-5 分钟
3. **执行脚本**:使用 Bash 工具运行 `bash scripts/analyze.sh <symbol> [date] [horizons]`(设置 `run_in_background: true`),脚本自动完成提交、轮询和结果获取
4. **汇总结论**:脚本输出完成后,解析 JSON 结果,向用户展示决策、方向、目标价、风险点

> **重要**:不要手动编写 curl 轮询循环,直接使用 `scripts/analyze.sh` 脚本。

## 📌 支持标的范围

- **沪深 A 股**:中文名称(如 "比亚迪"、"宁德时代")或代码(`002594.SZ`、`601012.SH`)

## 💡 注意事项

- **轮询频率**:每次轮询间隔不低于 15 秒
- **数据健壮性**:若部分数据源缺失,系统将基于宏观与行业逻辑进行外溢分析
- **短线模式**:输入"分析 XX 短线"时,系统自动切换为 14 天技术面分析,跳过财报数据,速度更快

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

From GitHub

GitHub stars
907
Maker
KylinMountain
License
No license stated This repo states no license. By default the author keeps all rights: ask before you share it or use it commercially.
Last code change
Nov 14, 2026
SKILL.md files in the repo (including translated copies and templates)
1
Topics
agents, ai, finance, llm, openclaw, openclaw-skills, skills, stock