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 shouldnotappearcalm/a-share-skill --skill macd-trend-resonance-stock-pickergit clone --depth 1 https://github.com/shouldnotappearcalm/a-share-skillWrote 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/shouldnotappearcalm/a-share-skill/macd-trend-resonance-stock-picker)<a href="https://agentmods.dev/skills/shouldnotappearcalm/a-share-skill/macd-trend-resonance-stock-picker"><img src="https://agentmods.dev/badge/skills/shouldnotappearcalm/a-share-skill/macd-trend-resonance-stock-picker/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/shouldnotappearcalm/a-share-skill/macd-trend-resonance-stock-picker"><img src="https://agentmods.dev/badge/skills/shouldnotappearcalm/a-share-skill/macd-trend-resonance-stock-picker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00093 | $0.01894 |
| Opus 5 | $0.00046 | $0.00947 |
| Sonnet 5 | $0.00019 | $0.00379 |
| Haiku 4.5 | $0.00009 | $0.00189 |
Grade A, and why
macd-trend-resonance-stock-picker 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 13d 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 — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MACD 趋势共振选股 Skill
输出目标
把“均线看趋势,MACD看节奏”落成一套可执行的选股流程,输出:
- 样本池与时间戳
- 趋势方向判断
- MACD 动能状态
- 候选股分级
- 入场触发与失效条件
- 风险提示与不做清单
数据与工具要求
- A股数据必须优先通过
../a-share-skill/scripts/获取,禁止换未验证数据源。 - 默认使用:
fetch_realtime.py获取实时快照fetch_history.py获取日线/60分钟K线fetch_technical.py获取 MACD、均线等技术指标fetch_stock_events.py获取重大事件与异动背景
- 任一关键字段缺失时,必须显式写“缺失/低置信”,禁止补猜。
标准工作流
Step 1:定义样本池与分析口径
先明确:
- 用户指定标的、板块、指数成分,还是全市场
- 分析周期,默认
日线定方向 + 60分钟找触发 - 时间戳与样本数量
若用户没给范围:
- 默认口径为沪深A股可交易样本
- 若任务是“板块内筛票”,先以所属板块成分为样本池
Step 2:先用均线定方向,不逆趋势筛票
核心规则:
60日线向上 + 收盘价在60日线上方→ 趋势合格60日线走平或粘合→ 仅观察,不列强候选60日线向下 + 收盘价在60日线下方→ 直接剔除
可补充观察:
- 20日线是否在60日线上方
- 20日线、60日线是否同时向上
- 最近 5 至 10 个交易日是否仍维持高低点抬升
方向是硬过滤条件。方向不对,后续 MACD 再漂亮也不能进强候选池。
Step 3:再用 MACD 定节奏,只在顺势中找时机
优先级从高到低:
MACD 位于 0 轴上方金叉红柱缩短后重新放大DIF/DEA 同步向上60分钟 MACD 与日线同向
降级或剔除条件:
- 日线 MACD 在 0 轴下方,仅可列观察,不列主买入候选
- 明显顶背离,降级或移出候选池
- 金叉发生在明显下跌趋势中,只视为反弹,不当主升起点
Step 4:构建四档候选分级
A级,趋势与节奏强共振
同时满足:
- 60日线向上
- 股价站上60日线
- 日线 MACD 在 0 轴上方
- 近期出现金叉或红柱二次放大
- 60分钟至少不拖后腿,最好同步金叉
动作:
- 进入重点观察/可执行池
- 等回踩不破或盘中放量突破时执行
B级,趋势对,节奏刚转强
满足趋势条件,同时:
- 日线 MACD 接近或刚回到 0 轴上方
- 红柱开始修复,但确认度一般
- 60分钟先于日线转强
动作:
- 可轻仓试错
- 等更明确触发,如突破前高、量能放大
C级,趋势尚可,但节奏矛盾
如:
- 均线多头,但 MACD 顶背离或死叉
- MACD 金叉,但仍在 0 轴下方
动作:
- 仅观察
- 不给主动追买建议
D级,直接回避
任一命中:
- 60日线向下
- 股价持续运行在60日线下方
- MACD 死叉后继续走弱
- 板块本身显著走弱且无独立逻辑
动作:
- AVOID
Step 5:买点设计,只做可验证触发
默认只给“条件触发式”买点,不凭主观感觉提前下手。
优先触发:
- 突破近 5 到 10 日平台高点
- 回踩 20 日/60 日均线后企稳再上
- 日线趋势向上,60分钟 MACD 金叉共振
- 放量上破昨高/阶段高
每次都必须给:
- 触发条件
- 止损位
- 失效条件
常用失效定义:
- 跌回 60 日线下方
- 跌破触发K低点
- DIF 再次拐头下破 DEA 且量能转弱
Step 6:卖点与减仓规则
优先减仓信号:
- 趋势未坏,但 MACD 顶背离
- 红柱持续缩短,动能衰减
- 60分钟先死叉,日线跟随转弱
直接离场信号:
- 股价有效跌破 60 日线
- 日线 MACD 下破 0 轴,且趋势同步转差
- 突破失败并放量回落
Step 7:板块与大盘过滤,避免孤立看个股
个股结论前,至少补看:
- 所属板块是否处于上行或轮动增强期
- 大盘是否支持趋势票继续演绎
- 是否存在财报、监管、减持、停牌等事件风险
若板块与指数明显逆风:
- 候选评级至少下调一档
- 不给重仓建议
推荐评分框架(100分)
- 趋势方向,40分
- 60日线方向,20分
- 股价相对60日线位置,10分
- 20/60日线多头结构,10分
- MACD节奏,35分
- 是否在0轴上方,15分
- 是否金叉/红柱再放大,10分
- 60分钟是否同步,10分
- 板块与市场环境,15分
- 风控与事件清洁度,10分
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.
- 13d ago First seen · 190 lines · 93 tokens per session scan A dfd82b4b8638
macd-trend-resonance-stock-picker is a skill published in the GitHub repository shouldnotappearcalm/a-share-skill (238 stars, last pushed 2mo ago), licensed MIT. It adds 93 tokens to every session and 1,894 once invoked, about $0.0005 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
china-dcf-model
A documented discounted-cash-flow model for valuing non-financial A-share companies. A discounted-cash-flow model estimates today’s value from expected future cash flows and makes its assumptions, valuation date, and adjustments explicit.
industry-etf-research
A research workflow for studying Chinese A-share industry ETFs and the indexes they track. It compares index rules, holdings, company fundamentals, industry conditions, valuations and market evidence.
pptx-author
Produce a .pptx file on disk for headless Chinese A-share market research, using python-pptx with Chinese font support. Use when no controllable Office session is available.
china-market-data
A routing and quality-check process for obtaining Chinese stock-market and company-financial data from sources such as Tushare Pro and AKShare.
china-market-researcher
A research workflow for analysing Chinese-listed stocks by industry or investment theme, including companies, competitors, ETFs, and market data. A-share means shares listed on mainland Chinese stock exchanges.
a-share-factor-validation
A research checklist and toolkit for testing stock-selection factors and backtests in China's A-share market, the mainland Chinese stock market. It checks whether results avoid future-data leakage and account for trading rules, costs, and statistical uncertainty.