← 返回 Skills 市场
lucasxing1

A股智投大师

作者 lucasxing1 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
307
总下载
1
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install a-stock-analyst
功能描述
A股智投大师 | A股智能投研助手 | 行情分析 | 基本面分析 | 智能选股 | 自选股管理 | 监控预警
使用说明 (SKILL.md)

🛠️ 首次使用

需要配置 API Key

本技能依赖东方财富妙想数据,需要 API Key:

获取 API Key 方法

  1. 打开东方财富 APP
  2. 搜索「东方财富 skills」或「妙想
  3. 进入页面后点击「我的」→ 「API Key」
  4. 复制 Key

配置方式

配置到 mx-data、mx-search 等 skill 的环境变量中(参考各 skill 文档)。


A股智投大师 Skill

一个专注于A股市场的智能投研助手,整合东财数据、监控预警、智能选股等能力。

功能概览

模块 功能 Skills依赖
📊 行情分析 实时行情、资金流向、K线形态 mx-data
📈 基本面 PE/PB、ROE、财务报表、估值 mx-data
🎯 智能选股 按条件筛选股票 mx-select-stock
⭐ 自选股 查看/管理自选股 mx-selfselect
📰 舆情监控 新闻、研报、公告 mx-search
🔔 监控预警 成本百分比、均线金叉、RSI等 stock-monitor-skill

A股特色指标

A股特色指标 = {
    "涨停板": "连板数量、封板率、炸板率",
    "龙虎榜": "机构买入、游资动向",
    "融资融券": "融资余额、融券余量",
    "股东人数": "筹码集中度变化",
    "限售股解禁": "解禁时间表",
    "股权质押": "质押比例、预警线",
    "商誉减值": "商誉占净资产比",
    "ST/*ST": "风险警示、退市风险"
}

使用示例

1. 查询股票行情

用户:查一下贵州茅台现在多少钱
助手:调用 mx_data 查询 600519 最新价

2. 查看自选股

用户:我的自选股今天怎么样
助手:调用 mx_selfselect 查询自选股列表,然后批量查询每只股票的涨跌幅

3. 智能选股

用户:帮我选一下PE\x3C20的银行股
助手:调用 mx_select_stock 进行条件筛选

4. 深度分析

用户:分析一下宁德时代的投资价值
助手:
  1. 调用 mx_data 获取基本面数据
  2. 调用 mx_data 获取资金流向
  3. 调用 mx_search 获取最新新闻
  4. 综合分析给出建议

5. 设置监控

用户:帮我监控一下的成本价是50元
助手:调用 stock-monitor 添加监控规则

核心Prompt

你是一个专业的A股分析师,擅长:

1. 基于东财数据做基本面分析
   - PE/PB估值是否合理
   - 财务指标是否健康
   - 盈利能力和发展前景

2. 结合市场情绪和资金流向判断趋势
   - 主力资金是流入还是流出
   - 市场情绪是亢奋还是恐慌

3. 挖掘题材龙头和赛道机会
   - 所属题材是否有政策支持
   - 是否细分领域龙头

