stock-feed

stock-feed is a skill for Claude Code from redfox-data/redfox-community-dsh. It costs 127 tokens per session (1,968 once invoked), scanned A, original, MIT.

An A-share stock-news monitor that searches Xiaohongshu, Douyin, and public WeChat accounts for recent Chinese market discussions. It filters unrelated posts and compares signals across platforms in structured or visual reports.

In plain words
What is it for?
Use it to follow A-share sentiment, review market topics, monitor stock discussions, examine trends over the last few days, and generate JSON or HTML reports.
Why use it?
It replaces separate searches across three platforms with one time-bounded collection. Cross-platform comparison helps show where market attention and opinions differ.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; built for openclaw.

Good fit Use it to follow A-share sentiment, review market topics, monitor stock discussions, examine trends over the last few days, and generate JSON or HTML reports.

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

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 stock-feed

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/stock-feed"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/stock-feed.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,968 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.
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.00127 $0.01968
Opus 5 $0.00063 $0.00984
Sonnet 5 $0.00025 $0.00394
Haiku 4.5 $0.00013 $0.00197

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

Security

Grade A, and why

stock-feed 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/stock_feed.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.

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/stock-feed/SKILL.md · 167 lines

How it starts

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

A股每日新闻

📝 简介

A股每日新闻是中国股市舆情研究工具,从小红书、抖音、公众号三大平台一次性搜索17个A股核心关键词(A股、A股市场、A股大盘、涨停、涨跌、潜力股、选股、加仓等),默认拉取近7天真实讨论数据,自动过滤非股票/投资相关内容,跨平台对比分析股市舆情趋势,输出结构化研究报告和可视化 HTML。

✨ 功能特性

功能模块 能力描述 核心价值
17词一键查询 内置A股核心关键词,一次覆盖全话题 零配置即用
三平台数据源 小红书、抖音、公众号真实数据 多维度舆情视角
跨平台对比 自动综合三平台数据生成洞察 发现差异化趋势
灵活时间范围 默认7天,支持自定义1~30天 追踪盘中/周度变化
HTML 报告 交互式可视化报告生成 便于分享传播
历史回溯 支持近30天任意日期数据 追踪趋势演变

🔑 鉴权

脚本需配置 API Key 使用。从 红狐数据 获取个人 Key 并配置环境变量:

export REDFOX_API_KEY=ak_你的密钥

优先级:命令行 --api-key > REDFOX_API_KEY / X_API_KEY 环境变量 > 配置文件。


核心参数

参数 说明 默认值
keyword 搜索关键词(可选,不传则使用内置17个A股关键词) A股,A股市场,A股大盘,... 共17词
--platforms 平台列表(不建议缩减) xhs,dy,gzh
--count 每平台条数 50
--days 时间范围(默认7天,用户指定时按需传入) 7
--output-format json / html / both json
--output-dir 输出目录 ~/Downloads/StockFeed

平台信号解读:

平台 内容特征 关键指标
小红书 (xhs) 散户分享、炒股心得、入门教程 收藏/点赞比高=实用信号
抖音 (dy) 盘中速评、涨停解读、情绪传播 分享数=传播力
公众号 (gzh) 深度复盘、策略分析、行业研报 阅读量=关注度,分享=认同

工作流程

1. 环境检查

运行前需确保已配置 API Key(环境变量 REDFOX_API_KEY--api-key 参数)。如未配置,提示用户:

请配置 API Key:export REDFOX_API_KEY=ak_你的密钥,注册地址 https://www.redfox.hk/login

2. 关键词处理

  • 默认行为:不传 keyword 参数,脚本自动使用内置17个A股核心关键词
  • 用户自定义:用户明确指定关键词时,传入 --keyword 参数覆盖默认值
  • 检查关键词是否过于模糊,若是则请用户具体化

3. 预研究

调用引擎前,并行运行 2-3 个 WebSearch 提取热词和背景:

  • A股 {TOPIC} 小红书 热门讨论 → 提取小红书热词
  • A股 {TOPIC} 抖音 热门话题 → 提取抖音标签
  • A股 {TOPIC} 最新动态 → 补充时效背景

4. 运行引擎

python3 scripts/stock_feed.py \
  --platforms xhs,dy,gzh \
  --count 50 \
  --days 7 \
  --output-format json \
  --output-dir="${STOCK_FEED_MEMORY_DIR:-$HOME/Downloads/StockFeed}"

用户指定关键词时:

python3 scripts/stock_feed.py "半导体,芯片" \
  --platforms xhs,dy,gzh \
  --count 50 \
  --days 7 \
  --output-format json \
  --output-dir="${STOCK_FEED_MEMORY_DIR:-$HOME/Downloads/StockFeed}"

Read the full file on GitHub · 167 lines

Files

What ships with it

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

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. 5d ago First seen · 167 lines · 127 tokens per session scan A 13dfaff8cb9a

Subscribe to this mod's changes

stock-feed is a skill published in the GitHub repository redfox-data/redfox-community-dsh (5 stars, last pushed yesterday), licensed MIT. It adds 127 tokens to every session and 1,968 once invoked, about $0.0006 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-09-03.

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