Akshare a Shares

针对中国A股的行情与数据查询(基于本地 akshare 源代码与API映射)。当用户请求获取A股实时行情、历史K线(日/周/月)、分钟级分时(1/5/15/30/60)、复权数据(前复权/后复权)、股东户数(含详情)、以及巨潮资讯公告披露结果时使用本Skill。默认优先使用东方财富(EM)接口;如用户指定新浪(Sina)来源或需要特定接口,则按映射调用对应函数。可使用内置脚本输出CSV/JSON,或内联Python调用。

65 stars 6 forksSoftware Development Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add Yrzhe/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

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

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

From the SKILL.md

# A股数据查询(akshare)

本Skill指导如何基于本地 akshare 源码目录的数据接口完成 A 股数据查询,并提供一个可直接运行的脚本以便快速拉取数据。

目录约定:本地 akshare 源位于 `Recents/akshare`(相对当前工作目录)。如不一致,请在执行脚本前修改脚本内 `AK_PATH`。

## 快速开始

- 方式一(推荐)脚本直取:使用 `scripts/akshare_fetch.py` 拉取数据,支持 CSV 或 JSON 输出。
  - 示例见 `references/examples.md`
- 方式二 内联Python:在任务中按“接口映射”选定函数与参数,直接编写最小可运行代码。

## 核心流程

1) 识别用户意图与来源
   - 行情总览(实时行情)、历史K线(日/周/月)、分钟分时、复权、股东户数、公告检索等
   - 来源优先级:未指定则默认 EastMoney(EM);用户指明“新浪”则用 Sina 接口
2) 选择接口与参数
   - 查 `references/endpoints.md` 的“意图→接口”映射与参数说明
3) 拉取与校验
   - 使用脚本或内联Python调用;如返回为空,检查代码格式(是否需交易所前缀、日期格式、是否退市等)
4) 返回结果
   - 表格/CSV/JSON;必要时附带参数回显与数据来源

## 接口映射总览(最常用)

- 实时全市场 A 股:`stock_feature.stock_hist_em.stock_zh_a_spot_em()`
- 历史K线(日/周/月,支持复权):`stock_feature.stock_hist_em.stock_zh_a_hist(symbol, period, start_date, end_date, adjust)`
- 分钟分时(1/5/15/30/60,支持复权):`stock_feature.stock_hist_em.stock_zh_a_hist_min_em(symbol, start_date, end_date, period, adjust)`
- 股东户数(批量/季度末):`stock_feature.stock_gdhs.stock_zh_a_gdhs(symbol)`;详情:`stock_feature.stock_gdhs.stock_zh_a_gdhs_detail_em(symbol)`
- 公告披露(巨潮资讯):`stock_feature.stock_disclosure_cninfo.stock_zh_a_disclosure_report_cninfo(...)`、`stock_zh_a_disclosure_relation_cninfo(...)`
- 新浪来源(如指定):实时报价 `stock.stock_zh_a_sina.stock_zh_a_spot()`、日线/复权 `stock.stock_zh_a_sina.stock_zh_a_daily(...)`、分钟线 `stock.stock_zh_a_sina.stock_zh_a_minute(...)`

详细参数、示例与注意事项见 `references/endpoints.md` 与 `references/examples.md`。

## 使用内置脚本

脚本路径:`scripts/akshare_fetch.py`

- 基本用法(CSV):
Read the full skill on GitHub

Details

Skill name
akshare-a-shares
Path
plugins/akshare-a-shares/skills/akshare-a-shares/SKILL.md
License
MIT
Repo updated
27 October 2026

FAQ

What does the Akshare a Shares skill do?

针对中国A股的行情与数据查询(基于本地 akshare 源代码与API映射)。当用户请求获取A股实时行情、历史K线(日/周/月)、分钟级分时(1/5/15/30/60)、复权数据(前复权/后复权)、股东户数(含详情)、以及巨潮资讯公告披露结果时使用本Skill。默认优先使用东方财富(EM)接口;如用户指定新浪(Sina)来源或需要特定接口,则按映射调用对应函数。可使用内置脚本输出CSV/JSON,或内联Python调用。

How do I install the Akshare a Shares skill?

Claude Code plugin: /plugin marketplace add Yrzhe/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Akshare a Shares popular?

It lives in Yrzhe/claude-skills, which has 65 GitHub stars and 6 forks.

Related skills

Adaptive Compaction

65

Yrzhe/claude-skills

Adaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without chang

AI, LLMs & Agents

Agentlog

65

Yrzhe/claude-skills

Load when the user wants to view, sync, or analyze multi-agent activity across multiple devices — Claude Code / Codex / Cursor / Maestri / browser-use sessions captured to a shared GitHub-synced pool, OR wants a distilled per-project context document so a fresh agent in a different tool can pick up where another left off. Triggers on "agentlog X" commands, "what did I do today across all my agents", "show me my pool", "sync the pool", "拉一下另一台机器上的 agent 记录", "看看 vps 上跑的", "跨设备 agent log", "跨工具上下文", "switch from Codex to Claude Code", "AGENTS.md / CLAUDE.md", "项目状态文档", "agent context". Do NOT lo

AI, LLMs & Agents

Appsnap

65

Yrzhe/claude-skills

Capture a Mac app window as agent context. Use when the user asks to snap, inspect, read, capture, summarize, or work from the current Mac window, a visible app, a selected window, or an app screenshot. Strongly prefer for Appshot-like requests, "what is on this window", "use this app as context", and "grab the window text". SKIP for remote websites/files that can be fetched directly, for controlling the UI, clicking, typing, automating actions, or extracting hidden Google Docs/Sheets/Slides/Gmail canvas text beyond what macOS Accessibility exposes.

Frontend & Design

Bane

113

Hmbown/Wizards-of-the-Ghosts

Bane curses targets, making them worse at everything they try. The real-world version is systematic weakness analysis: finding every crack, bad assumption, and failure mode in a plan, architecture, or argument. Unlike Vicious Mockery (which delivers the critique sharply), Bane is comprehensive and methodical — it maps the full attack surface.

Software Development11

Vibe Coding

79

LeadMagic/gtm-skills

AI-powered development for GTM — vibe coding workflows using v0, Cursor, Claude Code, Lovable, Bolt.new, Replit Agent, and Tempo Labs for rapidly building landing pages, marketing sites, tools, dashboards, and prototypes. Based on Andrej Karpathy's "vibe coding" philosophy. Use when building GTM assets with AI, shipping marketing sites fast, or teaching non-technical team members to build with AI. Triggers on: "vibe coding", "AI dev tools", "build with AI", "v0 by Vercel", "Lovable", "Bolt", "Cursor".

Software DevelopmentIn 1 list18

Blindness Deafness

113

Hmbown/Wizards-of-the-Ghosts

In D&D, Blindness/Deafness selectively removes one sense — the target can still act but loses critical awareness. The real-world version is selective channel muting: blocking a process from seeing certain inputs (input filtering, API response redaction), deafening it to specific signals (suppressing webhooks, ignoring certain event streams), or cutting telemetry so a system operates without awareness of a specific data source. Unlike containment (forcecage) which restricts everything, Blindness/Deafness surgically removes one information channel while leaving the rest intact.

Software Development11

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