Agent skill

Tuige Shortline Trading

by shouldnotappearcalm in shouldnotappearcalm/a-share-skill

基于退哥短线交易规则的A股场景化决策技能。Use when 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律。

MITAuto-check passedBusiness, Finance & HR

Install Tuige Shortline Trading

skills CLI
$ npx skills add shouldnotappearcalm/a-share-skill --skill tuige-shortline-trading -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shouldnotappearcalm/a-share-skill tuige-shortline-trading --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shouldnotappearcalm/a-share-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tuige-shortline-trading .claude/skills/tuige-shortline-trading && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tuige-shortline-trading
GitHub stars
243
Token cost
~687 tokens
SKILL.md length
143 words
Files
10
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

基于退哥短线交易规则的A股场景化决策技能。Use when 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律。

  • Works in 5 steps: 先读 market-regime.md → 再读 stock-selection.md → 根据场景进入以下文档 → …
  • 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律
  • SKILL.md covers 适用范围, 能力边界, 推荐使用顺序 and 场景地图, plus 3 more sections
  • Calls python3

What it does

Tuige Shortline Trading is an agent skill from shouldnotappearcalm/a-share-skill. 基于退哥短线交易规则的A股场景化决策技能。Use when 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律。

Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files (for example `api-reference/exit-failure-rules.md`, `api-reference/glossary.md` and `api-reference/limit-up-pullback-setups.md`).

It sits in Business, Finance & HR, covering Trading and backtesting. The repository describes itself as: A股数据分析、量化选股与模拟交易 Skill 集合,支持实时行情、历史K线、技术指标、自定义交易策略与模拟买入、卖出交易账户. The licence is MIT.

When your agent uses it

  • 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律
  • Tasks that involve Trading and backtesting

Example prompts

  • “/tuige-shortline-trading”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 先读 market-regime.md
  2. 再读 stock-selection.md
  3. 根据场景进入以下文档
  4. 最后用 exit-failure-rules.md 和 position-discipline.md 复核
  5. 如需统一术语,查 glossary.md

What it can do on your machine

Read from SKILL.md and the folder at commit f145273. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tuige Shortline Trading loads about 687 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 143 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~687

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from shouldnotappearcalm/a-share-skill at commit f145273, republished under its MIT licence (© shouldnotappearcalm). 143 words, ~687 tokens.

Download SKILL.mdSave it as .claude/skills/tuige-shortline-trading/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
tuige-shortline-trading
description
基于退哥短线交易规则的A股场景化决策技能。Use when 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律。

Tuige Shortline Trading

适用范围

这个 skill 用来把退哥体系中的短线规则整理成可复用的决策框架,重点回答 4 类问题:

  • 当前市场环境适合做什么
  • 哪些股票值得进入观察和候选池
  • 不同交易场景下的触发条件与失效条件
  • 仓位、纪律、退出规则如何统一约束

能力边界

  • 输出的是决策参考,不是收益承诺
  • 优先使用结构化规则,不直接复述口号
  • 不自动下单,不替代回测,不代替投顾
  • 遇到模糊概念时先回到 glossary.md

推荐使用顺序

  1. 先读 market-regime.md
  2. 再读 stock-selection.md
  3. 根据场景进入以下文档:
  4. 最后用 exit-failure-rules.md 和 position-discipline.md 复核
  5. 如需统一术语,查 glossary.md

场景地图

  • api-reference/market-regime.md
    • 先判断今天是否允许激进短线、仅允许回调确认,还是应该空仓
  • api-reference/stock-selection.md
    • 统一股票池构建、强势股筛选、回避规则
  • api-reference/trend-setups.md
    • 处理趋势延续、回踩均线、缩量整理后的再起
  • api-reference/limit-up-pullback-setups.md
    • 处理涨停后整理结构,例如三阴不破阳、揉搓线、缩倍量回调
  • api-reference/relay-setups.md
    • 处理一进二、二进三、2+2 这类高风险接力
  • api-reference/washout-breakout-setups.md
    • 处理黄金坑、假跌破、极度缩量后放量突破等洗盘末端确认
  • api-reference/exit-failure-rules.md
    • 统一止盈兑现、趋势失效、结构失败、风险离场
  • api-reference/position-discipline.md
    • 统一仓位等级、试错纪律、降频规则

标准输出模板

输出时统一包含以下结构:

  1. 当前市场环境
  2. 今日允许使用的场景模块
  3. 候选池分级
  4. 当前结构类型
  5. 触发条件
  6. 失效条件
  7. 卖出观察点
  8. 仓位建议
  9. 明确回避原因

