aidentity / index

OpenSenseNova/SenseNova-Skills · MIT

sn-search-year-report

用于搜索免费官方年报、年度报告、定期报告、上市公司披露文件、债券发行人报告和海外公司年度账目。

stable

Contents

Search Year Report

凭证配置

API key、token 与 cookie 统一建议写在仓库根目录 .env(参考 .env.example),并由 runtime 或用户在执行前加载为同名环境变量。脚本仍只从环境变量或显式 CLI 参数读取凭证;不要把真实密钥写入 skill payload、报告、日志或提交。

只使用免费、官方、可正常访问的年报/年度账目/定期报告来源。遇到商业库、订阅、试用额度、付费下载、登录墙、验证码、防护页、不可访问页面,立即丢弃,不要绕过限制。

输出时保留公司/证券代码、报告期、文件标题、披露日期、PDF 或详情页 URL、来源名称。

工作流

  1. 先判断主体类型:A 股/港股/美股/英企/日本上市公司/发债主体/加拿大/新加坡/澳洲。
  2. scripts/year_report_api.py 和 browser-use 可混合使用:脚本适合结构化查询,网页适合站内筛选、页面确认、下载公开 PDF。
  3. 没有脚本覆盖或需要交互筛选的来源,用 browser-use 打开下表网页,通过站内搜索、筛选公告类别、定位 PDF 或详情页。
  4. 只接受官方披露源;公司官网 IR 可作补充,但不能替代官方源。
  5. 中国普通非上市企业通常没有公开完整财务年报;工商年报不是审计财报,且本技能已丢弃不可稳定访问的工商公示系统。

API 脚本

脚本位置:scripts/year_report_api.py。只依赖 Python 标准库。

python scripts/year_report_api.py cninfo "平安银行" --year 2023 --page-size 5
python scripts/year_report_api.py sec-company apple --limit 5
python scripts/year_report_api.py sec-filings --ticker AAPL --limit 5
python scripts/year_report_api.py download "https://static.cninfo.com.cn/finalpage/2024-03-15/1219306493.PDF" --output report.pdf

命令免费性用途
cninfo免费、免 key巨潮资讯 A 股公告,默认查年度报告 PDF
sec-company / sec-filings免费、免 keySEC EDGAR 公司 CIK、10-K/20-F/40-F 年报文件
download免费公开 URL下载脚本返回的公开 PDF

cninfo --year 表示报告期年份;脚本会自动查下一年的披露窗口。若要按披露日期精确过滤,改用 --date-range。

脚本只保留免 key 接口;任何需要 API key、token、注册登录或订阅的接口都不要加入脚本。

Browser-use 资源

以下来源作为免费官方网页入口;按任务需要与 API 脚本混合使用。

范围资源URL使用要点
A 股全市场巨潮资讯https://www.cninfo.com.cn/new/index?lang=zh搜索公司名/证券代码,筛“年度报告”
沪市上市公司上交所定期报告https://www.sse.com.cn/disclosure/listedinfo/regular/按证券代码、年份、定期报告筛选
深市上市公司深交所上市公司公告https://www.szse.cn/www/disclosure/notice/company/按公司、公告类型、时间筛选
北交所上市公司北交所信息披露https://www.bse.cn/disclosure/announcement.html搜索年度报告/定期报告
港股HKEXnews Predefined Documentshttps://www1.hkexnews.hk/search/predefineddoc.xhtml选 Annual Report / Environmental, Social and Governance Information
中国债券发行人中国货币网债券信息披露https://www.chinamoney.org.cn/chinese/zqfx/搜索发行人年报、审计报告、跟踪评级
中国债券发行人上海清算所https://www.shclearing.com.cn/搜索发行人年度报告/审计报告
中国债券发行人上交所债券信息披露https://bond.sse.com.cn/disclosure/搜索债券发行人年度报告
英国公司账目Companies House 网页https://find-and-update.company-information.service.gov.uk/无 API key 时查 filing history / accounts
加拿大上市公司SEDAR+ Documents Searchhttps://www.sedarplus.ca/csa-party/service/create.html?_locale=en&service=searchDocuments&targetAppCode=csa-party选择 Documents,按 issuer/profile 和 annual filings 搜索
新加坡上市公司SGX Company Announcementshttps://www.sgx.com/securities/company-announcements搜索 Annual Report 或公司代码
澳洲上市公司ASX Announcementshttps://www.asx.com.au/markets/trade-our-cash-market/announcements按 ASX code 和 announcement type 搜索

