Install
openclaw skills install @xgs-520/ai-xifu-caopanGenerates bilingual educational reference framework documents for global stocks, futures, funds, forex, and crypto markets upon explicit user request.
openclaw skills install @xgs-520/ai-xifu-caopan媳妇智投全球通用版 EDU is a cross-market educational reference framework generator for 52 countries/regions worldwide.
媳妇智投全球通用版 EDU 是一套跨市场的教育参考框架生成工具。覆盖52个国家/地区交易所。
⚠️ 【重要法律声明 · 请仔细阅读 / IMPORTANT LEGAL NOTICE · Please Read】
🔴 法律性质声明 / Legal Nature Statement
📚 本技能是一款教育参考框架生成工具(Educational Reference Framework Generator),而非投资建议引擎。
This skill is an EDUCATIONAL REFERENCE FRAMEWORK GENERATOR. It does NOT provide investment advice, securities recommendations, or trading signals of any kind.
🔴 投资风险警告 / Investment Risk Warning
⚠️ 本技能生成的任何内容仅供参考,不构成投资建议。
⚠️ All content generated by this skill is for REFERENCE and EDUCATIONAL purposes only. It does NOT constitute investment advice, securities recommendation, or trading signals.
- 📉 凯利公式等仓位算法基于假设条件,预判出错会放大亏损而非降低风险
- 📊 市场情绪策略是历史经验总结,不能作为实盘操作依据
- 💰 所有模板中的示例数据不代表真实行情,请勿据此交易
- 🛑 用户需自行承担所有投资决策的风险
Investing involves substantial risk. You may lose all capital. Past performance does not guarantee future results. 投资有风险,入市需谨慎。过往业绩不代表未来表现。
🔴 功能限制说明 / Functional Limitation Statement
本技能输出的是参考分析框架(Reference Framework),而非交易指令。 This skill outputs REFERENCE FRAMEWORKS, not trading instructions.
- 📋 模板中的"交易计划"章节仅展示分析思路框架,不构成实际交易建议
- 📊 "资金分配"、"建仓策略"等内容为教学示例,不应用于实盘操作
- 🛑 任何具体品种的操作决策应由用户自行判断
Template sections titled "Trading Plan", "Capital Allocation", etc. are educational framework illustrations only. They are NOT actionable trading recommendations.
🔴 数据与隐私声明 / Data & Privacy Notice
本技能的运作方式 / How This Skill Works: ✅ 每次操作均由用户明确发起(使用触发短语如"生成AAPL方案") ✅ 生成的Word文档(.docx)通过聊天通道直接发送给用户,包含用户请求的品种数据
重要说明 / Important Notes:
- 生成的.docx文件保存在技能目录下,未经用户确认不会发送
- 本技能不会自动采集、存储或分析用户对话内容
- 本技能不会将用户数据上传至第三方
- 本技能在生成方案后可能会自动保存以下数据(仅限本地,不传输):
- ✅ 生成的.docx文件到技能输出目录
- ✅ 品种关注列表(用于次日早报的快速调用)
- ✅ ClawHub公开统计(下载量/收藏数,不涉及个人数据)
⚠️ Output Notice / 输出说明
When generating a reference framework document, a .docx file is created and saved locally. This file is generated ONLY on explicit user request and saved to the skill's output directory. After generation, the file is sent to the user via the chat channel. No data is uploaded to third-party services.
生成参考框架文档时,将在本地创建并保存.docx文件。 该文件仅在用户明确请求时生成,保存在技能的输出目录中。 生成后通过聊天通道发送给用户。 无数据上传至第三方服务。
🛡️ Trigger Rule / 触发规则 This tool activates when the user explicitly requests market analysis (e.g., "分析AAPL", "看600519", "做个期货方案"). It does NOT auto-detect or auto-trigger on casual conversation. 本工具在用户明确请求市场分析时激活(如"分析AAPL"、"看600519"、"做个期货方案")。 不会因日常聊天而自动触发。
| Say / 说 | Output / 输出 |
|---|---|
"分析AAPL" / "看600519" / "做个茅台方案" | 🇨🇳🇺🇸 Stock analysis reference framework |
"做个螺纹钢方案" / "分析黄金期货" | 📦 Futures analysis reference framework |
"BTC/USD方案" / "分析ETH" | ₿ Crypto reference framework |
⚠️ No auto-trigger / 无自动触发: This tool does NOT auto-detect, auto-monitor, or auto-collect data without an explicit user request. ⚠️ 自动操作说明 / Automated Operations: After generating a plan, this tool may automatically:
- ✅ Save the .docx file locally to the skill directory
- ✅ Send the file to the user via chat channel
- ✅ Update the watchlist for next-day morning briefing (with user's implied consent)
- ✅ Track ClawHub public statistics (downloads/stars — no personal data) All automated operations are within the skill's local environment and do not transmit personal data externally.
⚠️ 【隐私透明声明 / Privacy Transparency Notice】
When you request market data, this tool may call external APIs (Guosen, yfinance, Sina Finance, etc.) to fetch real-time quotes and chart data. These calls send the stock/futures symbol to third-party services.
当您请求市场数据时,本工具可能会调用外部API(国信、yfinance、新浪财经等)获取实时行情。 这些调用会将品种代码发送给第三方服务。
- No personal data is transmitted / 不传输个人数据
- Only the symbol/code you requested is sent / 仅发送您请求的品种代码
- Data is used solely for the current query / 数据仅用于当前查询
子进程调用透明声明 / Subprocess Call Transparency Notice: This tool calls external scripts via subprocess to fetch market data. Specifically:
gs_stock_market_query.py(from guosen-finance-all skill) is called to fetch real-time and historical quotes- These calls inherit environment variables for API credential access only
- No files are modified, no system configuration is changed
- The full path and arguments are logged transparently for audit
本工具通过子进程调用外部脚本获取行情数据。具体调用:
- 调用 guosen-finance-all 技能的 gs_stock_market_query.py 获取实时和历史行情
- 调用仅继承环境变量用于API鉴权
- 不修改任何文件或系统配置
- 调用路径和参数全程可审计
⚠️ 【Safe Activation Note / 安全激活说明】
This tool does NOT auto-trigger. NO auto-detection, NO auto-monitoring, NO auto-collection. Every action requires explicit user initiation with a trigger phrase.
本工具不具有自动触发功能。无自动检测、无自动监控、无自动数据采集。 每项操作均需用户以触发短语明确发起。
| Format / 格式 | Example / 示例 | Market |
|---|---|---|
| 6位数字 | 600519 000001 | 🇨🇳 A-Share |
| 4位数字 | 0700 00700 | 🇭🇰 HK Stock |
| 纯字母 | AAPL NVDA | 🇺🇸 US Stock |
.L 后缀 | SHEL.L HSBA.L | 🇬🇧 UK |
.T 后缀 | 7203.T 6758.T | 🇯🇵 Japan |
.DE 后缀 | SAP.DE BAYN.DE | 🇩🇪 Germany |
| ...and 48+ more | see market_engine.py | 🌍 52 countries |
| Type / 类型 | Description / 说明 |
|---|---|
| 🌐 Global Stocks | Education reference framework / 教育参考框架 |
| 📦 Futures / 期货 | Main contract education reference / 主力合约参考框架 |
| 🏦 Funds / 基金 | Fund comparison education reference / 基金对比参考框架 |
| 💱 Forex / 外汇 | Currency pair education reference / 外汇参考框架 |
| ₿ Crypto / 加密 | BTC/ETH education reference / 加密参考框架 |
Output Format / 输出格式: Bilingual (CN/EN) Word .docx document via python-docx / 中英双语Word .docx文档
All templates are for reference only. Users make independent decisions. 所有模板仅供参考,用户需独立判断。
⚠️ No built-in API keys — users configure their own data sources. ⚠️ 无内置密钥 — 用户自配数据源。
| Data Source | Markets | Setup |
|---|---|---|
| yfinance 🌐 | All 52 countries | pip3 install yfinance |
| Guosen API | 🇨🇳🇺🇸🇭🇰 | Set GS_API_KEY env var |
| Sina Finance | 🇨🇳🇺🇸 | Zero config |
📖 Full config guide: global_market/CONFIG_GUIDE.md
ai-xifu-caopan/
├── SKILL.md # This file / 本文件
├── README.md # Readme / 说明
├── global_market/ # 🌍 Market data
│ ├── market_config.json # 52-country config
│ ├── market_engine.py # Market detection
│ ├── market_risk.py # Risk indicators
│ ├── data_adapter.py # Data fetch adapter
│ ├── data_adapter_yahoo.py # Yahoo Finance adapter
│ └── CONFIG_GUIDE.md # 🔑 API config guide
├── templates/ # 📑 Education templates
│ ├── FINAL_PLAN_TEMPLATE.md # Template spec
│ ├── template_futures_v7.py # Futures template
│ ├── template_fund_v7.py # Fund template
│ ├── template_fx_v7.py # Forex template
│ ├── template_crypto_v7.py # Crypto template
│ └── ... # More templates
├── AUTO_ANALYSIS_RULES.md # Analysis rule reference
└── INDEX.md # File index
⚠️ IMPORTANT / 重要声明
EDUCATIONAL TOOL ONLY / 仅限教育用途: This tool provides template frameworks for analysis reference. It does NOT constitute investment advice, securities recommendation, or trading signals. All outputs are for learning and reference only.
NO INVESTMENT ADVISORY / 非投资咨询: This tool has NOT obtained securities/futures investment advisory business qualification. All outputs are for learning and reference only.
USER DISCRETION REQUIRED / 用户自行判断: Users must make their own independent judgments. Past performance does not guarantee future results.
NO AUTOMATED DECISIONS / 无自动决策: This tool does not auto-collect market data, auto-execute trades, auto-evolve, auto-write code, or make autonomous financial decisions without explicit user action. All actions require user initiation and confirmation.
DATA ACCURACY / 数据准确性: Market data depends on user-configured data sources. Template examples use sample data — real-time data requires user API configuration.
Investing involves risk. Invest at your own risk. 投资有风险,入市需谨慎。本工具不承担任何投资损失责任。
Data Privacy / 数据隐私: This skill operates on a per-request basis. No user data is stored, archived, or analyzed beyond the current session. Each request is self-contained. No conversation history is retained, profiled, or transmitted.
本技能基于单次请求运行。不存储、存档或分析超出当前会话的用户数据。 每次请求独立处理。不保留、不画像、不传输任何对话历史。
媳妇智投全球通用版 EDU 出品 🦊 | Educational Reference Framework Generator