im-dream: Skill for Claude Code

.claude/skills/hhxg-market/SKILL.md

hhxg-market is a skill for Claude Code from glide-the/im-dream. It costs 38 tokens per session (1,602 once invoked), scanned B, original, MIT.

A data assistant for China's A-share stock market. It provides market snapshots, trading calendars, financing and securities-lending information, real-time news, and related market summaries using Python's standard library.

In plain words
What is it for?
Use it to retrieve market summaries, popular themes, sector fund flows, investor activity, news, trading-day status, restricted-share unlocks, earnings forecasts, and futures delivery dates.
Why use it?
It removes the need to assemble these daily market and calendar queries manually or install extra Python packages. The data is intended for trading-day and after-market analysis.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Claude Code; built for openclaw.

This is glide-the/im-dream's own configuration. It tells Claude Code how to work on im-dream itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything im-dream configures →

Reuse

Borrowing it

Nothing to install: this file belongs to glide-the/im-dream. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/glide-the/im-dream/develop/.claude/skills/hhxg-market/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/glide-the/im-dream

Made for: Claude Code.

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 hhxg-market

README.md
[![agentmods](https://agentmods.dev/badge/skills/glide-the/im-dream/hhxg-market/github.svg)](https://agentmods.dev/skills/glide-the/im-dream/hhxg-market)
Your own site
<a href="https://agentmods.dev/skills/glide-the/im-dream/hhxg-market"><img src="https://agentmods.dev/badge/skills/glide-the/im-dream/hhxg-market/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 hhxg-market

Your own site · 80×15
<a href="https://agentmods.dev/skills/glide-the/im-dream/hhxg-market"><img src="https://agentmods.dev/badge/skills/glide-the/im-dream/hhxg-market.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,602 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00038 $0.01602
Opus 5.5 $0.00015 $0.00641
Sonnet 5.5 $0.00008 $0.00320
Haiku 4.5 $0.00004 $0.00160

Measured 12d ago against content hash e6c0d9974ff9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

hhxg-market scanned grade B with 1 finding 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 12d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (screenshots/gen_screenshots.py, scripts/_calendar_skill.py, scripts/_common.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

SKILL_DIR="$(dirname "$(find ~/.claude/skills ~/.openclaw/skills -name _common.py -path '*/hhxg-market/*' 2>/dev/null | head -1)")"
.claude/skills/hhxg-market/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

A 股量化数据助手(恢恢量化)

概述

零配置获取 A 股多维度量化数据,数据源自 恢恢量化。

无需安装任何 Python 包,仅需 Python 3 标准库。

脚本路径

所有脚本位于本 skill 目录下 scripts/,用 Bash 工具运行:

# 自动定位脚本目录(兼容 Claude Code / OpenClaw)
SKILL_DIR="$(dirname "$(find ~/.claude/skills ~/.openclaw/skills -name _common.py -path '*/hhxg-market/*' 2>/dev/null | head -1)")"

模块一览

1. 日报快照(fetch_snapshot.py)

盘后日报,覆盖赚钱效应、热门题材、连板天梯、游资龙虎榜、行业资金、焦点新闻。

python3 "$SKILL_DIR/fetch_snapshot.py"           # 完整快照
python3 "$SKILL_DIR/fetch_snapshot.py" summary   # AI 一句话总结
python3 "$SKILL_DIR/fetch_snapshot.py" market    # 赚钱效应
python3 "$SKILL_DIR/fetch_snapshot.py" themes    # 热门题材
python3 "$SKILL_DIR/fetch_snapshot.py" ladder    # 连板天梯
python3 "$SKILL_DIR/fetch_snapshot.py" hotmoney  # 游资龙虎榜
python3 "$SKILL_DIR/fetch_snapshot.py" sectors   # 行业资金
python3 "$SKILL_DIR/fetch_snapshot.py" news      # 焦点新闻

更新时间:交易日盘后约 20:00

2. A 股日历(calendar.py)

交易日查询、限售解禁、业绩预告、期货交割日。

python3 "$SKILL_DIR/calendar.py"                     # 本周事件汇总
python3 "$SKILL_DIR/calendar.py" trading 2026-03-05  # 某天是否交易日
python3 "$SKILL_DIR/calendar.py" unlock 2026-03      # 某月解禁
python3 "$SKILL_DIR/calendar.py" earnings 2026-03    # 某月业绩预告
python3 "$SKILL_DIR/calendar.py" delivery            # 全年交割日

3. 融资融券(margin.py)

近 7 日融资融券余额变化、净买入/净卖出排名。

python3 "$SKILL_DIR/margin.py"            # 完整报告
python3 "$SKILL_DIR/margin.py" overview   # 市场总览
python3 "$SKILL_DIR/margin.py" top        # 净买入/净卖出 TOP

4. 实时快讯(news.py)

财经快讯,按时间倒序。

python3 "$SKILL_DIR/news.py"       # 最新 20 条
python3 "$SKILL_DIR/news.py" 50    # 最新 50 条

通用参数

所有脚本支持 --json 参数输出 JSON 原始数据:

python3 "$SKILL_DIR/fetch_snapshot.py" --json
python3 "$SKILL_DIR/margin.py" --json

使用场景

用户问到以下问题时,自动调用此 skill:

行情 / 盘后

  • "A股" / "股市" / "大盘" / "行情" / "今天涨跌" → fetch_snapshot.py
  • "今天 A 股怎么样" / "大盘怎么样" / "盘后复盘" / "市场情绪" → fetch_snapshot.py
  • "热门题材" / "连板" / "连板天梯" / "龙虎榜" / "涨停" / "赚钱效应" → fetch_snapshot.py
  • "行业资金" / "板块资金" / "资金流向" → fetch_snapshot.py sectors

Read the full file on GitHub · 141 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. 12d ago First seen · 141 lines · 38 tokens per session scan B e6c0d9974ff9

Subscribe to this mod's changes

hhxg-market is a skill published in the GitHub repository glide-the/im-dream (0 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 1,602 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

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

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 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

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

china-portfolio-monitoring

A monitoring framework for tracking the financial results, operating measures, strategic milestones, and risks of companies held by China-focused private-equity funds. It uses measures such as revenue growth, margins, debt, cash flow, and return on equity.

jwangkun/claude-for-financial-services-cn · 86 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens