erlang-shen-financial-report

For A-share listed companies, uses the prior annual report and disclosed quarterly reports of the current year to provide sentence-by-sentence interpretations and cognitive reframing, along with research report search, shareholder analysis, earnings forecasts, financial analysis, industry comparisons, and a three-month stock-price estimate. Produces downloadable analysis reports and reusable Skill packages. Trigger phrases include: "analyze XX company financials", "interpret XX annual report", "XX financials sentence-by-sentence", and "generate XX research report analysis".

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "erlang-shen-financial-report" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f5a6366abafdf193e44b29327f6d14fa135b6aa7fd0b24742554127dfe6a44ad. Verify the upstream source and version against https://skillhub.cn/skills/user_6fc68038/erlang-shen-financial-report before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

For A-share listed companies, uses the prior annual report and disclosed quarterly reports of the current year to provide sentence-by-sentence interpretations and cognitive reframing, along with research report search, shareholder analysis, earnings forecasts, financial analysis, industry comparisons, and a three-month stock-price estimate. Produces downloadable analysis reports and reusable Skill packages. Trigger phrases include: "analyze XX company financials", "interpret XX annual report", "XX financials sentence-by-sentence", and "generate XX research report analysis".

0 Downloads

Introduction source: third_party · user_6fc68038 · 1.3.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: erlang-shen-financial-report
description: 对 A 股上市公司上一年年报 + 当年已披露季报做「二郎神逐句解读 + 认知重构引擎」+ 研报搜索/股东研究/盈利预测/财务分析/行业对比/三个月股价预估,并生成可下载的分析报告与可复用 Skill 包。当用户说「分析 XX 公司财报」「解读 XX 年报」「XX 财报逐句解读」「生成 XX 研报分析」时使用。

财报深度分析 · 二郎神 × 认知重构 工作流

对指定 A 股公司,自动完成:财报定位 → 研报搜索 → 二郎神逐句解读 → 认知重构分析 → 股东研究/盈利预测/财务分析/行业对比 → 三个月股价情景预估 → 生成可下载报告(含总索引)→ 打包为可复用 Skill 包。

适用范围

  • 目标:A 股上市公司(需股票代码)。
  • 两份核心财报:上一年度年报 + 当年已公开发布的季度报(截至运行日;如 Q2 未披露则不虚构)。
  • 输出:每公司一份 9 模块 HTML 报告 + 一份跨公司总索引 + 一个可下载 Skill 包(zip)。

依赖

  • Python 3.10+,安装 akshare、pandas:
    pip install akshare pandas
  • 数据源:东方财富(研报/财务/股东)、新浪财经(股价,抗东方财富限频)、巨潮资讯(PDF 原文)。
  • 中国惯例:「涨=红、跌=绿」,报告中已据此着色。

工作流(按顺序执行)

  1. 定位财报 PDF:以 上一年年报 与 当年已披露季报 为关键词,到巨潮 static.cninfo.com.cn/finalpage/... 取官方 PDF 直链(不依赖需登录的接口)。写入 PDF_LINKS(见 build_reports.py 顶部)。
  2. fetch_all.py:抓取并落盘
    • meta_{name}.json:行业、研报数量、最新研报日期、forecast(2026/2027/2028E EPS/PE 一致预期,取自 stock_research_report_em 的盈利预测字段)、holder_dates(六大季度报告期)。
    • reports_{name}.json:研报列表 + 原文 PDF 链接(stock_research_report_em)。
    • fin_{name}.json:86 项财务指标(stock_financial_analysis_indicator)。
    • holders_{name}.json:六大季度十大股东 + 十大流通股东(stock_gdfx_top_10_em,symbol 需带交易所前缀如 sz300896)。
  3. price_fetch.py:股价(stock_zh_a_daily 新浪优先,EM 兜底),注意列名 EN→CN 归一化。
  4. industry_fetch.py:按行业挑 8 家可比公司,各抓最新财务指标 → peers_{name}.json(东方财富行业板块限频时用手工精选同业列表替代)。
  5. narrative.py:由 AI 用「二郎神」+「认知重构引擎」方法论逐公司撰写解读(见下方 schema 与 references/methodology.md)。这是核心人工/智能产出环节,无法纯脚本生成。可复制 narrative_template.py 改。
  6. build_reports.py:把上述数据 + narrative 渲染为 analysis_v2/{name}_report.html(9 模块)。
  7. build_index.py:生成 analysis_v2/index_v2.html 跨公司总索引。
  8. 打包:将本目录(SKILL.md + 脚本 + references + 样例报告)zip 为 erlang_financial_report_skill.zip,作为可下载 Skill 包交付。

