Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add DAnonyvinciT/akshare-stock-skill --skill akshare-stockgit clone --depth 1 https://github.com/DAnonyvinciT/akshare-stock-skillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/danonyvincit/akshare-stock-skill/akshare-stock)<a href="https://agentmods.dev/skills/danonyvincit/akshare-stock-skill/akshare-stock"><img src="https://agentmods.dev/badge/skills/danonyvincit/akshare-stock-skill/akshare-stock/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/danonyvincit/akshare-stock-skill/akshare-stock"><img src="https://agentmods.dev/badge/skills/danonyvincit/akshare-stock-skill/akshare-stock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00100 | $0.01298 |
| Opus 5 | $0.00050 | $0.00649 |
| Sonnet 5 | $0.00020 | $0.00260 |
| Haiku 4.5 | $0.00010 | $0.00130 |
Grade A, and why
akshare-stock scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AKShare A股数据分析 Skill
使用 AKShare 库获取中国 A 股市场数据并进行分析。AKShare 是免费开源的金融数据接口,无需注册或 Token。
快速开始
环境准备
pip install akshare pandas numpy pyyaml
使用脚本
cd e:\AIproJect\A_Share\.agent\skills\akshare-stock\scripts
# 智能投资分析(推荐)
python analyze_investment.py 002475
# 实时行情
python get_realtime_quote.py 002475
# 历史K线
python get_history_kline.py 002475 --days 60
# 技术指标
python calc_technical.py 002475
# 综合分析报告
python stock_analyzer.py 002475 -o report.md
脚本列表
数据获取脚本
| 脚本 | 功能 | 示例 |
|---|---|---|
get_realtime_quote.py |
实时行情 | python get_realtime_quote.py 002475 |
get_history_kline.py |
历史K线 | python get_history_kline.py 002475 --days 60 |
get_valuation.py |
估值指标 | python get_valuation.py 002475 |
get_fund_flow.py |
资金流向 | python get_fund_flow.py 002475 --days 10 |
get_financial.py |
财务数据 | python get_financial.py 002475 |
get_shareholders.py |
股东信息 | python get_shareholders.py 002475 |
get_dividend.py |
分红数据 | python get_dividend.py 002475 |
分析脚本
| 脚本 | 功能 | 说明 |
|---|---|---|
analyze_investment.py |
智能投资分析 | 多维度评分 + 投资建议 |
calc_technical.py |
技术指标计算 | MA/MACD/RSI/KDJ/BOLL |
stock_analyzer.py |
综合分析报告 | 合并所有数据的完整报告 |
工具脚本
| 脚本 | 功能 | 说明 |
|---|---|---|
cache_manager.py |
数据缓存 | SQLite 本地缓存 |
scheduler.py |
定时任务 | 自动获取数据和生成报告 |
核心功能
1. 智能投资分析
python analyze_investment.py 002475
自动分析:
- 📊 估值分析(PE/PB/股息率)
- 📈 成长性分析(营收/利润增速)
- 💵 资金面分析(主力资金流向)
- 📉 技术面分析(均线/MACD/RSI)
- 综合评分 + 投资建议
2. 技术指标
python calc_technical.py 002475
支持指标:
- MA: 5/10/20/60日均线
- MACD: DIF, DEA, MACD柱
- RSI: 6/12/24日
- KDJ: K, D, J
- BOLL: 上轨/中轨/下轨
3. 数据缓存
自动缓存避免重复请求:
- 实时行情:1分钟
- 日K线:1小时
- 财务数据:7天
- 股东数据:30天
4. 定时任务
# 立即执行
python scheduler.py --run-now
# 后台运行调度器
python scheduler.py
配置 config.yaml 设置监控股票和执行时间。
输出格式
所有脚本默认输出 Markdown 格式,可直接预览或保存:
python analyze_investment.py 002475 -o 分析报告.md
What ships with it
15 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- config.yaml 1.3 KB
- references/api_reference.md 8.3 KB
- references/official_docs.md 2.0 KB
- scripts/analyze_investment.py 12 KB runs code
- scripts/cache_manager.py 7.6 KB runs code
- scripts/calc_technical.py 9.6 KB runs code
- scripts/get_dividend.py 1.5 KB runs code
- scripts/get_financial.py 2.6 KB runs code
- scripts/get_fund_flow.py 2.8 KB runs code
- scripts/get_history_kline.py 3.3 KB runs code
- scripts/get_realtime_quote.py 1.8 KB runs code
- scripts/get_shareholders.py 2.3 KB runs code
- scripts/get_valuation.py 2.5 KB runs code
- scripts/scheduler.py 6.5 KB runs code
- scripts/stock_analyzer.py 11 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago First seen · 154 lines · 100 tokens per session scan A 5d41ed6a6296
akshare-stock is a skill published in the GitHub repository DAnonyvinciT/akshare-stock-skill (58 stars, last pushed 8mo ago), licensed MIT. It adds 100 tokens to every session and 1,298 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.
furusato
A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.
reading-receipt
An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.