gzh-astock-top

gzh-astock-top is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 89 tokens per session (3,224 once invoked), scanned A, original, MIT.

A tool for ranking prominent Chinese WeChat public accounts about A-shares, which are stocks listed on mainland Chinese exchanges. It returns account statistics and each account’s latest article for a chosen date.

In plain words
What is it for?
Use it to compare finance accounts, review average readership and other listed metrics, inspect recent article engagement, read short title-based summaries, or subscribe to selected accounts for daily checks. An API key is required.
Why use it?
It puts account performance and recent publishing activity in one result, instead of requiring separate checks of many finance accounts. It covers a fixed set of personal experts, media, and institutions.

Skill for Claude CodeCodex

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

Good fit Use it to compare finance accounts, review average readership and other listed metrics, inspect recent article engagement, read short title-based summaries, or subscribe to selected accounts for daily checks. An API key is required.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/gzh-astock-top
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 redfox-data/redfox-community-dsh --skill gzh-astock-top
Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh

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 gzh-astock-top

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/gzh-astock-top/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/gzh-astock-top)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/gzh-astock-top"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/gzh-astock-top/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 gzh-astock-top

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/gzh-astock-top"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/gzh-astock-top.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,224 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00089 $0.03224
Opus 5 $0.00044 $0.01612
Sonnet 5 $0.00018 $0.00645
Haiku 4.5 $0.00009 $0.00322

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

Security

Grade A, and why

gzh-astock-top scanned grade A 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 11d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/fetch_astock_accounts.py, scripts/fetch_subscribed_updates.py, scripts/manage_subscriptions.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- 无第三方依赖(纯标准库:urllib.request, json, os, sys, argparse, datetime)
skills/gzh-astock-top/SKILL.md · 311 lines

How it starts

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

A股公众号大V

1. 简介

A股公众号大V工具,输入日期获取A股领域30个公众号大V的账号数据与最新文章数据。帮助用户快速掌握A股领域头部公众号的运营表现和最新内容动向。

API 请求均携带 A股公众号大V-GitHub 标识。使用环境变量 REDFOX_API_KEY 鉴权。


2. 功能特性

  • 固定账号池:覆盖19个个人大V + 30个官媒/机构,共49个A股头部公众号
  • 账号数据:获取每个账号的平均阅读数、红狐指数、账号描述等核心指标
  • 当日文章:获取每个账号在指定日期发布的最新文章,含标题、链接、阅读数、点赞、评论等互动数据
  • 双分类模式:官媒/机构 + 个人大V 两类分开展示,各类最多30个
  • AI概要:基于文章标题自动生成1句话内容概要
  • 标题跳转:文章标题渲染为超链接,点击可跳转原文
  • 订阅推送:按序号订阅账号,每日只查订阅列表,减少API调用

3. 鉴权配置

获取 API Key

请前往 红狐hub 获取 API Key。

配置方式

方式 命令
环境变量(推荐) export REDFOX_API_KEY=ak_你的密钥
命令行参数 --api-key ak_你的密钥
配置文件 echo '{"api_key":"ak_你的密钥"}' > ~/.qoder/apis/redfox.json

4. 使用指南

基础使用

Step 1 — 确认日期:从用户输入中提取查询日期。未指定日期时默认为今天。

Step 2 — 调用脚本

python3 "$SKILL_PATH/scripts/fetch_astock_accounts.py" --date <日期> --dual-category
  • 指定日期:--date 2026-06-15
  • 默认今天:python3 "$SKILL_PATH/scripts/fetch_astock_accounts.py" --dual-category
  • 仅查个人大V(不分类):python3 "$SKILL_PATH/scripts/fetch_astock_accounts.py" --date 2026-06-15

⚠️ 防重复调用规则(强制)

  • 禁止先用 head/tail 等方式"试运行"脚本
  • 禁止在同一次查询中对同一参数多次调用脚本
  • 每次查询只执行一次脚本命令,直接读取完整输出

Step 3 — 查看结果:脚本返回结构化 JSON 数据,按本指南规定的展示策略输出结果。


数据展示策略

⚠️ 强制输出规则

  • ✅ 必须严格按照本步骤规定的格式输出
  • ❌ 禁止在输出前添加任何分析或解读
  • ❌ 禁止自作主张给建议或方案
  • ✅ 直接读取脚本返回的 JSON 数据,按照对应策略输出
前置说明(展示数据前必须告知用户)
  • 数据说明:账号数据来源于红狐API收录的公众号信息,文章数据为账号在指定日期发布的作品(由服务端直接筛选)。互动数据截止为入库时间,非实时数据。
  • 排序说明:账号按平均阅读数降序排列
默认查询行为
  • 用户未指定日期时,默认查询当天(如 2026-06-17)
  • 默认使用 --dual-category --count 120 模式,同时输出官媒和大V两类
  • 若用户仅说"看看A股大V"或"查查今天的",直接运行双分类查询
数据充足(accounts ≥ 10)

展示内容:

  1. 时间范围说明:告知用户查询的日期
  2. 账号与文章数据表格(含AI概要列)

Markdown表格格式

📅 查询日期:2026-06-17

【官媒/机构】X 个账号

# 公众号 平均阅读 红狐指数 最新文章 AI概要 阅读 点赞 发布
1 金融时报 3.2w 937.1 重磅会议明天见 聚焦即将召开的重要经济会议,预判政策方向 8.3w 109 06-16

Read the full file on GitHub · 311 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 · 311 lines · 89 tokens per session scan A b547f741c615

Subscribe to this mod's changes

gzh-astock-top is a skill published in the GitHub repository redfox-data/redfox-community-dsh (5 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 3,224 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ito-baskets

Read-only Itô basket and prediction-market data skill. Index the live basket catalog, compare a basket against user-supplied research or a watchlist, build a source-grounded market brief, or draft a non-executable planning worksheet. Use when a user asks to browse or index Itô baskets, compare a basket against notes…

gongyijie85/dsh-ecc · 106 tokens

dsh-hooks-authoring

Instructions for writing and debugging dsh-hooks-plugin scripts, which run during tool or session events such as before a tool call or after it finishes. These scripts return JSON decisions such as allowing, asking about, or denying an action.

KYinCode/dsh-hooks-plugin · 112 tokens

web-artifact-designer

A design workflow for producing self-contained HTML or SVG files that open directly in a browser. It covers visual work such as posters, infographics, landing pages, charts, banners, cards, and interface mockups.

xulelenlp/dsh-web-artifact-designer · 115 tokens

customer-billing-ops

Operate customer billing workflows such as subscriptions, refunds, churn triage, billing-portal recovery, and plan analysis using connected billing tools like Stripe. Use when the user needs to help a customer, inspect subscription state, or manage revenue-impacting billing operations.

gongyijie85/dsh-ecc · 57 tokens

cost-aware-llm-pipeline

Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching. Use when LLM spend needs to come down, or when routing tasks across model tiers and budgets.

gongyijie85/dsh-ecc · 53 tokens

prediction-market-oracle-research

Research prediction markets as data sources or oracle signals for products, agents, dashboards, and corporate decision intelligence. Use for source-grounded analysis of market-implied probabilities, caveats, and integration patterns without investment advice. Use when evaluating prediction markets as a data source or…

gongyijie85/dsh-ecc · 71 tokens