报告九模块

  1. 原始财报下载链接(年报+季报)| 2. 研报搜索结果 | 3. 二郎神逐句解读(事实/推断/观点/假设 + 多/空/中)| 4. 认知重构引擎分析(三错位/框架校准/逻辑全景/系统视角/多视角)| 5. 六个月股东研究变化(集中度+主要流通股东变动)| 6. 盈利预测(一致预期 EPS/PE)| 7. 财务分析(六大季度趋势,含现金/净利背离)| 8. 行业对比(8 家可比横向)| 9. 三个月股价情景预估(悲观/中性/乐观,基于波动率+动能)。

二郎神标注 schema(narrative.py 内 erlang 字段)

每条解读 = {"t":句面,"tag":事实|推断|观点|假设,"sig":多|空|中}。

  • 事实:可验证客观数据;推断:由事实推出的结论;观点:主观判断/管理层叙事;假设:隐含前提。
  • sig 多=利好,空=利空,中=中性。

认知重构引擎八步(narrative.py 内 reframe 字段)

sanwei(三错位诊断) / kalib(框架校准) / panorama(逻辑全景图:事实—假设—价值—未知—行动) / system(系统视角:力—阻力—摩擦—催化—反馈—临界点) / multiview(多视角解码:成长型/课题分离/长期主义/逆向)。

关键坑位(务必注意)

  • stock_gdfx_top_10_em 的 symbol 必须带交易所前缀(sz/sh),否则 KeyError 'sdgd'。
  • stock_zh_a_gdhs 在本环境会忽略 symbol 返回全市场股东户数 dump,不可用于单公司,故股东研究改用六大季度十大股东结构(集中度+主要股东变动)。
  • 股价 日期 字段为 epoch 毫秒,渲染前需 epoch_to_dash 转 YYYY-MM-DD。
  • 东方财富类接口易限频(ConnectionError/RemoteDisconnected),研报/股价/行业均设了新浪/手工备选路径。
  • 报告内所有价格情景与预测均标注「不构成投资建议」免责声明。

输出文件

  • analysis_v2/{name}_report.html ×4
  • analysis_v2/index_v2.html
  • erlang_financial_report_skill.zip(本包)

Current listing version

1.3.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供 A 股财报深度分析全流程,覆盖研报搜索、逐句解读、认知重构、股东研究、盈利预测、行业对比、股价预估等高价值功能
  • 生成可下载 HTML 报告与可复用 Skill 包,显著提升投资者研究效率
Trigger Precision95/100

Highlights

  • 触发词覆盖全面,明确列出「分析 XX 公司财报」「解读 XX 年报」等多种用户常见表达
  • 边界清晰,不易与其他 Skill 混淆
Structure and Standards75/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档未显式设置 'When to Use' 使用场景说明章节

    Recommendation: 建议在 frontmatter 后增加 'When to Use' 章节,明确典型使用场景

  • 文档过长 Reported severity: Minor

    SKILL.md 内容约 600 行,超出建议长度

    Recommendation: 可考虑将部分技术细节(如 schema 定义、关键坑位)移至 references 目录下的独立文档

Highlights

  • 工作流步骤清晰(8 步),含端到端执行逻辑
  • 报告九模块定义完整,输出文件明确
Execution Reliability88/100

Highlights

  • 工具来源明确(akshare、pandas),依赖安装指令清晰
  • 覆盖主要异常场景(限频备选路径、symbol 前缀处理、日期格式转换)
  • 脚本分工明确,逻辑闭环,具备较强鲁棒性
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 20

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.