Snowball CLI

雪球股票数据命令行工具。当用户需要查询中国 A 股、港股、美股行情,查看上市公司财报、资金流向、股东信息,浏览雪球大 V 观点、热帖、实时快讯,或者做基金净值查询时,使用此技能。触发词包括:雪球、A股、港股、沪深、茅台、宁德时代、SH600519、SZ300750、基金净值、KOL、热帖、大 V、选股、K线、盘口、利润表、资产负债表、资金流向、大宗交易、融资融券。即使用户只是说「茅台现在多少钱」「今天市场怎么样」「张坤最近说了什么」也应该使用此技能。

24 stars 5 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add baixianger/snowball-cli --skill snowball-cli
Manual install
git clone --depth 1 https://github.com/baixianger/snowball-cli.git /tmp/snowball-cli
mkdir -p ~/.claude/skills
cp -r /tmp/snowball-cli/. ~/.claude/skills/snowball-cli

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Snowball CLI — 雪球数据命令行工具

封装雪球 (xueqiu.com) API,所有输出为 JSON 格式,专为 AI Agent 和脚本设计。

覆盖范围:A 股(沪深)、港股、美股(经雪球)、公募基金(经蛋卷)。

## 重要:先用再登录

**不要一上来就让用户登录。** 以下命令无需登录即可使用:

```bash
snowball quote SH600519              # 实时行情
snowball market                      # 大盘指数
snowball fund 110011                 # 基金详情
snowball fund 110011 --nav           # 基金净值
snowball fund 110011 --growth        # 基金收益
```

只有当命令返回「Not logged in」错误时,再引导用户登录。先 `snowball status` 检查是否已有 token。

## 安装

如果 `snowball` 命令不存在,提示用户运行:

```bash
npm install -g snowball-cli
```

## 登录(仅在需要时)

大部分命令需要雪球登录态。上面列出的 `quote`、`market`、`fund` 无需登录。

遇到「Not logged in」错误时,提示用户自行完成登录。**不要代替用户执行认证命令。** 告知用户以下方式:

- `snowball login` — 用雪球 App 扫码登录(需要 Chrome/Chromium)
- `snowball export` / `snowball import <base64>` — 从已登录的机器导入 token

可以用 `snowball status` 检查当前 token 状态。

## 代码格式

| 格式 | 市场 | 示例 |
|---|---|---|
| `SHxxxxxx` | 上交所 | `SH600519`(贵州茅台) |
| `SZxxxxxx` | 深交所 | `SZ000858`(五粮液)、`SZ300750`(宁德时代) |
| `SH000xxx` | 上证指数 | `SH000001`(上证综指) |
| `SZ399xxx` | 深证指数 | `SZ399001`(深证成指) |
| `xxxxx` | 港股 | `01810`(小米) |
| `XXXX` | 美股 | `AAPL`(苹果) |

基金代码为纯数字:`110011`、`005827`。

## 命令参考

### 行情(quote 和 market 无需登录)
Read the full skill on GitHub

Details

Skill name
snowball-cli
Repo updated
3 April 2026

FAQ

What does the Snowball CLI skill do?

雪球股票数据命令行工具。当用户需要查询中国 A 股、港股、美股行情,查看上市公司财报、资金流向、股东信息,浏览雪球大 V 观点、热帖、实时快讯,或者做基金净值查询时,使用此技能。触发词包括:雪球、A股、港股、沪深、茅台、宁德时代、SH600519、SZ300750、基金净值、KOL、热帖、大 V、选股、K线、盘口、利润表、资产负债表、资金流向、大宗交易、融资融券。即使用户只是说「茅台现在多少钱」「今天市场怎么样」「张坤最近说了什么」也应该使用此技能。

How do I install the Snowball CLI skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add baixianger/snowball-cli --skill snowball-cli. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Snowball CLI popular?

It lives in baixianger/snowball-cli, which has 24 GitHub stars and 5 forks.

Related skills

Boring Engineering

24

alvindemesadev/boring-engineering

Prevents overengineering when designing, implementing, refactoring, or reviewing software. Use when the user asks to implement a feature, add an abstraction, refactor code, review a design, simplify existing code, or make an architectural decision. Also triggers when the user asks if code is too complex, whether to abstract something, or how to structure something. Do not use for deployment, infrastructure configuration, or debugging runtime errors unrelated to code structure.

Software Development

Rails Conventions

19

ethos-link/rails-conventions

Modern Ruby and Rails application architecture, implementation, and review guidance for production codebases. Use when building or reviewing Ruby on Rails 8 features across models, controllers, routes, Hotwire, jobs, APIs, performance, security, and testing. Trigger for requests mentioning Rails 8, Active Record, Active Job, GoodJob, Solid Queue, Turbo/Stimulus, REST resources, migrations, code quality, naming, and production readiness.

Software DevelopmentIn 1 list

Nexcanvas Drawio

24

sunniie/nexcanvas-drawio

Create, repair, convert, render, and verify editable Draw.io diagrams for software, cloud, data, security, delivery, product, and AI/ML architecture. Use for architecture maps, workflows, flowcharts, ERDs, sequences, BPMN, network views, wireframes, .drawio files, or PNG/SVG/PDF diagram exports.

Software Development

Olakunlevpn Filament Skills

25

olakunlevpn/olakunlevpn-filament-skills

Use when writing, reviewing, or refactoring Filament PHP v5 code -- resources, forms, tables, infolists, actions, widgets, panels, relation managers, multi-tenancy, testing, or plugin development. Always apply these standards to all Filament work.

Software Development

Recommendations

27

tasteray/skills

TasteRay API integration for personalized recommendations across verticals (movies, restaurants, products, travel, jobs). Use when you need to: (1) recommend movies, restaurants, products, travel, or jobs, (2) answer "what would I like" questions, (3) provide personalized recommendations based on preferences, (4) rank or score items for a user, (5) explain why something matches a user's taste, (6) build recommendation context from conversation, (7) integrate psychological profiles with recommendation systems.

Software DevelopmentIn 1 list

Reddit Skill

29

openslow/reddit-skill

通过 Reddit OAuth2 API 搜索和阅读 Reddit 帖子、评论和子版块内容。当用户要求搜索 Reddit 讨论、浏览子版块帖子、阅读 Reddit 帖子内容和评论、了解 Reddit 社区对某个话题的看法时使用此 skill。支持按时间范围和排序方式筛选,支持读取完整帖子正文和嵌套评论树。

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.