Stock Technical Analysis logo

Stock Technical Analysis

Community
ZICXR
stock-technical-analysis

A 股个股技术面分析。当用户需要对某只股票做技术面分析时,Claude 应使用此 Skill。支持 K 线形态识别 (十字星/锤子线/吞没/早晨之星/黄昏之星)、趋势研判 (均线多头/空头/MACD 金叉死叉)、超买超卖 (KDJ/RSI)、支撑压力位 (R1/R2/S1/S2) 计算、综合买卖信号生成 (买入/卖出/观望)。

Overview

PublisherZICXR
RepositoryA-Stock-Skills
Skill namestock-technical-analysis
Stars
32
Forks
6
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ZICXR on GitHub. Read the source before you install it.

Installation

Install the Stock Technical Analysis AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ZICXR/A-Stock-Skills/tree/main/skills/04-stock-analysis/stock-technical-analysis
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ZICXR/A-Stock-Skills.git /tmp/A-Stock-Skills
mkdir -p .claude/skills
cp -r /tmp/A-Stock-Skills/skills/04-stock-analysis/stock-technical-analysis .claude/skills/stock-technical-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Stock Technical Analysis in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Stock Technical Analysis on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Stock Technical Analysis is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

A 股个股技术面分析 Skill

何时使用

  • 用户要求分析某只股票的技术面
  • 用户需要 K 线形态识别
  • 用户需要买卖信号
  • 用户需要支撑压力位
  • 用户需要超买超卖判断

提供能力

K线数据

  • get_kline(code, days, adjust) - 历史 K 线

K线形态

  • detect_patterns(df) - 形态识别 (十字星/锤子线/吞没/早晨之星/黄昏之星)

趋势研判

  • analyze_trend(df) - 综合趋势 (均线+MACD)
  • generate_trading_signal(df) - 买卖信号 (买入/卖出/观望)

超买超卖

  • detect_obs(df) - KDJ + RSI 超买超卖

支撑压力

  • calc_support_pressure(df, window) - 支撑压力位 (R1/R2/S1/S2)

综合

  • full_technical_analysis(code, days) - 一键综合分析

使用方式

bash
python main.py kline 000001 --days 120 --adjust qfq   # K线
python main.py trend 000001 --days 60                   # 趋势
python main.py signal 000001 --days 60                  # 买卖信号
python main.py patterns 000001 --days 5                 # K线形态
python main.py full 000001 --days 120                   # 综合分析

Python API

python
from skills.04-stock-analysis.stock-technical-analysis.main import full_technical_analysis

result = full_technical_analysis("000001", days=120)
# {
#   'patterns': [{'date': ..., 'pattern': '锤子线', 'signal': '看涨'}],
#   'trend': {'trend': '上涨', 'score': 4, 'signals': [...]},
#   'overbought_oversold': {'level': '超买', 'K': 88, 'D': 85, 'J': 95},
#   'support_pressure': {'R1': 13.5, 'S1': 12.0, ...},
#   'trading_signal': {'signal': '买入', 'strength': '强', 'buy_signals': [...], 'sell_signals': [...]}
# }

买卖信号生成规则

买入信号 (满足>=2个且多于卖出):

  • 均线多头排列
  • MACD 金叉
  • KDJ 低位 (<50) 金叉
  • 放量上涨 (量比 > 1.5)

卖出信号 (满足>=2个且多于买入):

  • 均线空头排列
  • MACD 死叉
  • KDJ 高位 (>50) 死叉
  • 放量下跌

K线形态

形态信号描述
十字星反转多空胶着, 关注变盘
锤子线看涨下影线长, 多方力量
看涨吞没看涨阳包阴, 强势反转
看跌吞没看跌阴包阳, 弱势反转

依赖

akshare>=1.12.0
pandas>=1.5.0
numpy>=1.22.0

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Stock Technical Analysis AI skill do?

A 股个股技术面分析。当用户需要对某只股票做技术面分析时,Claude 应使用此 Skill。支持 K 线形态识别 (十字星/锤子线/吞没/早晨之星/黄昏之星)、趋势研判 (均线多头/空头/MACD 金叉死叉)、超买超卖 (KDJ/RSI)、支撑压力位 (R1/R2/S1/S2) 计算、综合买卖信号生成 (买入/卖出/观望)。

Why use Stock Technical Analysis on TypingMind?

Because you install it once and use it with any model. Stock Technical Analysis is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Stock Technical Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ZICXR/A-Stock-Skills/tree/main/skills/04-stock-analysis/stock-technical-analysis. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Stock Technical Analysis?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Stock Technical Analysis?

As many as you like. As long as a model supports skills, you can use Stock Technical Analysis with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Stock Technical Analysis AI skill free?

Yes. It is published on GitHub by ZICXR under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