Agent skill

A Share Earnings Preview

by aifinlab in aifinlab/FinClaw

A股业绩前瞻/季报预览/财报预期情景分析。当用户提到"业绩前瞻"或"earnings preview"就触发。关键词:"业绩前瞻"、"季报预览"、"预期怎么样"、"earnings preview"、"XX下周发财报"、"财报前怎么看"、"业绩预告分析"、"预计业绩"、"业绩展望"、"财报前瞻"、"预计这个季度业绩"、"业绩预期"、"情景分析"、"业绩预测"。MUST USE when…

Apache-2.0Auto-check passedBusiness, Finance & HR

Install A Share Earnings Preview

skills CLI
$ npx skills add aifinlab/FinClaw --skill a-share-earnings-preview -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aifinlab/FinClaw a-share-earnings-preview --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/a-share-earnings-preview .claude/skills/a-share-earnings-preview && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
a-share-earnings-preview
GitHub stars
255
Token cost
~818 tokens
SKILL.md length
202 words
Files
2 (incl. references)
Skills in repo
74
Repo updated
First seen
Licence
Apache-2.0

At a glance

A股业绩前瞻/季报预览/财报预期情景分析。当用户提到"业绩前瞻"或"earnings preview"就触发。关键词:"业绩前瞻"、"季报预览"、"预期怎么样"、"earnings preview"、"XX下周发财报"、"财报前怎么看"、"业绩预告分析"、"预计业绩"、"业绩展望"、"财报前瞻"、"预计这个季度业绩"、"业绩预期"、"情景分析"、"业绩预测"。MUST USE when…

  • Works in 5 steps: 背景梳理 → 关键指标框架 → 情景分析 → …
  • User asks about earnings preview
  • SKILL.md covers 数据源, Workflow, 风格说明 and A 股财报日历特殊性, plus 2 more sections
  • Calls python

What it does