单只标的建议使用以下字段组织:

  • 标的
  • 所属题材
  • 当前结构
  • 入场依据
  • trigger
  • invalidation
  • 卖出参考
  • risk
  • position_grade

使用约束

  • 所有结论尽量写成“条件 / 风险 / 失效”
  • 没有触发,不算买点
  • 市场环境是总开关,环境不支持时不强行升级结论
  • 同一只标的若同时命中多个场景,优先保留风险更低、定义更清晰的场景解释

工程化转换

当前目录已提供可执行脚本,采用统一的 daily_decisions / realtime_quotes / strategy_lab 结构:

  • scripts/daily_decisions.py
    • 主板流动性池扫描 + trend_pullback 信号
    • 输出两类买入参考:from_previous_day_close 与 from_last_close
    • 支持持仓文件卖出信号检查
    • 默认最大持仓上限 8(可通过 --max-holdings 下调)
  • scripts/realtime_quotes.py
    • 对指定代码批量拉取现价快照
  • scripts/strategy_lab/strategy_params.py
    • 参数与仓位上限配置
  • scripts/strategy_lab/strategies.py
    • 规则引擎核心(当前版本:趋势回踩 + RSI 区间 + 失效退出)
运行
bash
SKILL_DIR="<本 skill 绝对路径>"
python3 "$SKILL_DIR/scripts/daily_decisions.py" --json

常用参数:

  • --top-n:股票池大小,默认 120
  • --max-holdings:最大持仓上限,默认 8
  • --max-buys:买入输出上限,默认 8(最终会再受 max-holdings 约束)
  • --holdings:持仓文件路径,一行一个代码
  • --roundtrip-cost-bps:成本过滤,默认 45
  • --entry-consensus-min:鲁棒一致性阈值,默认 0.67
  • --disable-robust-check:关闭鲁棒性检查(仅调试)
说明
  • 当前工程化版本是 tuige_shortline_v1,优先落地“可量化且可复测”的部分。
  • 题材语义、公告语义、盘口封单博弈等仍属于下一阶段增强项。

© shouldnotappearcalm, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files in tuige-shortline-trading of shouldnotappearcalm/a-share-skill.

  • SKILL.md
  • api-reference/exit-failure-rules.md
  • api-reference/glossary.md
  • api-reference/limit-up-pullback-setups.md
  • api-reference/market-regime.md
  • api-reference/position-discipline.md
  • api-reference/relay-setups.md
  • api-reference/stock-selection.md
  • api-reference/trend-setups.md
  • api-reference/washout-breakout-setups.md

Open the folder on GitHubat commit f145273

Compare with similar skills

Tuige Shortline Trading next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tuige Shortline Trading compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tuige Shortline Trading this skillshouldnotappearcalm/a-share-skill243—~687Automated safety check: PassMIT
Tushare Datazillionare/zillionare3222 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Polyclawchainstacklabs/polyclaw3591 repos~2kAutomated safety check: PassApache-2.0
Markdownfacioquo/stock-indicators-dotnet1.2k—~812Automated safety check: PassApache-2.0

