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 redfox-data/redfox-community-dsh --skill stock-feedgit clone --depth 1 https://github.com/redfox-data/redfox-community-dshWrote 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/redfox-data/redfox-community-dsh/stock-feed)<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.
<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>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.00127 | $0.01968 |
| Opus 5 | $0.00063 | $0.00984 |
| Sonnet 5 | $0.00025 | $0.00394 |
| Haiku 4.5 | $0.00013 | $0.00197 |
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.
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 — 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}"
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.
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.
- 5d ago First seen · 167 lines · 127 tokens per session scan A 13dfaff8cb9a
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.
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…
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.
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.
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.
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.
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…