A Share Earnings Preview is an agent skill from aifinlab/FinClaw. A股业绩前瞻/季报预览/财报预期情景分析。当用户提到"业绩前瞻"或"earnings preview"就触发。关键词:"业绩前瞻"、"季报预览"、"预期怎么样"、"earnings preview"、"XX下周发财报"、"财报前怎么看"、"业绩预告分析"、"预计业绩"、"业绩展望"、"财报前瞻"、"预计这个季度业绩"、"业绩预期"、"情景分析"、"业绩预测"。MUST USE when user asks about earnings preview, pre-earnings scenario analysis, earnings expectations/forecast, or quarterly outlook before earnings release. This is the ONLY skill for pre-earnings forward-looking analysis. 在财报发布前,基于历史数据和市场预期构建牛/熊/基准三种情景分析。通过 cn-stock-data 获取历史财务趋势,结合 web 搜索获取市场一致预期和业绩预告。支持机构前瞻风格(formal)和个人预判风格(brief)。

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/preview-template.md`).

It sits in Business, Finance & HR, covering Stock and market analysis. The licence is Apache-2.0.

When your agent uses it

  • User asks about earnings preview
  • Pre-earnings scenario analysis
  • Earnings expectations/forecast
  • Quarterly outlook before earnings release

Example prompts

  • “earnings preview”
  • “XX下周发财报”
  • “财报前怎么看”
  • “/a-share-earnings-preview”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 背景梳理
  2. 关键指标框架
  3. 情景分析
  4. 催化剂检查清单
  5. 输出

What it can do on your machine

Read from SKILL.md and the folder at commit 9e62862. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

A Share Earnings Preview loads about 818 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 202 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~818
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aifinlab/FinClaw at commit 9e62862, republished under its Apache-2.0 licence (© aifinlab). 202 words, ~818 tokens.

Download SKILL.mdSave it as .claude/skills/a-share-earnings-preview/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
a-share-earnings-preview
description
A股业绩前瞻/季报预览/财报预期情景分析。当用户提到"业绩前瞻"或"earnings preview"就触发。关键词:"业绩前瞻"、"季报预览"、"预期怎么样"、"earnings preview"、"XX下周发财报"、"财报前怎么看"、"业绩预告分析"、"预计业绩"、"业绩展望"、"财报前瞻"、"预计这个季度业绩"、"业绩预期"、"情景分析"、"业绩预测"。MUST USE when user asks about earnings preview, pre-earnings scenario analysis, earnings expectations/forecast, or quarterly outlook before earnings release. This is the ONLY skill for pre-earnings forward-looking analysis. 在财报发布前,基于历史数据和市场预期构建牛/熊/基准三种情景分析。通过 cn-stock-data 获取历史财务趋势,结合 web 搜索获取市场一致预期和业绩预告。支持机构前瞻风格(formal)和个人预判风格(brief)。

A股业绩前瞻 (A-Share Earnings Preview)

数据源

bash
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"

# 历史财务指标(分析趋势)
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]

# 最新行情(当前估值水平)
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE]

# 近 6 个月 K 线(股价已 price-in 多少预期)
python "$SCRIPTS/cn_stock_data.py" kline --code [CODE] --freq daily --start [6个月前日期]

# 资金流向(机构是否提前布局)
python "$SCRIPTS/cn_stock_data.py" fund_flow --code [CODE] --days 30

补充:通过 web 搜索获取:

  • 市场一致预期(券商预测均值)
  • 业绩预告/快报(如已发布)
  • 同行业已发布财报的参考信号
  • 公司近期公告、调研纪要

Workflow

Step 1: 背景梳理
  1. 确认即将发布的报告期(Q1/半年报/Q3/年报)
  2. 通过 cn-stock-data 获取过去 4-8 个季度的财务数据,建立趋势基线
  3. Web 搜索:
    • 是否已发布业绩预告/快报?(有则直接用预告数据)
    • 市场一致预期(Wind/东方财富/券商研报的营收/净利润预测)
    • 同行业已公布业绩的公司表现(作为参考信号)
    • 公司近期重大事件(收购/产能投放/政策影响)
Step 2: 关键指标框架

财务指标预期(基于历史趋势 + 市场预期):

指标上季度实际去年同期市场预期个人预判
营业收入(亿)
同比增速(%)
归母净利润(亿)
同比增速(%)
毛利率(%)
净利率(%)

行业特定运营指标(通过 web 搜索获取):

  • 白酒:批价走势、渠道库存、预收款
  • 银行:净息差趋势、不良率、拨备覆盖率
  • 科技:订单/合同额、研发进度
  • 新能源:出货量、价格趋势、产能利用率
  • 消费:同店增长、线上占比、库存
  • 医药:管线进度、集采影响、销售额
  • 地产:销售面积/金额、回款率、新开工
Step 3: 情景分析

构建三种情景:

牛市情景(Bull)基准情景(Base)熊市情景(Bear)
营收
净利润
关键驱动[什么因素超预期][符合市场预期][什么因素低于预期]
概率XX%XX%XX%
股价反应+X% to +X%-X% to +X%-X% to -X%

每个情景的逻辑必须自洽,概率合计 = 100%

Step 4: 催化剂检查清单

列出决定股价反应的 3-5 个关键观察点:

  1. [指标1]:预期 XX,若超过/低于 XX 则表明...
  2. [指标2]:...
  3. [管理层指引]:关注前瞻指引的措辞变化
  4. [特定事件]:...
Step 5: 输出

根据用户需求选择 formal 或 brief 风格,参考 references/preview-template.md 中的模板。

风格说明

维度formal(机构前瞻)brief(个人预判)
篇幅2-3 页半页
历史趋势4-8 季度完整表格简述趋势方向
情景分析完整三情景 + 概率 + 股价反应估计简化版(重点写偏离预期的情景)
运营指标行业特定的 3-5 个1-2 个最关键的
催化剂完整检查清单1-2 个最重要观察点
交易建议不给(只分析)可加个人操作思路
免责声明需要不需要

A 股财报日历特殊性

  • 年报: 次年 1-4 月披露(4/30 截止)
  • Q1 季报: 4/30 前披露
  • 半年报: 7-8 月披露(8/31 截止)
  • Q3 季报: 10/31 前披露
  • 业绩预告: 通常提前 1-2 个月,创业板强制预告
  • 业绩快报: 部分公司在正式报告前发布简要数据

关键规则

  1. 区分预告和预测:如果公司已发布业绩预告/快报,那是"已知信息"而非预测;真正的前瞻是分析正式报告可能的超预期/低于预期之处
  2. 预期差是核心:股价反应取决于实际 vs 预期的差值,而非绝对好坏
  3. 避免过度精确:给出合理区间比精确数字更诚实
  4. 季节性调整:注意 A 股的季度盈利不均匀分布(Q4 常有减值/一次性项目)
  5. 同比 vs 环比:高基数/低基数效应会扭曲同比增速,环比更能反映边际变化
  6. 与 a-share-earnings-analysis 联动:前瞻报告发布后,实际财报出来时用 a-share-earnings-analysis 做验证

使用示例

示例 1: 基本使用
python
# 调用 skill
result = run_skill({
    "param1": "value1",
    "param2": "value2"
})
示例 2: 命令行使用
bash
python scripts/run_skill.py --input data.json

© aifinlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/a-share-earnings-preview of aifinlab/FinClaw.

  • SKILL.md
  • references/preview-template.md

Open the folder on GitHubat commit 9e62862

Compare with similar skills

A Share Earnings Preview next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

A Share Earnings Preview compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
A Share Earnings Preview this skillaifinlab/FinClaw255—~818Automated safety check: PassApache-2.0
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Tushare Datazillionare/zillionare3212 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Longbridge Researchhelsome/folio2713 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    321 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    271 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Earnings

    helsome/folio

    Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.

    271 GitHub starsUsed in 1 repo~2.5k tokens
    Business, Finance & HRAuto-check passed

More from aifinlab/FinClaw

All 74 skills in this repo
  • Bank Corporate Credit Dd

    aifinlab/FinClaw

    A skill your agent uses when the user asks for help with corporate credit due diligence, enterprise credit investigation, pre-loan review, borrower analysis, document collection, management…

    255 GitHub stars~952 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate-risk monitoring assistant for enterprise litigation/penalty/enforcement scanning (处罚/诉讼/被执行/失信等).

    255 GitHub stars~751 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate client operating-volatility monitoring assistant (经营监测/指标波动/预警解释).

    255 GitHub stars~605 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank post-loan visit follow-up assistant to turn visit notes/materials into a structured memo (摘要/关键更新/风险观察/用途核验/行动项).

    255 GitHub stars~544 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate credit issue-list assistant (问题清单/补件清单/催办台账).

    255 GitHub stars~487 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate credit approval-opinion drafting assistant (审批意见/条款建议/有条件同意).

    255 GitHub stars~549 tokensUpdated 5 mo ago
    Auto-check passed

Questions about A Share Earnings Preview

What does A Share Earnings Preview do?

A股业绩前瞻/季报预览/财报预期情景分析。当用户提到"业绩前瞻"或"earnings preview"就触发。关键词:"业绩前瞻"、"季报预览"、"预期怎么样"、"earnings preview"、"XX下周发财报"、"财报前怎么看"、"业绩预告分析"、"预计业绩"、"业绩展望"、"财报前瞻"、"预计这个季度业绩"、"业绩预期"、"情景分析"、"业绩预测"。MUST USE when…. A Share Earnings Preview is an agent skill from aifinlab/FinClaw. A股业绩前瞻/季报预览/财报预期情景分析。当用户提到"业绩前瞻"或"earnings preview"就触发。关键词:"业绩前瞻"、"季报预览"、"预期怎么样"、"earnings preview"、"XX下周发财报"、"财报前怎么看"、"业绩预告分析"、"预计业绩"、"业绩展望"、"财报前瞻"、"预计这个季度业绩"、"业绩预期"、"情景分析"、"业绩预测"。MUST USE when user asks about earnings preview, pre-earnings scenario analysis, earnings expectations/forecast, or quarterly outlook before earnings release.

When should I use A Share Earnings Preview?

A Share Earnings Preview fits situations like: user asks about earnings preview; pre-earnings scenario analysis; earnings expectations/forecast; quarterly outlook before earnings release.

How do I install A Share Earnings Preview in Claude Code?

Run `npx skills add aifinlab/FinClaw --skill a-share-earnings-preview -a claude-code`. Or copy the skill folder (skills/a-share-earnings-preview in aifinlab/FinClaw) into .claude/skills/a-share-earnings-preview in your project. Claude Code loads it when a task matches its description.

How do I install A Share Earnings Preview in Codex?

Run `npx skills add aifinlab/FinClaw --skill a-share-earnings-preview -a codex`. Or copy the skill folder (skills/a-share-earnings-preview in aifinlab/FinClaw) into .agents/skills/a-share-earnings-preview in your project. Codex loads it when a task matches its description.

Can I use A Share Earnings Preview in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aifinlab/FinClaw --skill a-share-earnings-preview -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/a-share-earnings-preview, .gemini/skills/a-share-earnings-preview, .github/skills/a-share-earnings-preview and .opencode/skills/a-share-earnings-preview in your project.

What does A Share Earnings Preview need to run?

Going by SKILL.md and its folder, A Share Earnings Preview needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does A Share Earnings Preview access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is A Share Earnings Preview safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does A Share Earnings Preview use?

A Share Earnings Preview is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does A Share Earnings Preview use?

About 818 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 990 tokens, read only when the agent opens those files.

What are the alternatives to A Share Earnings Preview?

Skills that share tags, products or a category with A Share Earnings Preview: Stock API (zhangxiangliang/stock-api, 2k stars), Tushare Data (zillionare/zillionare, 321 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars) and Digital Oracle (komako-workshop/digital-oracle, 878 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains A Share Earnings Preview?

aifinlab (a GitHub user) maintains it in aifinlab/FinClaw, which has 255 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on May 13, 2026.

Source: aifinlab/FinClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.