com um clique
history-reader
读取当前 Session 的完整历史对话,支持分页,用于在历史被截断时查阅早期记录
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
读取当前 Session 的完整历史对话,支持分页,用于在历史被截断时查阅早期记录
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
生成 A 股 + 港股每日投资早报。覆盖主要指数行情、用户持仓换手率/量价、操作建议三段。触发关键词:早报 / 今日行情 / 投资报告 / 投资早报 / 每日复盘。如果用户只想要港股早报,请改用 hk-investment-morning-report;只要纯格式日报请改用 daily-summary。
定时任务管理:创建、查看、删除定时任务。支持一次性(at)、周期(every)、cron 表达式三种触发模式。写入 data/cron/tasks.json,CronService 自动热重载生效,无需重启进程。
飞书操作:向用户/群组发送消息(文字/富文本/图片/文件)、读取云文档/表格内容、查询群成员、管理日历事件。适合推送通知、发送处理结果文件、读取共享文档、批量发送报告等场景。
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
| name | history_reader |
| description | 读取当前 Session 的完整历史对话,支持分页,用于在历史被截断时查阅早期记录 |
| type | reference |
| version | 2.0 |
读取当前 Session 的历史对话记录,支持分页,返回结构化的消息列表。 当主 Agent 上下文中的历史对话被截断时(通常保留最近 20 条), 可通过此 Skill 查询更早期的内容。
注意:此 Skill 由系统内联处理,无需沙盒执行。 Session 上下文由系统自动管理,调用时只需传递分页参数。
{
"page": 1,
"page_size": 20
}
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
page | int | 否 | 页码,从 1 开始,默认 1(最旧的消息) |
page_size | int | 否 | 每页条数,1-50,默认 20 |
分页规则:page=1 返回最旧的 page_size 条,page 越大越新。 如需最新消息,使用较大 page 或直接从主 Agent 上下文获取。
{
"errcode": 0,
"message": "成功读取第 1 页,共 35 条消息,本页 20 条",
"data": {
"messages": [
{"role": "user", "content": "..."},
{"role": "assistant", "content": "..."}
],
"total": 35,
"page": 1,
"page_size": 20,
"total_pages": 2
}
}
主 Agent 在 task_context 中传入:
{
"page": 1,
"page_size": 20
}
系统直接返回分页结果,主 Agent 可根据 total_pages 决定是否继续翻页。