Agent skill

Stock Analysis

by majiayu000 in majiayu000/claude-skill-registry

股票个股分析,实时获取价格涨跌幅,计算技术指标和支撑位,识别缺口并判断支撑压力,智能预测未来3天走势并给出操作建议. An agent skill from majiayu000/claude-skill-registry.

MITAuto-check passedBusiness, Finance & HR

Install Stock Analysis

skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill stock-analysis -a claude-code

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

GitHub CLI
$ gh skill install majiayu000/claude-skill-registry stock-analysis --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/majiayu000/claude-skill-registry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/analysis/stock-analysis-anbeime-skill .claude/skills/stock-analysis && 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
stock-analysis
GitHub stars
666
Used in
1 other repo
Token cost
~642 tokens
SKILL.md length
93 words
Files
2
Skills in repo
1,273
Repo updated
First seen
Licence
MIT

At a glance

股票个股分析,实时获取价格涨跌幅,计算技术指标和支撑位,识别缺口并判断支撑压力,智能预测未来3天走势并给出操作建议. An agent skill from majiayu000/claude-skill-registry.

  • Works in 6 steps: 获取股票代码并验证 → 获取实时行情数据 → 计算技术指标和支撑位 → …
  • Tasks that involve Stock and market analysis
  • SKILL.md covers 任务目标, 前置准备, 操作步骤 and 资源索引, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Stock Analysis is an agent skill from majiayu000/claude-skill-registry. 股票个股分析,实时获取价格涨跌幅,计算技术指标和支撑位,识别缺口并判断支撑压力,智能预测未来3天走势并给出操作建议

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).

It sits in Business, Finance & HR, covering Stock and market analysis. The repository describes itself as: Searchable Claude Code skills catalog with source-linked guides and generated registry artifacts. The licence is MIT.

When your agent uses it

  • Tasks that involve Stock and market analysis

Example prompts

  • “/stock-analysis”

Workflow steps

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

  1. 获取股票代码并验证
  2. 获取实时行情数据
  3. 计算技术指标和支撑位
  4. 分析当前走势
  5. 预测未来3天走势
  6. 生成操作建议

What it can do on your machine

Read from SKILL.md and the folder at commit 2d14a69. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Stock Analysis loads about 642 tokens when it runs. Until then it costs about 18 tokens; SKILL.md has 93 words of instructions outside code blocks.

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

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 majiayu000/claude-skill-registry at commit 2d14a69, republished under its MIT licence (© majiayu000). 93 words, ~642 tokens.

Download SKILL.mdSave it as .claude/skills/stock-analysis/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
stock-analysis
description
股票个股分析,实时获取价格涨跌幅,计算技术指标和支撑位,识别缺口并判断支撑压力,智能预测未来3天走势并给出操作建议
dependency.python
requests>=2.28.0, numpy>=1.24.0, pandas>=2.0.0

股票个股分析

任务目标

  • 本 Skill 用于:对指定股票进行全面的技术分析,包括实时数据获取、技术指标计算、支撑位压力位分析、缺口识别分析
  • 能力包含:实时行情获取、技术指标计算(均线、MACD、RSI)、支撑位压力位识别、缺口识别(向上/向下缺口及支撑压力作用)、趋势判断、未来走势预测
  • 触发条件:用户提供股票代码并要求分析走势、预测未来、获取操作建议

前置准备

  • 依赖说明:
    requests>=2.28.0
    numpy>=1.24.0
    pandas>=2.0.0

操作步骤

标准流程
  1. 获取股票代码并验证

    • 用户提供股票代码,如:000001(平安银行)、sh600000(浦发银行)、000001.SZ(深交所格式)
    • 参考股票代码格式文档,确保代码格式正确
  2. 获取实时行情数据

    • 调用 scripts/fetch_stock_data.py 获取实时行情和历史K线数据
    • 参数:
      • --stock_code: 股票代码
      • --days: 获取历史数据天数(默认30天)
    • 返回包含:当前价格、涨跌幅、成交量、历史K线数据
  3. 计算技术指标和支撑位

    • 调用 scripts/analyze_stock.py 进行技术分析
    • 参数:
      • --data_file: 上一步获取的数据文件路径
    • 计算结果:
      • MA5/MA10/MA20/MA60 均线
      • MACD 指标
      • RSI 指标
      • 支撑位和压力位
      • 缺口分析(向上缺口和向下缺口)
      • 成交量分析
      • 趋势判断
  4. 分析当前走势

    • 基于技术指标进行多维度分析:
      • 均线排列(多头排列/空头排列/缠绕)
      • MACD金叉死叉状态
      • RSI超买超卖状态
      • 成交量配合情况
      • K线形态分析
      • 缺口分析:
        • 向上缺口:通常构成支撑位(回调时缺口上沿可能成为支撑)
        • 向下缺口:通常构成压力位(反弹时缺口下沿可能成为压力)
        • 缺口大小和位置对走势的影响
  5. 预测未来3天走势

    • 综合技术指标和趋势分析,对未来3天走势进行判断
    • 考虑因素:趋势方向、支撑压力位、缺口支撑压力、成交量变化、市场情绪
    • 给出概率评估:上涨/下跌/横盘的概率和强度
  6. 生成操作建议

    • 根据分析结果和预测,给出明确的操作建议:
      • 买入/持有/卖出/观望
      • 建议的买入/卖出价格区间
      • 止损位和止盈位设置
      • 缺口相关的操作提示(如:向上缺口未回补前可作为支撑参考)
      • 风险提示和注意事项

资源索引

