Agent skill

Stock Analysis

by liusai0820 in liusai0820/Stock-Analysis-Skill

股票智能分析技能。输入股票代码(A股/港股/美股),自动完成: 1. An agent skill from liusai0820/Stock-Analysis-Skill.

No licenceAuto-check: notesBusiness, Finance & HR

Install Stock Analysis

skills CLI
$ npx skills add liusai0820/Stock-Analysis-Skill --skill stock-analysis -a claude-code

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

GitHub CLI
$ gh skill install liusai0820/Stock-Analysis-Skill 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).

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

Facts

Skill name
stock-analysis
GitHub stars
141
Token cost
~904 tokens
SKILL.md length
212 words
Files
5 (incl. references)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

股票智能分析技能。输入股票代码(A股/港股/美股),自动完成: 1. An agent skill from liusai0820/Stock-Analysis-Skill.

  • Works in 5 steps: 解析输入 → 运行数据脚本 → 新闻搜索 → …
  • Tasks that involve Stock and market analysis
  • SKILL.md covers 工作流, STEP 1: 解析输入, 数据源配置(可选,增强数据质量) and STEP 2: 运行数据脚本, plus 5 more sections
  • Runs Python scripts from its folder; calls python3 and pip3; needs TUSHARE_TOKEN and TAVILY_API_KEY

What it does

Stock Analysis is an agent skill from liusai0820/Stock-Analysis-Skill. 股票智能分析技能。输入股票代码(A股/港股/美股),自动完成: 1. 获取实时行情 + 历史K线数据 2. 计算技术指标(MA/MACD/RSI/量能/乖离率) 3. 综合评分(100分制)+ 买卖信号 4. 搜索最新新闻消息面 5. AI综合分析,输出决策看板 触发场景:用户提供股票代码要求分析、问某只股票怎么样、要求看盘分析等。 示例输入:「分析下 TSLA PLTR」「600519怎么样」「帮我看看HK00700」

Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `README.md`, `references/analysis-prompt-template.md` and `references/output-format-template.md`).

It sits in Business, Finance & HR, covering Stock and market analysis. It works with yfinance, Python, SerpApi and Tavily. The repository describes itself as: 由Claude扮演一位专业的股票分析师,通过 Python 脚本获取真实市场数据,结合技术分析和消息面,为用户生成决策看板。

When your agent uses it

  • Tasks that involve Stock and market analysis

Example prompts

  • “/stock-analysis”

Requirements

  • Python 3
  • A credential in TUSHARE_TOKEN
  • A credential in TAVILY_API_KEY
  • Pre-approved tools (allowed-tools): Read, Write, Bash, WebSearch

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 解析输入
  2. 运行数据脚本
  3. 新闻搜索
  4. 综合分析
  5. 输出决策看板

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash
    • WebSearch

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip3

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

  • Network

    Links to these hosts (documentation or services it may open):

    • tushare.pro
    • tavily.com
    • serpapi.com

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • TUSHARE_TOKEN
    • TAVILY_API_KEY
    • SERPAPI_KEY

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

Context cost

Stock Analysis loads about 904 tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 212 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~904
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Bash, WebSearch

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 212 words (~904 tokens).

name
stock-analysis
allowed-tools
Read, Write, Bash, WebSearch
metadata.trigger
当用户提供股票代码要求分析,或问某只股票走势/建议时触发
metadata.author
Alex Leo (赛哥)
metadata.version
1.0
metadata.last_updated
2026-03-04

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (references) in the repository root of liusai0820/Stock-Analysis-Skill.

  • SKILL.md
  • README.md
  • references/analysis-prompt-template.md
  • references/output-format-template.md
  • references/stock_data_fetcher.py

Open the folder on GitHubat commit 00f0ecb

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 skillliusai0820/Stock-Analysis-Skill141—~904Automated safety check: NotesNone
Yahoo Finance24mlight/StockClaw1012 repos~1.1kAutomated safety check: NotesMIT
Yfinance Datahimself65/finance-skills3.4k—~1.3kAutomated safety check: PassMIT
Fin Yfinance Datacriptogus/agent-evolve-network288—~806Automated safety check: PassMIT
US Market Data ToolkitGeeksfino/finskills282—~1.2kAutomated safety check: PassApache-2.0
Market and Stock Deep Researchokikusan-public/stock_skills135—~739Automated safety check: PassNone