4. 识别A股特有的风险
   - ST/*ST风险
   - 限售股解禁
   - 股权质押比例
   - 商誉减值风险

分析原则:
- 用数据说话,别凭感觉
- 关注流动性和估值匹配
- 识别股东变化和资金动向
- 给出具体的买卖区间建议(仅供参考,不构成投资建议)

工作流程

用户请求
    ↓
┌─────────────────────────────┐
│  意图识别                   │
│  - 查行情                   │
│  - 看基本面                  │
│  - 选股票                   │
│  - 管理自选                  │
│  - 设置监控                  │
│  - 综合分析                  │
└─────────────────────────────┘
    ↓
┌─────────────────────────────┐
│  调用对应Skills              │
│  - mx_data                 │
│  - mx_selfselect           │
│  - mx_select_stock         │
│  - mx_search               │
│  - stock-monitor           │
└─────────────────────────────┘
    ↓
┌─────────────────────────────┐
│  数据整合与分析               │
│  - 格式化输出               │
│  - 对比分析                 │
│  - 风险提示                 │
│  - 投资建议                 │
└─────────────────────────────┘
    ↓
回复用户

注意事项

  1. 数据来源:所有数据来自东财API,仅供参考
  2. 投资风险:股市有风险,投资需谨慎
  3. API限制:东财API每天50次调用,注意使用频率
  4. 时效性:行情数据可能有延迟,请以实际交易为准

快速命令

命令 功能
查[股票] 查询股票行情
我的自选 查看自选股
选股条件 智能选股
分析[股票] 深度分析
监控[股票] 设置监控预警
安全使用建议
This skill appears to do what it says (A‑share market analysis) and calls a plausible Eastmoney API endpoint (mkapi2.dfcfs.com). Before installing: 1) Confirm you have or are willing to provide an Eastmoney/Miaoxiang API key (MX_API_KEY or MX_SEARCH_API_KEY) — the registry metadata does not declare this but SKILL.md and the code require it. 2) Only provide an API key scoped for the market-data service; do not reuse high‑privilege or unrelated credentials. 3) Review and approve any mx-* skills the package will auto-install (they may require their own keys/permissions). 4) Ensure the runtime has Python and the 'requests' library (the script uses requests but no install is declared). 5) If you are unsure about the external endpoint, verify the API provider's documentation or contact the skill author; treat API keys as sensitive and rotate/revoke them if misused.
功能分析
Type: OpenClaw Skill Name: a-stock-analyst Version: 1.0.1 The skill bundle is a legitimate A-share stock analysis tool that integrates with the East Money (dfcfs.com) API. The Python script (a_stock_analysis.py) and instructions (SKILL.md) are well-aligned with the stated purpose of providing financial data, stock screening, and portfolio management, with no evidence of malicious intent, data exfiltration, or harmful prompt injections.
能力评估
Purpose & Capability
Name/description, SKILL.md and included code all align: the skill queries '东方财富妙想' (Eastmoney/Miaoxiang) APIs and delegates tasks to mx-data/mx-search/mx-select-stock/mx-selfselect/stock-monitor-skill. However, the registry metadata declares no required environment variables while both SKILL.md and the code require an API key (MX_API_KEY or MX_SEARCH_API_KEY). That metadata mismatch is unexpected.
Instruction Scope
Runtime instructions and examples restrict actions to querying market data, searching news, selecting stocks, managing watchlists and adding monitor rules. The SKILL.md tells the user to configure an Eastmoney API key into related mx-* skills; it does not instruct reading unrelated system files or exfiltrating arbitrary data.
Install Mechanism
No install spec (instruction-only) — lowest install risk. A Python script is included that uses the 'requests' library but no dependency/install declarations are provided, so runtime may fail if the environment lacks requests. No downloads from unknown URLs are performed by the skill itself.
Credentials
The code reads MX_API_KEY or MX_SEARCH_API_KEY and the SKILL.md explicitly asks users to supply an Eastmoney API Key, but the registry metadata lists no required env vars or primary credential. This omission is a meaningful inconsistency: the skill will not function without that secret and the manifest should declare it. Ensure you only provide keys scoped for this API and not broader credentials.
Persistence & Privilege
always is false and the skill does not request system-wide configuration changes or permanent elevated privileges. It relies on other skills (auto-install) but does not attempt to modify unrelated skill configs or persist beyond its own files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install a-stock-analyst
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /a-stock-analyst 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
修复: 移除硬编码API Key,改为从环境变量读取
元数据
Slug a-stock-analyst
版本 1.0.1
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 1
常见问题

A股智投大师 是什么?

A股智投大师 | A股智能投研助手 | 行情分析 | 基本面分析 | 智能选股 | 自选股管理 | 监控预警. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 307 次。

如何安装 A股智投大师?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install a-stock-analyst」即可一键安装,无需额外配置。

A股智投大师 是免费的吗?

是的,A股智投大师 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

A股智投大师 支持哪些平台?

A股智投大师 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 A股智投大师?

由 lucasxing1(@lucasxing1)开发并维护,当前版本 v1.0.1。

💬 留言讨论