trading-sop

trading-sop is a skill for Claude Code, Codex from Fize/mmtickerlab. It costs 178 tokens per session (2,805 once invoked), scanned B, original, MIT.

A trading workflow coordinator for Chinese stock-market research and decisions. It identifies whether a request is about preparation before trading, review during or after trading, individual-stock research, or overnight first-limit decisions, then routes it through existing steps.

In plain words
What is it for?
Use it to organise market preparation, intraday or end-of-day reviews, stock research, overnight trade decisions, and simulated order workflows.
Why use it?
It gives different trading questions the appropriate sequence of research and risk checks. If required data is missing, it stops rather than continuing with unsupported analysis.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: reads .claude/ paths; mentions subagents; built for openclaw.

Good fit Use it to organise market preparation, intraday or end-of-day reviews, stock research, overnight trade decisions, and simulated order workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fize/mmtickerlab/trading-sop
Install

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.

Any agent
npx skills add Fize/mmtickerlab --skill trading-sop
Clone the repo
git clone --depth 1 https://github.com/Fize/mmtickerlab

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for trading-sop

README.md
[![agentmods](https://agentmods.dev/badge/skills/fize/mmtickerlab/trading-sop/github.svg)](https://agentmods.dev/skills/fize/mmtickerlab/trading-sop)
Your own site
<a href="https://agentmods.dev/skills/fize/mmtickerlab/trading-sop"><img src="https://agentmods.dev/badge/skills/fize/mmtickerlab/trading-sop/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.

agentmods 80×15 button for trading-sop

Your own site · 80×15
<a href="https://agentmods.dev/skills/fize/mmtickerlab/trading-sop"><img src="https://agentmods.dev/badge/skills/fize/mmtickerlab/trading-sop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 178 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,805 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00178 $0.02805
Opus 5.5 $0.00071 $0.01122
Sonnet 5.5 $0.00036 $0.00561
Haiku 4.5 $0.00018 $0.00281

Measured 1mo ago against content hash b51f10620840, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

trading-sop scanned grade B with 1 finding 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 1mo ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/market_reader.py, scripts/report_indexer.py, scripts/server.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

为支持作为全局技能安装(如位于 `~/.gemini/config/skills/` 或 `~/.claude/skills/`)以及在任意用户工程目录下执行,**所有报告必须输出至用户当前工作空间(Current Workspace / CWD)下的 `report/` 目录中**,严禁将报告写在技能代码的安装目录内:
trading-sop/SKILL.md · 204 lines

How it starts

The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trading SOP — 交易标准操作程序总编排

本技能是所有投研与决策技能的入口与调度层。它不生成任何原始数据,只负责:

  1. 识别用户意图 → 选择对应 SOP 链
  2. 按序/并行调用 已有技能(渐进式披露,各技能自行查阅其 SKILL.md)
  3. 汇总各技能输出 → 给出最终可操作建议

各子 Skill 也必须支持独立触发;本编排层不以既有报告代替数据核验。若必需数据缺失,先允许子 Skill 按自身契约补充并核验;补充后仍不可用时,保留现有规则,立即停止整条 SOP 链并输出阻断原因。

零虚构原则继承:若任一技能因数据缺失触发阻断,整条 SOP 链即刻终止,输出阻断通知,不继续生成后续分析。


第一步:意图识别与路由

根据用户输入判断目标 SOP 链。如意图不明确,先问清楚再执行。

用户意图关键词 / 场景 路由至 SOP 链
盘前、今日计划、开盘前怎么看 → SOP-A(盘前段)
午间复盘、盘中、上午怎么样 → SOP-A(盘中段)
收盘复盘、盘后、今天结果 → SOP-A(盘后段)
研究 XX 股票、深度分析、值不值得买 → SOP-B:个股深度研究
首板、隔夜、今晚要不要留板 → SOP-C:首板隔夜决策
模拟交易、买入、下单 → SOP-C(执行段)

当用户提供股票代码且没有指定 SOP 类型时,默认走 SOP-B(个股深度研究),同时询问是否需要结合当日大盘环境(叠加 SOP-A 盘前段)。


SOP-A:日内研究主线(盘前/盘中/盘后)

完整链路说明见 references/sop-a-daily.md。

盘前准备段

调用顺序(串行,前序失败则终止):
1. market-intel   → 获取隔夜外盘、宏观要闻、行业动态背景
2. plan-review    → 执行盘前数据采集与计划报告生成
3. risk-guard     → 标定当前大势 Regime(牛/结构性/震荡/熊)
4. [本技能] 汇总  → 输出操作建议(见下方输出规格)

执行时:先通知用户正在启动 SOP-A 盘前链,然后依次调用各技能。每个技能完成后简报结果再继续下一个,不要等全部完成后再一次性汇报。

盘中复盘段

调用顺序:
1. plan-review(盘中段)→ 基于午间快照复核盘前假设
2. risk-guard           → 更新 Regime 判断(若大盘结构有变)
3. [本技能] 汇总        → 下午策略微调建议

盘后复盘段

调用顺序:
1. plan-review(盘后段)→ 收盘复盘报告
2. risk-guard           → 次日 Regime 预判
3. market-intel         → 检索今日重要公告与明日催化线索
4. [本技能] 汇总        → 明日操作方向建议

SOP-B:个股深度研究主线

完整链路说明见 references/sop-b-stock.md。

前置条件:用户必须提供标的代码或名称。

并行阶段(Phase 1)— 同时启动 3 个 Subagent:
  ├── ticker-pipeline / fundamental_valuation  → 基本面 + 估值
  ├── ticker-pipeline / market_heat            → 筹码 + 资金热度 + 机构参与
  └── ticker-pipeline / intel_news             → 消息面 + 舆情

串行阶段(Phase 2)— 等待 Phase 1 全部完成:
  ├── industry-research  → 所属行业景气度与赛道对比
  └── asset-analysis     → 综合技术面诊断与多模型估值验证

门控阶段(Phase 3)— VETO 门禁:
  └── risk-guard / risk_guard_agent → 独立风控审查,有 VETO 权

[本技能] 综合裁决 → 输出最终评级与操作建议

若用户还想了解当日大盘环境,在 Phase 1 同时启动 market-intel 获取宏观背景,作为 intel_news 的补充输入。

Read the full file on GitHub · 204 lines

Changes

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.

  1. 1mo ago Changed · +1 lines b51f10620840
  2. 1mo ago First seen · 203 lines · 178 tokens per session scan B 11b69de47c35

Subscribe to this mod's changes

trading-sop is a skill published in the GitHub repository Fize/mmtickerlab (5 stars, last pushed 25d ago), licensed MIT. It adds 178 tokens to every session and 2,805 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.

Related

Other skills, from other repositories

tushare

A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.

HKUDS/Vibe-Trading · 79 tokens

social-media-intelligence

Social media intelligence: financial signal extraction from Twitter/X, Telegram, Discord, and Reddit for sentiment-driven trading strategies.

HKUDS/Vibe-Trading · 28 tokens

credit-analysis

A guide to analysing bonds and other fixed-income investments, including issuer credit quality, interest payments, default risk, credit spreads, and convertible bonds. It also covers Chinese fixed-income markets and local-government financing bonds.

HKUDS/Vibe-Trading · 36 tokens

etf-analysis

A framework for comparing exchange-traded funds (ETFs), which are funds bought and sold on a stock exchange and usually track an index, industry, asset, or strategy. It covers fees, how closely an ETF follows its target, trading activity, and portfolio use.

HKUDS/Vibe-Trading · 39 tokens

geopolitical-risk

Geopolitical risk analysis: quantify crisis signals, identify precursors, and build event-driven strategies for war, sanctions, and supply disruption scenarios.

HKUDS/Vibe-Trading · 34 tokens

vibe-trading

Professional finance research toolkit — backtesting (11 engines + benchmark comparison panel), factor analysis, Alpha Zoo (478 pre-built alphas across qlib158/alpha101/gtja191/academic/fundamental), options pricing, 90 finance skills, 30 multi-agent swarm teams, Trade Journal analyzer, and Shadow Account (extract →…

HKUDS/Vibe-Trading · 176 tokens