akshare-fundflow-snapshot

akshare-fundflow-snapshot is a skill for Claude Code, Codex from duolongworld/AI_Renaissance. It costs 67 tokens per session (1,464 once invoked), scanned A, original, Apache-2.0.

A unified data snapshot built with AkShare, a Python library for financial-market data. It combines stock details, major fund flows, related industry and concept rankings, market fund flows, and an overview of northbound investment flows.

In plain words
What is it for?
Use it to retrieve fund-flow data for an A-share stock, its related sectors and concepts, the wider market, and recent northbound flows.
Why use it?
It gives an analysis agent one structured result instead of requiring several separate data requests. Each part reports its own status, so a partial failure is visible even when the overall result succeeds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve fund-flow data for an A-share stock, its related sectors and concepts, the wider market, and recent northbound flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duolongworld/ai_renaissance/akshare_fundflow_snapshot
Install

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.

Any agent
npx skills add duolongworld/AI_Renaissance --skill akshare_fundflow_snapshot
Clone the repo
git clone --depth 1 https://github.com/duolongworld/AI_Renaissance

Made for: Claude Code, Codex.

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

agentmods badge for akshare-fundflow-snapshot

README.md
[![agentmods](https://agentmods.dev/badge/skills/duolongworld/ai_renaissance/akshare_fundflow_snapshot/github.svg)](https://agentmods.dev/skills/duolongworld/ai_renaissance/akshare_fundflow_snapshot)
Your own site
<a href="https://agentmods.dev/skills/duolongworld/ai_renaissance/akshare_fundflow_snapshot"><img src="https://agentmods.dev/badge/skills/duolongworld/ai_renaissance/akshare_fundflow_snapshot/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.

agentmods 80×15 button for akshare-fundflow-snapshot

Your own site · 80×15
<a href="https://agentmods.dev/skills/duolongworld/ai_renaissance/akshare_fundflow_snapshot"><img src="https://agentmods.dev/badge/skills/duolongworld/ai_renaissance/akshare_fundflow_snapshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01464
Opus 5 $0.00034 $0.00732
Sonnet 5 $0.00013 $0.00293
Haiku 4.5 $0.00007 $0.00146

Measured 11d ago against content hash 94276122f8d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

akshare-fundflow-snapshot 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 11d 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.

skills/data/akshare_fundflow_snapshot/SKILL.md · 154 lines

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 资金流全景数据契约 Skill

1. 适用范围

适用任务:

  • agents/fundflow/agent.py 提供一份可直接消费的资金流全景快照
  • 同时获取个股基础信息、个股主力资金流向、相关行业 / 概念板块资金、大盘主力资金、北向资金概览
  • 避免把资金流分析依赖拆成多个零散 Skill,降低调用复杂度

边界说明:

  • 本 Skill 只描述数据契约,不直接产出投资判断
  • 底层仍由多个 AkShare 接口拼装,但对上层只暴露一个统一入口
  • data_sources/akshare.py 已对 AkShare 1.18.x 中失效的东方财富 push2/push2his HTTPS 访问做兼容:基础信息/板块榜使用可用的 push2delay,历史资金流使用 HTTP push2his,调用方无需感知底层端点差异
  • 某个子模块失败时,顶层结果仍可能返回 success,调用方需要检查各子模块自己的 status

2. 执行数据源

真实数据获取逻辑位于:

data_sources/akshare.py

推荐调用方式:

from data_sources import AkshareDataSource

source = AkshareDataSource()
data = source.get_fundflow_snapshot(
    stock_code="600519",
    indicator="今日",
    flow_limit=10,
    sector_top_n=10,
    concept_limit=10,
)

3. 输入参数

必填参数

参数 类型 说明 示例
stock_code string 6 位 A 股股票代码,支持 SH/SZ/BJ 前缀 "600519"

可选参数

参数 类型 默认值 说明
indicator string "今日" 板块资金口径,仅支持 今日 / 5日 / 10日
flow_limit int 20 个股资金流与大盘主力资金返回最近多少条记录;底层通常可提供约 120 个交易日历史,实际条数以接口返回为准
sector_top_n int 20 行业 / 概念资金榜返回前多少条
concept_limit int 10 个股概念标签最多返回多少条

4. 输出格式

{
  "status": "success",
  "source": "akshare",
  "dataset": "fundflow_snapshot",
  "fetch_time": "2026年06月09日",
  "stock_code": "600519",
  "basic_info": {
    "status": "success",
    "profile": {
      "股票代码": "600519",
      "股票名称": "贵州茅台",
      "总市值": 1734131271029.85,
      "所属行业": "白酒Ⅱ"
    }
  },
  "stock_fund_flow": {
    "status": "success",
    "total": 120,
    "latest": {
      "日期": "2026年06月09日",
      "主力净流入-净额": -200521888.0
    },
    "summary": {
      "最新主力净流入": -200521888.0,
      "近5日主力净流入": -2068522512.0
    }
  },
  "sector_fund_flow": {
    "status": "success",
    "stock_context": {
      "stock_code": "600519",
      "stock_name": "贵州茅台",
      "industry": "白酒Ⅱ",
      "concepts": ["白酒", "超级品牌"]
    }
  },
  "market_fund_flow": {
    "status": "success",
    "northbound": {
      "trade_date": "2026年06月09日",
      "northbound_net_buy": 0.0
    }
  }
}

Read the full file on GitHub · 154 lines

Changes

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.

  1. 11d ago First seen · 154 lines · 67 tokens per session scan A 94276122f8d7

Subscribe to this mod's changes

akshare-fundflow-snapshot is a skill published in the GitHub repository duolongworld/AI_Renaissance (59 stars, last pushed 14d ago), licensed Apache-2.0. It adds 67 tokens to every session and 1,464 once invoked, about $0.0003 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.

Related

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.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

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…

himself65/finance-skills · 161 tokens

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.

questflowai/investorskills · 44 tokens

trading-risk-gate

Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.

winstonkoh87/Athena-Public · 53 tokens

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.

kazukinagata/shinkoku · 102 tokens