注意事项

  • 股票市场存在风险,所有分析仅供参考,不构成投资建议
  • 技术分析基于历史数据,不能保证未来表现
  • 建议结合基本面分析和市场环境进行综合判断
  • 实时数据可能存在延迟,请以实际交易数据为准
  • 缺口分析要点:
    • 向上缺口(跳空高开):通常在回调时可能构成支撑,关注缺口是否回补
    • 向下缺口(跳空低开):通常在反弹时可能构成压力,关注缺口是否回补
    • 缺口越大,其支撑或压力作用通常越强
    • 成交量配合的缺口更具参考意义
    • 近期缺口的参考价值高于远期缺口
  • 必须在所有建议中包含风险提示

使用示例

示例1:A股股票分析
用户:分析000001平安银行
执行:
1. 调用 fetch_stock_data.py --stock_code 000001 --days 30
2. 调用 analyze_stock.py --data_file stock_data_000001.json
3. 基于分析结果生成走势预测和操作建议
示例2:港股股票分析
用户:分析腾讯控股 00700.HK
执行:
1. 调用 fetch_stock_data.py --stock_code 00700.HK --days 30
2. 调用 analyze_stock.py --data_file stock_data_00700.HK.json
3. 生成分析报告和操作建议
示例3:美股股票分析
用户:分析AAPL苹果公司
执行:
1. 调用 fetch_stock_data.py --stock_code AAPL --days 30
2. 调用 analyze_stock.py --data_file stock_data_AAPL.json
3. 提供全面的技术分析报告

© majiayu000, 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 1 other file in skills/analysis/stock-analysis-anbeime-skill of majiayu000/claude-skill-registry.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 2d14a69

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in majiayu000/claude-skill-registry, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Stock Analysis 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.

Stock Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stock Analysis this skillmajiayu000/claude-skill-registry6661 repos~642Automated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Tushare Datazillionare/zillionare3192 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle870—~5.9kAutomated safety check: PassMIT
Longbridge Researchhelsome/folio2693 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

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

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

    870 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    269 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Earnings

    helsome/folio

    Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.

    269 GitHub starsUsed in 1 repo~2.5k tokens
    Business, Finance & HRAuto-check passed

More from majiayu000/claude-skill-registry

All 1,273 skills in this repo
  • Deep Research

    majiayu000/claude-skill-registry

    Multi-source deep research using firecrawl and exa MCPs. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 6 repos~1.1k tokens
    Auto-check passed
  • Exa Search

    majiayu000/claude-skill-registry

    Neural search via Exa MCP for web, code, and company research.

    666 GitHub starsUsed in 5 repos~856 tokens
    Auto-check passed
  • Fal AI Media

    majiayu000/claude-skill-registry

    Unified media generation via fal.ai MCP — image, video, and audio.

    666 GitHub starsUsed in 5 repos~1.7k tokens
    Auto-check passed
  • Pyzotero

    majiayu000/claude-skill-registry

    Interact with Zotero reference management libraries using the pyzotero Python client.

    666 GitHub starsUsed in 5 repos~1.6k tokens
    Auto-check: notes
  • Bgpt Paper Search

    majiayu000/claude-skill-registry

    Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server.

    666 GitHub starsUsed in 4 repos~619 tokens
    Auto-check: notes
  • Bio Alignment Pairwise

    majiayu000/claude-skill-registry

    Perform pairwise sequence alignment using Biopython Bio.Align.PairwiseAligner.

    666 GitHub starsUsed in 4 repos~1.7k tokens
    Auto-check passed

Questions about Stock Analysis

What does Stock Analysis do?

股票个股分析,实时获取价格涨跌幅,计算技术指标和支撑位,识别缺口并判断支撑压力,智能预测未来3天走势并给出操作建议. An agent skill from majiayu000/claude-skill-registry. Stock Analysis is an agent skill from majiayu000/claude-skill-registry.

When should I use Stock Analysis?

Stock Analysis fits situations like: tasks that involve Stock and market analysis.

How do I install Stock Analysis in Claude Code?

Run `npx skills add majiayu000/claude-skill-registry --skill stock-analysis -a claude-code`. Or copy the skill folder (skills/analysis/stock-analysis-anbeime-skill in majiayu000/claude-skill-registry) into .claude/skills/stock-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Stock Analysis in Codex?

Run `npx skills add majiayu000/claude-skill-registry --skill stock-analysis -a codex`. Or copy the skill folder (skills/analysis/stock-analysis-anbeime-skill in majiayu000/claude-skill-registry) into .agents/skills/stock-analysis in your project. Codex loads it when a task matches its description.

Can I use Stock Analysis 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 majiayu000/claude-skill-registry --skill stock-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stock-analysis, .gemini/skills/stock-analysis, .github/skills/stock-analysis and .opencode/skills/stock-analysis in your project.

What does Stock Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Stock Analysis is instructions for the agent only.

Does Stock Analysis 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 Stock Analysis 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 Stock Analysis use?

Stock Analysis 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 Stock Analysis use?

About 642 tokens (SKILL.md is roughly 2.6k 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 Stock Analysis?

Skills that share tags, products or a category with Stock Analysis: Stock API (zhangxiangliang/stock-api, 2k stars), Tushare Data (zillionare/zillionare, 319 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars) and Digital Oracle (komako-workshop/digital-oracle, 870 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stock Analysis?

majiayu000 (a GitHub user) maintains it in majiayu000/claude-skill-registry, which has 666 GitHub stars. The repository holds 1,273 skills in this directory. The repository was last updated on October 7, 2026.

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