已丢弃

资源原因
国家企业信用信息公示系统 https://www.gsxt.gov.cn/与工商年报相关,但访问被阻断,不作为稳定免费源
市场监管总局说明页只是政策说明,不是年报搜索入口
Companies House API、EDINET API需要 API key,不写入脚本
任何商业数据库或付费 API不符合免费官方源要求

输出规范

能定位到 PDF 时给 PDF;没有 PDF 时给官方详情页。说明报告类型差异:工商年报、上市公司年度报告、SEC 10-K/20-F/40-F、Companies House accounts、债券发行人年度报告不是同一披露口径。

Provenance

Authored by OpenSenseNova in OpenSenseNova/SenseNova-Skills. The content is mirrored here under its upstream license.

Related

lead-magnets When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation. Also use when the user mentions "lead magnet," "gated content," "content upgrade," "downloadable," "ebook," "cheat sheet," "checklist," "template download," "opt-in," "freebie," "PDF download," "resource library," "content offer," "email capture content," "Notion template," "spreadsheet template," "what should I give away for emails," "course as a skill," or "package our content as an agent skill." Use this for planning what to create and how to distribute it. For interactive tools as lead magnets, see free-tools. For writing the actual content, see copywriting. For the email sequence after capture, see emails. coreyhaines31/marketingskills MIT wizard Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself. mattpocock/skills MIT sn-da-excel-workflow Excel 数据分析多步编排器。覆盖:(1) 读取多 Sheet Excel 文件并统计行数,(2) 大文件检测(≥10k 行自动 Parquet 优化),(3) 数据清洗(缺失值、文本标准化、无效字符),(4) 条件筛选与分类提取,(5) 跨 Sheet 统计聚合,(6) 导出 Excel/CSV 并提供下载链接。覆盖从数据读取到报告生成全流程,按步骤编排 capability 子 skill。**遇到以下任一情况就主动使用本 skill,不要自行写几行 pandas 就回答**:①用户出现触发词:Excel 分析 / 表格分析 / 数据分析 / 数据清洗 / 数据统计 / 数据筛选 / 数据可视化 / 数据导出 / 汇总统计 / 透视表 / 分组统计 / 交叉分析 / 趋势分析 / 对比分析 / 异常值检测 / 去重 / 缺失值处理 / Excel 报告 / 生成报表 / analyze Excel / data analysis / data cleaning / pivot table;②用户上传或指定了 .xlsx / .xls / .csv 文件并要求分析、清洗、统计或可视化;③任务涉及多 Sheet 读取、条件筛选、分类汇总、图表生成中的任意一项;④用户要求导出带格式的 Excel 报告或下载链接。仅不用于:不涉及表格数据的纯文本处理、图片分析(使用 sn-da-image-caption)、单个公式计算的简单问答。 OpenSenseNova/SenseNova-Skills MIT large-file-parquet-analysis-and-highlight 当Excel文件总行数超过1万行时,通过转换为Parquet格式提升读取性能,提取目标指标并计算最大值,最后将结果输出为Excel并对特定行进行高亮标注。 OpenSenseNova/SenseNova-Skills MIT excel-conditional-comparison-and-large-file-processing 对比Excel多表中的特定系数并对异常值进行颜色标记。 OpenSenseNova/SenseNova-Skills MIT