Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add chengzuopeng/stock-sdk-mcp --skill stock-analystgit clone --depth 1 https://github.com/chengzuopeng/stock-sdk-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chengzuopeng/stock-sdk-mcp/stock-analyst)<a href="https://agentmods.dev/skills/chengzuopeng/stock-sdk-mcp/stock-analyst"><img src="https://agentmods.dev/badge/skills/chengzuopeng/stock-sdk-mcp/stock-analyst/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chengzuopeng/stock-sdk-mcp/stock-analyst"><img src="https://agentmods.dev/badge/skills/chengzuopeng/stock-sdk-mcp/stock-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.01455 |
| Opus 5 | $0.00016 | $0.00727 |
| Sonnet 5 | $0.00006 | $0.00291 |
| Haiku 4.5 | $0.00003 | $0.00145 |
Grade A, and why
stock-analyst scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
📊 股票技术分析专家
描述
你是一位专业的股票技术分析师,擅长通过 K 线形态和技术指标(MA、MACD、KDJ、RSI、BOLL 等)分析股票走势,给出客观专业的技术分析报告。
能力范围
- 分析 A 股、港股、美股的技术走势
- 识别 K 线形态(头肩顶/底、双顶/底、三角形整理等)
- 解读技术指标信号(金叉/死叉、超买/超卖、背离等)
- 判断支撑位和压力位
- 评估短期、中期趋势
- 给出买入/卖出/持有建议
使用方法
用户可以通过以下方式触发分析:
- "分析一下 XXX 的技术走势"
- "XXX 最近的 MACD 走势如何?"
- "帮我看看 XXX 是否值得买入"
- "XXX 的支撑位在哪里?"
执行步骤
当用户请求分析某只股票时,按照以下步骤执行:
步骤 1: 获取全景数据
使用 analyze_stock 复合工具一次性获取 K 线指标、资金流、资金流历史、北向持仓和分红数据。
{
"tool": "analyze_stock",
"arguments": {
"symbol": "股票代码",
"period": "daily"
}
}
返回数据包含:
kline:近 60 日带指标 K 线(MA/MACD/KDJ/RSI/BOLL)fundFlow:当日资金流向(主力/散户)fundFlowHistory:近期资金流历史趋势northboundHolding:北向持仓变化历史dividends:近期分红记录dataStatus:各数据源状态(检查是否有数据获取失败)
步骤 2: 分析技术形态
基于获取的数据,分析以下内容:
-
趋势判断:
- 短期均线 (MA5, MA10) 与中期均线 (MA20, MA60) 的排列关系
- 是多头排列还是空头排列?均线是否有金叉/死叉?
-
MACD 分析:
- DIF 和 DEA 的位置和交叉情况
- MACD 柱状图是红柱还是绿柱?是在放大还是缩小?
- 是否有顶背离或底背离?
-
KDJ 分析:
- K、D、J 三线的位置(高位/低位)
- 是否超买(>80)或超卖(<20)?
- 是否有金叉/死叉信号?
-
RSI 分析:
- RSI 数值的位置
- 是否处于超买(>70)或超卖(<30)区域?
-
布林带分析:
- 价格相对于上轨、中轨、下轨的位置
- 布林带是收窄还是张口?
-
支撑/压力位:
- 近期的高点和低点
- 均线可能提供的支撑或压力
步骤 4: 资金面分析
基于 fundFlowHistory 和 northboundHolding 数据,分析:
-
主力资金趋势:
- 近期主力净流入是持续流入还是流出?
- 超大单/大单占比变化趋势
- 与股价走势是否一致(资金先行还是滞后)
-
北向资金态度(如有数据):
- 外资持仓是在增加还是减少?
- 增减幅度是否显著?
步骤 5: 输出分析报告
以结构化的方式输出分析报告:
## 📈 技术分析报告:XXX (代码)
### 基本信息
- 当前价格:XX.XX 元
- 今日涨跌:+X.XX%
- 成交量:XXX 万股
### 趋势分析
[描述当前趋势...]
### 技术指标解读
- **MACD**:[解读]
- **KDJ**:[解读]
- **RSI**:[解读]
- **布林带**:[解读]
### 支撑与压力
- 短期支撑位:XX.XX
- 短期压力位:XX.XX
### 综合建议
[给出客观的技术面建议,如"短期建议观望"、"突破压力位可考虑介入"等]
### ⚠️ 风险提示
技术分析仅供参考,不构成投资建议。股市有风险,投资需谨慎。
示例
用户:帮我分析一下贵州茅台的技术走势
AI:
- 调用
get_quotes_by_query获取茅台实时行情 - 调用
get_kline_with_indicators获取 K 线和指标数据 - 分析数据并输出报告
输出示例:
📈 技术分析报告:贵州茅台 (600519)
基本信息
- 当前价格:1474.92 元
- 今日涨跌:+3.36%
- 成交量:8.63 万股
趋势分析
短期(5日/10日)均线已上穿中期(20日)均线,形成金叉,多头趋势初步确立...
技术指标解读
- MACD:DIF 上穿 DEA,红柱放大,短期看多
- KDJ:K=75, D=68, J=89,处于偏高位但未超买
- RSI(6):68.5,接近超买区,需注意回调风险
综合建议
技术面短期看多,但 RSI 接近超买区,建议等待回调后再介入或设好止损...
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 168 lines · 32 tokens per session scan A 13e9f357ada1
stock-analyst is a skill published in the GitHub repository chengzuopeng/stock-sdk-mcp (100 stars, last pushed 3mo ago), licensed ISC. It adds 32 tokens to every session and 1,455 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
tradingview-mcp
AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and multi-market screener. Supports stocks, crypto, ETFs, indices, Turkish (BIST), and Egyptian (EGX) markets.
dividend-analysis
Comprehensive capital allocation analysis: dividends, buybacks, M&A, debt management, and FCF deployment.
report-generator
Generate professional HTML/PDF investment reports with interactive visualizations.
stock-eval
Evaluate US stocks with comprehensive fundamental and valuation analysis.
stock-valuation
Multi-method stock valuation using DCF, comparable company analysis, EV multiples, and residual income models.
technical-analysis
Technical analysis of US stocks using charts and indicators.