搜索并提取fxbaogao.com上的研报,支持按关键词、机构、作者和时间筛选,并提供报告摘要和正文阅读。
研报搜索 Skill是一项面向实际任务的技能,主要用于这个 skill 面向 Claude Code 和 OpenClaw,默认使用本 skill 自带脚本;运行脚本时,脚本路径要相对当前 SKILL.md 所在目录解析,不要假设当前工作目录正好在 skill 目录内;
它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。从功能定位来看,该技能强调把分散的操作要求整理成清晰、可复用的处理流程,使用户能够围绕既定目标快速准备输入、选择执行方式并获得结构化结果。实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;
若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
这个 skill 面向 Claude Code 和 OpenClaw,默认使用本 skill 自带脚本。
运行脚本时,脚本路径要相对当前 SKILL.md 所在目录解析,不要假设当前工作目录正好在 skill 目录内。
优先运行:
python3 scripts/search_reports.py "人工智能" --json
常见参数:
--author 张三,可重复传多次--org 中信证券,可重复传多次--time last7day|last1mon|last3mon|last1year--start-date 2025-01-01 --end-date 2025-03-31--size 10不要把相对时间自行换算后塞进 end_time;脚本会按 fxbaogao_mcp 的方式把 last1mon 这类值原样传给接口。
当用户指定序号或 doc_id 后,运行:
python3 scripts/get_report_content.py 5288801 --json
scripts/search_reports.py ... --json。doc_id、机构、日期和链接。scripts/get_report_content.py DOC_ID --json。summary_sections,再按需引用 content 中的正文段落。search_reports.py --json 返回:
totalreports[]report 含 doc_id、title、org_name、authors、publish_datereport_url、detail_urlsnippetsget_report_content.py --json 返回:
doc_id、title、org_name、authors、publish_datereport_url、detail_urlsummary_sectionssummarycontentraw_contentsummary_sections,不要直接整段倾倒长正文https://www.fxbaogao.com/view?id=DOC_ID,不要返回 public.fxbaogao.com 直链api.fxbaogao.com 和 www.fxbaogao.comFXBAOGAO_SSL_NO_VERIFY=1 重试,但不要默认关闭 SSL 校验python3 scripts/search_reports.py "人工智能" --time last1mon --json python3 scripts/search_reports.py "半导体" --org "中信证券" --org "华泰证券" --size 20 --json python3 scripts/search_reports.py "新能源" --start-date 2025-01-01 --end-date 2025-03-31 --json python3 scripts/get_report_content.py 5288801 --json
更多示例见 examples/sample.md。
相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134万人学习
共49课时 | 82.5万人学习