Similar skills

  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/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…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Polyclaw

    chainstacklabs/polyclaw

    Trade on Polymarket via split + CLOB execution. An agent skill from chainstacklabs/polyclaw.

    359 GitHub starsUsed in 1 repo~2k tokens
    Business, Finance & HRAuto-check passed
  • Markdown

    facioquo/stock-indicators-dotnet

    Format and lint Markdown in this repository against GitHub Flavored Markdown and its markdownlint-cli2 configuration — headers, lists, code fences, callouts (VitePress containers on docs-site pages…

    1.2k GitHub stars~812 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Openmobius Skill

    MobiusQuant/OpenMobius-skill

    Provides multi-school trading Q&A, chart/OHLCV analysis, annotation, and fresh-market workflows covering ICT/SMC, ChanLun, Wyckoff, Price Action, Order Flow, VSA, and Elliott Wave.

    697 GitHub stars~7.2k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed

More from shouldnotappearcalm/a-share-skill

  • A Share Strategy Allmarket Multi Swing Defensive

    shouldnotappearcalm/a-share-skill

    A 股全市场高流动性池内按趋势回踩(trendpullback)产出买入候选与持仓卖出信号;另有 realtimequotes 批量拉取现价快照。供下单前决策;不跑回测、不自动下单。Use when 用户要选股、看实时报价、判断买卖信号或检查持仓是否触发离场条件。

    243 GitHub stars~907 tokensUpdated today
    Auto-check passed
  • A Share Strategy Mainboard Multi Swing Defensive

    shouldnotappearcalm/a-share-skill

    A 股主板流动性池内按趋势回踩(trendpullback)产出买入候选与持仓卖出信号;另有 realtimequotes 批量拉取现价快照。供下单前决策;不跑回测、不自动下单。Use when 用户要选股、看实时报价、判断买卖信号或检查持仓是否触发离场条件。

    243 GitHub stars~903 tokensUpdated today
    Auto-check passed
  • A Share Data

    shouldnotappearcalm/a-share-skill

    查询A股行情、历史K线与复权、财务指标、公司新闻公告、行业分类与成分、板块热力图、指数、宏观及A+H上市信息。用于股票数据查询、原始数据测试和数据源异常排查。

    243 GitHub stars~896 tokensUpdated today
    Auto-check passed
  • A Share Paper Trading

    shouldnotappearcalm/a-share-skill

    A股模拟盘交易与回测技能。Use when 用户要启动模拟仓服务、创建多账户、下限价单/市价单、撤单、查询持仓资金、验证涨跌停成交逻辑或运行A股回测。

    243 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Macd Second Golden Cross

    shouldnotappearcalm/a-share-skill

    A股“MACD底背离 + 零轴下二次金叉”实战分析与交易执行技能。用于把用户的盘感描述转成可执行的三档决策(上观察名单/可试错出手/必须放弃)、盘中检查单、入场与风控规则。适用于用户提到“二次金叉”“水下二次金叉”“底背离”“第一脚第二脚”“回踩验底”“MACD背离”“抄底修复”“想做但怕假信号”等场景。

    243 GitHub stars~528 tokensUpdated today
    Auto-check passed
  • Macd Trend Resonance Stock Picker

    shouldnotappearcalm/a-share-skill

    基于“均线定方向,MACD定节奏”的A股选股与交易计划技能。Use when 用户要求把均线与MACD结合做选股、筛票、盘前候选池、趋势跟随、回踩再上、金叉确认、顶背离减仓、或希望把技术判断沉淀成可执行规则与风控模板。

    243 GitHub stars~668 tokensUpdated today
    Auto-check passed

Questions about Tuige Shortline Trading

What does Tuige Shortline Trading do?

基于退哥短线交易规则的A股场景化决策技能。Use when 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律。. Tuige Shortline Trading is an agent skill from shouldnotappearcalm/a-share-skill.

When should I use Tuige Shortline Trading?

Tuige Shortline Trading fits situations like: 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律; tasks that involve Trading and backtesting.

How do I install Tuige Shortline Trading in Claude Code?

Run `npx skills add shouldnotappearcalm/a-share-skill --skill tuige-shortline-trading -a claude-code`. Or copy the skill folder (tuige-shortline-trading in shouldnotappearcalm/a-share-skill) into .claude/skills/tuige-shortline-trading in your project. Claude Code loads it when a task matches its description.

How do I install Tuige Shortline Trading in Codex?

Run `npx skills add shouldnotappearcalm/a-share-skill --skill tuige-shortline-trading -a codex`. Or copy the skill folder (tuige-shortline-trading in shouldnotappearcalm/a-share-skill) into .agents/skills/tuige-shortline-trading in your project. Codex loads it when a task matches its description.

Can I use Tuige Shortline Trading in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shouldnotappearcalm/a-share-skill --skill tuige-shortline-trading -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tuige-shortline-trading, .gemini/skills/tuige-shortline-trading, .github/skills/tuige-shortline-trading and .opencode/skills/tuige-shortline-trading in your project.

What does Tuige Shortline Trading need to run?

Going by SKILL.md and its folder, Tuige Shortline Trading needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Tuige Shortline Trading access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tuige Shortline Trading safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tuige Shortline Trading use?

Tuige Shortline Trading is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tuige Shortline Trading use?

About 687 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tuige Shortline Trading?

Skills that share tags, products or a category with Tuige Shortline Trading: Tushare Data (zillionare/zillionare, 322 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars), Digital Oracle (komako-workshop/digital-oracle, 878 stars) and Polyclaw (chainstacklabs/polyclaw, 359 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tuige Shortline Trading?

shouldnotappearcalm (a GitHub user) maintains it in shouldnotappearcalm/a-share-skill, which has 243 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 11, 2026.

Source: shouldnotappearcalm/a-share-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.