Token导航 LogoToken导航

Agent Skill · 研究检索

tongstock-workflow(同材工作流程)

tongstock-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

tongstock-workflow 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 70,604。

总安装 210周安装 9GitHub Stars 22下载 73核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tongstock-workflow(同材工作流程)
来源仓库:https://github.com/sjzsdu/tongstock
仓库路径:skills/tongstock-workflow
安装命令:
npx skills add https://github.com/sjzsdu/tongstock --skill tongstock-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sjzsdu/tongstock --skill tongstock-workflow

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

tongstock-workflow 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。通过 npx skills add 命令从指定 GitHub 仓库安装使用。安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。

可结合原始 README 文档进一步核验具体用法和功能边界。

来源仓库内路径:skills/tongstock-workflow

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sjzsdu/tongstock --skill tongstock-workflow;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tongstock-workflow 怎么安装?

在终端执行 npx skills add https://github.com/sjzsdu/tongstock --skill tongstock-workflow。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tongstock-workflow 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tongstock-workflow 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

tongstock-workflow 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

tongstock-workflow 用的人多吗?

公开数据是累计安装 210 次,近一周安装 9 次,下载 73 次,GitHub 22 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tongstock-workflow 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
tongstock-workflow

同材工作流程 · 本页

21022需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

TongStock Analysis Workflows

Pre-built workflows for Chinese A-share analysis using tongstock-cli. Each workflow combines multiple data sources into actionable output.

Workflow 1: Single Stock Deep Analysis (个股深度分析)

Full research report for one stock. Run all steps and synthesize.

# Step 1: Real-time quote with 5-level bid/ask
tongstock-cli quote <code>

# Step 2: Financial fundamentals
tongstock-cli finance <code>

# Step 3: Ex-rights/dividend history
tongstock-cli xdxr <code>

# Step 4: Recent daily K-lines (price trend)
tongstock-cli kline -c <code> -t day

# Step 5: Company F10 info categories
tongstock-cli company <code>

# Step 6: Get specific F10 content
tongstock-cli company-content <code> --block "公司概况"  # Company profile
tongstock-cli company-content <code> --block "财务分析"  # Financial analysis
tongstock-cli company-content <code> --block "股东研究"  # Shareholder research

Analysis checklist:

  • Current price vs. NAV per share → P/B ratio
  • Net profit trend (from finance data)
  • Dividend history frequency and amount (from xdxr)
  • Recent price trend and volume pattern (from kline)
  • Key support/resistance levels from K-line data

Workflow 2: Stock Screening by Fundamentals (基本面选股)

Screen stocks by retrieving financial data for a batch of codes.

# Step 1: Get all stock codes for a market
tongstock-cli codes -e sz > /tmp/sz_codes.txt

# Step 2: For each candidate, fetch finance data
for code in 000001 600519 000858 601318; do
  echo "=== $code ==="
  tongstock-cli finance $code
  echo ""
done

Screening criteria to evaluate:

  • Total shares & float shares → liquidity
  • Net profit > 0 → profitable
  • NAV per share → valuation floor
  • Shareholder count trend → institutional interest
  • Revenue scale → company size

Workflow 3: Dividend Analysis (分红分析)

Find stocks with consistent dividend history.

# Get ex-rights/dividend records
tongstock-cli xdxr <code>

What to look for in output:

  • Category = "除权除息" entries → actual dividend events
  • FenHong field → cash dividend per share (元)
  • SongZhuanGu field → bonus/transfer shares per 10 shares
  • Frequency: annual dividends = positive signal
  • Calculate dividend yield: FenHong / current_price × 100%

Workflow 4: Sector/Industry Analysis (板块分析)

Find which stocks belong to a sector, then analyze the sector.

# Step 1: List industry sectors
tongstock-cli block -f block_fg.dat

# Step 2: List concept sectors
tongstock-cli block -f block_gn.dat

# Step 3: For interesting sector stocks, get quotes
tongstock-cli quote <code1> <code2> <code3>

# Step 4: Compare with index
tongstock-cli index -c 999999 -t day

Analysis approach:

  • Identify sector constituents from block data
  • Compare individual stock performance vs. sector index
  • Look for sector rotation signals (volume surge + price breakout)

Workflow 5: Technical Quick Check (技术面速查)

Fast technical overview using multiple timeframes.

# Multi-timeframe K-lines
tongstock-cli kline -c <code> -t day     # Trend
tongstock-cli kline -c <code> -t 60m     # Intraday trend
tongstock-cli kline -c <code> -t 5m      # Short-term momentum

# Today's tick-level activity
tongstock-cli minute <code>              # Minute-by-minute
tongstock-cli trade <code>               # Tick trades (买卖方向)

What to evaluate:

  • Daily K: overall trend direction (uptrend/downtrend/sideways)
  • 60m K: medium-term momentum
  • 5m K: entry/exit timing
  • Minute data: intraday price pattern
  • Trade data: buy vs. sell pressure (Status field: 0=buy, 1=sell)

Workflow 6: Market Overview (大盘概览)

Quick pulse of the overall market.

# Major indices
tongstock-cli index -c 999999 -t day     # 上证指数
tongstock-cli index -c 399001 -t day     # 深证成指
tongstock-cli index -c 399006 -t day     # 创业板指
tongstock-cli index -c 399300 -t day     # 沪深300

Key metrics from index bars:

  • UpCount vs. DownCount → market breadth (涨跌家数)
  • Volume trend → participation level
  • Price vs. moving average crossovers

Workflow 7: HTTP API Batch Analysis (API 批量分析)

When the server is running, use HTTP API for programmatic access:

# Start server in background
tongstock-server &

# Batch fetch via API (JSON output, easy to parse)
curl -s "http://localhost:8080/api/quote?code=000001" | jq .
curl -s "http://localhost:8080/api/finance?code=000001" | jq .
curl -s "http://localhost:8080/api/xdxr?code=000001" | jq .
curl -s "http://localhost:8080/api/kline?code=000001&type=day" | jq .

# Compare multiple stocks
for code in 000001 600519 000858; do
  echo "=== $code ==="
  curl -s "http://localhost:8080/api/finance?code=$code" | jq '{code: .code, net_profit: .JingLiRun, nav: .MeiGuJingZiChan, shareholders: .GuDongRenShu}'
done

Output Interpretation Guide

Quote Fields

FieldMeaning
PriceLatest trade price
LastClosePrevious close (for calculating % change)
SVolInner volume 内盘 (seller-initiated)
BVolOuter volume 外盘 (buyer-initiated)
BidAsk[0-4]5-level bid/ask depth

Finance Fields

FieldMeaningUnit
LiuTongGuBenFloat shares万股
ZongGuBenTotal shares万股
JingLiRunNet profit万元
MeiGuJingZiChanNAV per share元
GuDongRenShuShareholder count人
ZhuYingShouRuRevenue万元

XdXr Categories

CategoryMeaning
1除权除息 (ex-dividend)
2-10Share capital changes
11-12Share consolidation
13-14Warrant issuance

Workflow 8: Technical Indicator Analysis (技术指标分析)

Compute and display technical indicators for a single stock.

# Single stock with default parameters (table output)
tongstock-cli indicator -c <code> -t day

# JSON format output (single day)
tongstock-cli indicator -c <code> -t day --json

# JSON format with multiple days history
tongstock-cli indicator -c <code> -t day --json --days 5

# All historical data
tongstock-cli indicator -c <code> -t day --all

# Custom parameter config file
tongstock-cli indicator -c <code> -t day --config configs/params.yaml

# Different timeframes
tongstock-cli indicator -c <code> -t 60m    # 60-minute
tongstock-cli indicator -c <code> -t week   # Weekly

Supported Indicators:

  • MA: 5, 10, 20, 60, 120 day moving averages
  • MACD: DIF, DEA, Histogram (default: 12/26/9)
  • KDJ: K, D, J values (default: 9/3/3)
  • BOLL: Upper, Middle, Lower bands (default: 20/2.0)
  • RSI: RSI6, RSI12, RSI24 (relative strength)
  • Volume Ratio: Current volume / 5-day average volume

Table Output includes:

  • Last 20 days: Date, Close, MA5/10/20/60/120, DIF/DEA/HIST, K/D/J, RSI6/12/24, UPPER/MID/LOWER, Volume Ratio
  • Latest signals: 金叉 (golden cross), 死叉 (death cross), 超买 (overbought), 超卖 (oversold), 多头排列 (bull alignment), 空头排列 (bear alignment), 突破上轨 (break upper band), 跌破下轨 (break lower band)

JSON Output (single day):

{
  "code": "000001",
  "name": "平安银行",
  "timestamp": "2026-03-29",
  "price": { "current": 12.58, "change": 0.45, "change_pct": 3.71 },
  "ma": { "ma5": 12.32, "ma10": 12.18, "ma20": 11.95, "ma60": 11.50, "ma120": 11.20, "trend": "bullish" },
  "macd": { "dif": 0.35, "dea": 0.22, "hist": 0.26, "signal": "golden_cross" },
  "kdj": { "k": 72.5, "d": 68.2, "j": 81.1, "signal": "overbought" },
  "rsi": { "rsi6": 65.2, "rsi12": 62.8, "rsi24": 58.4, "signal": "neutral" },
  "boll": { "upper": 13.20, "middle": 12.50, "lower": 11.80, "position": 0.65, "signal": "normal" },
  "volume": { "current": 1250000, "avg5": 980000, "ratio": 1.28, "signal": "active" },
  "signals": ["golden_cross", "overbought", "多头排列"],
  "summary": { "trend": "上升趋势", "signal": "持有", "strength": 72 }
}

Parameter resolution:

  • Per-stock override > Category override (large_cap/small_cap) > Default
  • Categories auto-detected by code prefix (600xxx = large_cap, 002xxx = small_cap)

Workflow 9: Batch Signal Screening (批量信号筛选)

Screen a list of stocks for specific signals using parallel computation.

# Screen specific stocks for golden cross
tongstock-cli screen -c "000001,600519,000858,601318" -t day -s golden_cross

# Screen from file (one code per line)
tongstock-cli screen -f codes.txt -t day -s oversold

# Screen with concurrency control
tongstock-cli screen -c "000001,600519" -p 5 -s death_cross

Available signal filters (-s):

SignalDescription
golden_crossDIF crosses above DEA (MACD), or K crosses above D (KDJ)
death_crossDIF crosses below DEA (MACD), or K crosses below D (KDJ)
overboughtJ > 100 (KDJ) or RSI > 80
oversoldJ < 0 (KDJ) or RSI < 20

Combination with sector analysis:

# Step 1: Get sector stocks
tongstock-cli block -f block_fg.dat | grep "银行" > banking.txt

# Step 2: Screen for signals
tongstock-cli screen -f banking.txt -t day -s golden_cross -p 8

Output table columns:

  • Code, Date, Close, MA5/10/20, DIF, K, J, Latest Signals

平台分布

Codex

36.14%
按下载量换算26

Claude

30.47%
按下载量换算22

Cursor

18.59%
按下载量换算14

Gemini CLI

9.82%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills