AI Skills
What are Skills?
Skills are scenario-based wrappers around the underlying MCP Tools. They go beyond simple API calls by using a Chain-of-Thought (CoT) approach to guide AI through step-by-step market analysis.
Each Skill is a SKILL.md file containing:
- YAML Frontmatter: Name, description, required MCP servers
- Role Definition: Tells the AI what role to play (e.g., "Technical Analyst")
- Execution Steps: Clear, sequential operation instructions
- Output Template: Structured report format
Built-in Skills
Stock Technical Analyst
Use Cases: Individual stock diagnosis, buy/sell point evaluation, MACD / KDJ pattern recognition
Trigger Phrases:
- "Analyze XXX's technical trend"
- "What's XXX's recent MACD like?"
- "Should I buy XXX?"
Execution Flow:
- Call
get_quotes_by_queryto get real-time quotes - Call
get_kline_with_indicatorsto get multi-indicator K-line data - Analyze MA alignment, MACD crossovers, KDJ overbought/oversold, RSI, Bollinger Band position
- Output structured technical analysis report with trend judgment, support/resistance levels, and recommendations
Output Example:
## 📈 Technical Analysis Report: Kweichow Moutai (600519)
### Basic Info
- Current Price: ¥1474.92
- Today's Change: +3.36%
### Technical Indicator Analysis
- **MACD**: DIF crosses above DEA, red bars expanding, short-term bullish
- **KDJ**: K=75, D=68, J=89, high but not overbought
- **RSI(6)**: 68.5, approaching overbought zone
### Recommendation
Short-term technically bullish, but RSI approaching overbought zone.
Wait for pullback before entering or set stop-loss...
### ⚠️ Risk Disclaimer
Technical analysis is for reference only. Not investment advice.Smart Stock Screener
Use Cases: Finding limit-up stocks, screening undervalued blue chips, sector leader identification
Trigger Phrases:
- "Find the top 10 STAR Market stocks by gain today"
- "Screen for banking stocks with P/E below 30"
- "Which concept sectors gained more than 3% today?"
Execution Flow:
- Define screening scope (market / sector / index)
- Call batch quote tools to get comprehensive data
- Filter and sort by user criteria
- Output list of qualifying stocks
Market Deep Overview
Use Cases: Opening commentary, closing review reports, hotspot tracking
Trigger Phrases:
- "How's the market performing right now?"
- "What hot concepts are worth following today?"
- "Give me a market review report for today"
Execution Flow:
- Get major indices (SSE / SZSE / ChiNext) real-time quotes
- Scan industry and concept sector rankings
- Analyze market sentiment (advance/decline ratio, limit-ups, volume)
- Output panoramic analysis report
Portfolio Monitor
Use Cases: Portfolio watching, price alerts, post-investment management
Trigger Phrases:
- "Check my positions: Moutai bought at 1400, Meituan bought at 120"
- "Watch BYD for me, alert if it drops below 250"
- "What's my portfolio P&L today?"
Execution Flow:
- Batch fetch real-time quotes for watched stocks
- Compare with user's cost basis to calculate P&L
- Detect anomalies (significant swings / volume spikes / key price levels)
- Output position P&L table and alert information
Using Skills in AI Tools
OpenClaw (Recommended)
OpenClaw can perfectly parse Skill folders. Add to ~/.clawdbot/config.yaml:
skills:
directories:
- /path/to/stock-sdk-mcp/skillsOpenClaw will automatically convert SKILL.md YAML frontmatter into Agent Metadata and load them.
Cursor
Save Skill contents as rule files in .cursor/rules/:
.cursor/rules/stock-analyst.md
.cursor/rules/stock-screener.md
.cursor/rules/market-overview.md
.cursor/rules/realtime-monitor.mdCustom Skills
You can write your own analysis skills following the built-in Skill format:
- Self-contained description: Skills must include a clear role definition
- Multi-modal friendly: Output should use Markdown tables or structured formats
- Error handling: Tell the AI how to handle empty results gracefully
- Tool references: Use JSON call format for tools like
get_kline_with_indicators
---
name: my-custom-skill
description: Custom analysis skill
version: "1.0"
requires:
mcp_servers:
- stock-sdk
---
# Custom Analysis Skill
## Description
You are a...
## Execution Steps
1. ...
2. ...