Similar skills

  • Yahoo Finance

    24mlight/StockClaw

    Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance.

    101 GitHub starsUsed in 2 repos~1.1k tokens
    Business, Finance & HRAuto-check: notes
  • Yfinance Data

    himself65/finance-skills

    Fetch financial and market data with the yfinance Python library (Yahoo Finance).

    3.4k GitHub stars~1.3k tokensUpdated 5 days ago
    Business, Finance & HRAuto-check passed
  • Fin Yfinance Data

    criptogus/agent-evolve-network

    Fetch market and fundamental data via the yfinance Python library — quotes, OHLC history, financial statements, holders, dividends, options, and more.

    288 GitHub stars~806 tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • US Market Data Toolkit

    Geeksfino/finskills

    Free Python scripts that fetch US stock data, SEC filings, insider trades and macro indicators, and run financial score calculators and portfolio analytics.

    282 GitHub stars~1.2k tokensUpdated 7 mo ago
    Business, Finance & HRAuto-check passed
  • Market and Stock Deep Research

    okikusan-public/stock_skills

    Produces deep-dive reports on a stock, industry, market or business model by combining yfinance data with Grok API searches of X and the web.

    135 GitHub stars~739 tokensUpdated 5 mo ago
    Business, Finance & HRAuto-check passed
  • Value Stock Screener

    okikusan-public/stock_skills

    Screens for undervalued stocks across about 60 regions with yfinance's EquityQuery, using ratios such as PER, PBR, dividend yield and ROE, with optional theme filters.

    135 GitHub stars~2.4k tokensUpdated 5 mo ago
    Business, Finance & HRAuto-check passed

Questions about Stock Analysis

What does Stock Analysis do?

股票智能分析技能。输入股票代码(A股/港股/美股),自动完成: 1. An agent skill from liusai0820/Stock-Analysis-Skill. Stock Analysis is an agent skill from liusai0820/Stock-Analysis-Skill. 股票智能分析技能。输入股票代码(A股/港股/美股),自动完成: 1.

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 liusai0820/Stock-Analysis-Skill --skill stock-analysis -a claude-code`. Or copy the skill folder (the liusai0820/Stock-Analysis-Skill repository) 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 liusai0820/Stock-Analysis-Skill --skill stock-analysis -a codex`. Or copy the skill folder (the liusai0820/Stock-Analysis-Skill repository) 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 liusai0820/Stock-Analysis-Skill --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?

Going by SKILL.md and its folder, Stock Analysis needs Python for the scripts in its folder, the command-line tools its instructions call (python3 and pip3) and credentials named TUSHARE_TOKEN, TAVILY_API_KEY and SERPAPI_KEY. Our summary lists: Python 3; A credential in TUSHARE_TOKEN; A credential in TAVILY_API_KEY. Its frontmatter pre-approves these tools: Read, Write, Bash, WebSearch.

Does Stock Analysis access the network?

SKILL.md names 3 domains. As links in the text: tushare.pro, tavily.com and serpapi.com. This is read from the text; nothing was executed.

Is Stock Analysis safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Stock Analysis use?

No licence was found for Stock Analysis or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Stock Analysis use?

About 904 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 10k tokens, read only when the agent opens those files.

What are the alternatives to Stock Analysis?

Skills that share tags, products or a category with Stock Analysis: Yahoo Finance (24mlight/StockClaw, 101 stars), Yfinance Data (himself65/finance-skills, 3.4k stars), Fin Yfinance Data (criptogus/agent-evolve-network, 288 stars) and US Market Data Toolkit (Geeksfino/finskills, 282 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stock Analysis?

liusai0820 (a GitHub user) maintains it in liusai0820/Stock-Analysis-Skill, which has 141 GitHub stars. The repository was last updated on March 4, 2026.

Source: liusai0820/Stock-Analysis-Skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.