分析 Copilot 会话历史,生成站会摘要、检索记录并提供使用优化建议。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "chronicle" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/vscode/main/extensions/copilot/assets/prompts/skills/chronicle/SKILL.md 2. 保存为 ~/.claude/skills/chronicle/SKILL.md 3. 装好后重载技能,告诉我可以用了
请根据我今天的 Copilot 会话历史,整理一份站会总结,包含完成事项、进行中事项、遇到的阻碍,以及明天计划。
一份结构清晰的中文站会总结,按进展、阻碍和计划分段列出。
帮我查找与“支付回调”相关的 Copilot 历史会话,优先显示涉及 order_service.py 和相关 PR 的记录,并总结关键结论。
返回相关会话列表、匹配依据,以及提炼后的关键结论摘要。
检查我的 Copilot 会话使用情况,给出提升效率的建议;如果发现检索结果不完整,请说明是否需要重建会话索引以及怎么做。
包含使用模式分析、效率优化建议,以及是否需要重建索引的操作说明。
Analyze the user's Copilot session history using the copilot_sessionStoreSql tool. This skill handles standup reports, usage analysis, session search, and session store maintenance.
Sessions may be stored locally (SQLite) and optionally synced to the cloud for cross-device access. Cloud sync is controlled by the chat.sessionSync.enabled setting.
Prerequisite: Chronicle requires the github.copilot.chat.localIndex.enabled setting to be true. If the copilot_sessionStoreSql tool is not available, tell the user to enable this setting in VS Code Settings.
The copilot_sessionStoreSql tool supports two actions:
| Action | Purpose | query param |
|---|---|---|
query | Execute a read-only SQL query | Required |
reindex | Rebuild local session index + cloud sync | Not needed |
When the user asks for a standup, daily summary, or "what did I do" (e.g. /chronicle standup):
Step 1: Gather the last 24h of activity
Use copilot_sessionStoreSql with action: "query" and follow the SQL dialect shown in the tool description (SQLite locally, DuckDB on cloud — see the Database Schema and Query Guidelines sections below).
Query the sessions table for rows where updated_at falls within the last 24 hours, ordered by updated_at descending. Recent-window predicate by backend:
WHERE updated_at >= datetime('now', '-1 day')WHERE updated_at >= now() - INTERVAL '1 day'Then, for those session ids, pull related references from session_refs (PRs, issues, commits). If you need more detail on a particular session, query turns (and session_files, or checkpoints on cloud) further — don't dump every turn for every session up front.
If no sessions are found in the last 24 hours, tell the user there's no recent activity to report, suggest a longer window or /chronicle reindex, and stop. Do not fabricate a standup.
Step 2: Include PR-less work
Treat every recent session as a candidate work item, even when it has no PR, issue, or commit reference. PRs are supporting evidence, not the source of truth. Do not omit a session or branch solely because it has no PR — use session summaries and turn content to decide what to include.
Step 3: Check PR status and format
For any PR references found, use the GitHub CLI or MCP tools to check current status (open, merged, draft, closed). For each work item, include either a PR status line or a "No PR found" line — never invent a PR.
Format the result grouped by work stream (branch/feature). Use exactly this structure:
Standup for <date>:
**✅ Done**
**Feature name** (`branch-name` branch, `repo-name`)
- 3-7 words describing the status
- Key files: 2-3 most important files changed
- Merged: [#123](https://github.com/owner/repo/pull/123) or No PR found
- Session: `full-session-id`
**🚧 In Progress**
**Feature name** (`branch-name` branch, `repo-name`)
- 3-7 words describing the current state of work
- Key files: 2-3 most important files being worked on
- Draft: [#789](https://github.com/owner/repo/pull/789) or No PR found
- Session: `full-session-id`
Rules:
session_files to identify which components/areas were affectedWhen the user asks for tips, workflow recommendations, or how to improve:
Step 1: Investigate how the user works
…
帮助开发者定位并读取 Code OSS 开发构建日志,快速排查运行与扩展问题。
帮助开发者新增、修改或审查 VS Code 配置策略,并生成平台相关产物。
帮助开发者验证 Azure DevOps 流水线改动,快速排查构建与 YAML 配置问题。
在隔离环境启动 VS Code OSS,便于联动自动化操作与多进程调试。
运行聊天性能基准与内存泄漏检查,定位聊天界面回归和性能问题。
帮助开发者创建和维护组件截图测试夹具,并优化组件的可测试性。
帮助你用 jq 检索并分析历史会话日志,快速定位上下文与问题线索。
分析会议记录与录音,识别沟通习惯并提供可执行改进建议
根据近期提交、PR与工单动态,快速生成清晰的每日站会更新。
帮助团队分析 OpenReplay 会话录屏,发现用户问题并产出可执行洞察。
本地优先的提示词教练,可优化 Claude Code 与 Codex 提示并分析历史习惯。
为大模型交互存储、检索并压缩上下文记忆,提升连续对话效率。