stock-analysis

stock-analysis is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 185 tokens per session (2,670 once invoked), scanned A, original, MIT.

A stock-analysis assistant based on writing styles distilled from five Chinese investment publishers. It combines their historical viewpoints with current market data to produce several kinds of stock and portfolio analysis.

In plain words
What is it for?
Use it for daily market reviews, sector screening, short-term stock selection, portfolio reviews, earnings commentary, and tracking an investment publisher's past view on a stock.
Why use it?
It brings multiple investing perspectives into one comparison instead of requiring separate manual reviews. It also separates the publishers' viewpoints from the assistant's own output and includes source-labelled market figures.

Skill for Claude CodeCodex

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

Good fit Use it for daily market reviews, sector screening, short-term stock selection, portfolio reviews, earnings commentary, and tracking an investment publisher's past view on a stock.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/stock-analysis
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-analysis
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 stock-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/stock-analysis.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/stock-analysis)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/stock-analysis"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/stock-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,670 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.00185 $0.02670
Opus 5 $0.00093 $0.01335
Sonnet 5 $0.00037 $0.00534
Haiku 4.5 $0.00018 $0.00267

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

Security

Grade A, and why

stock-analysis 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 9 executable files (scripts/analyze.py, scripts/common.py, scripts/earnings.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-analysis/SKILL.md · 203 lines

How it starts

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

股票分析专家-公众号股票大V蒸馏

⚠️ 免责声明:本工具仅供学习研究使用,所有生成内容均为 AI 风格模拟,不构成任何投资建议。 盘面数据必须实时采集,禁止 LLM 编造涨跌停、资金流向等数据


📝 简介

将5位公众号股票投资大V的200+篇文章蒸馏为结构化风格画像(六维DNA:交易体系/市场判断/表达风格/内容深度/互动特征/热点图谱),通过 AI Agent 实现多模式风格化分析。盘面数据通过 WebSearch 实时采集并逐数值标注来源,生成内容经质量审计(表层+思维层双重校验)后准出。


✨ 功能特性

功能模块 能力描述 核心价值
多V并行对比 5位大V风格化分析同一标的/板块,输出共识与分歧 多视角交叉验证,避免单一偏见
每日复盘 按指定大V风格生成当日盘面复盘文章 风格化视角理解市场情绪与操作逻辑
板块漏斗 大V分析框架下四层筛选:赛道→龙头→确定性→操作 产业链逻辑穿透市场热点
短线选股 从公众号热文提取个股提及频率,按交易类型筛选 大V关注度量化选股
组合复盘 检索大V对各标的历史观点,按交易框架评估持仓 风格化持仓诊断与风险评估
财报点评 按大V风格解读公司财报,多维度分析基本面 基本面专业解读风格化输出

🔑 鉴权

前往 redfox.hk 注册获取 API Key,通过以下方式配置:

# 环境变量
export X_API_KEY="ak_你的密钥"

# 或配置文件 ~/.qoder/apis/redfox.json
{"api_key": "ak_你的密钥"}

API Key 用于:

  • queryWorkList(文章同步):按次扣费,每位大V同步扣 1 次积分
  • record/save(调用记录上报):仅用于统计,不扣费

快速开始

自然语言直接描述需求,Agent 自动识别模式:

场景 触发示例
单大V分析 "用猫笔刀的风格分析宁德时代"
多V对比 "用5位大V的风格分别分析茅台"
板块分析 "共同分析航天板块"
短线选股 "用财躺平的风格筛选半导体短线"
组合复盘 "用投资明见的风格复盘我的持仓:中国卫星、航发动力"
财报点评 "点评贵州茅台最新财报"
每日复盘 "用猫笔刀的风格写一篇今日复盘"
观点跟踪 "查下财躺平对中国卫星的观点"

预置大V画像

profiles/ 目录下每位大V一份 JSON 画像,开箱即用:

大V 交易类型 核心风格
财躺平 短线+趋势 宏观趋势+逆向思维,道法自然哲学,"老粉都知道"
猫笔刀 短线 多资产视角+周期推理,幽默随性,"今晚舅酱"
格兰投研 长线 产业链深度研报型,数据驱动,"产业景气决定一切"
投资明见 长线 纯技术面趋势跟踪,指数为核心,"趋势是最好的朋友"
终身黑白 长线 深度价值投资,护城河+安全边际,"慢慢变富"

执行流程

Phase -1:增量文章同步(触发时询问)

当日首次触发时必须先询问用户是否同步大V最新文章(每位扣 1 次积分)。

三种选择:跳过 / 部分同步(指定大V)/ 全部同步(5位,完成后必须进入 Phase 5 补充蒸馏)。

python3 "$SKILL_PATH/scripts/analyze.py" --author "财躺平" --mode sync

Phase 0:环境准备 + AI 偏见自查

python3 "$SKILL_PATH/scripts/analyze.py" --check-env

检查依赖和画像就绪后,按以下标准评估信息丰富度并写入生成内容开头:

等级 特征 应对策略
A 级(信息充裕) 画像高置信、盘面完整 反面检验:大V看多时,聪明人为什么看空?
B 级(信息适中) 画像中置信、部分数据缺失 每个推算数据标注置信度
C 级(信息稀缺) 画像低置信、数据缺失 第一性原理提问,不拼凑"看起来完整"的报告

Read the full file on GitHub · 203 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. 5d ago First seen · 203 lines · 185 tokens per session scan A edacd930853c

Subscribe to this mod's changes

stock-analysis is a skill published in the GitHub repository redfox-data/redfox-community-dsh (5 stars, last pushed yesterday), licensed MIT. It adds 185 tokens to every session and 2,670 once invoked, about $0.0009 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