codex-wrapped
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCodex Wrapped
Codex Wrapped
Use this skill whenever the user wants a Codex Wrapped report or usage insights. Render text-only output (no image generation).
The report must be year-agnostic and should highlight last 30 days and last 7 days, while still calling out all-time focus hours.
当用户需要Codex Wrapped报告或使用洞察时,使用此skill。仅输出文本内容(不生成图片)。
报告无需限定年份,需重点展示过去30天和过去7天的数据,同时仍需突出显示全时段专注时长。
Quick Commands (run in order)
快速命令(按顺序执行)
- Compute stats
bash
python3 .codex/skills/codex-wrapped/scripts/get_codex_stats.py \
--output /tmp/wrapped_stats.json(Defaults to the system timezone; override only if the user requests it.)
--timezone- Render text report
bash
.codex/skills/codex-wrapped/scripts/report.sh \
--stats-file /tmp/wrapped_stats.jsonThis prints the report directly to stdout.
- 计算统计数据
bash
python3 .codex/skills/codex-wrapped/scripts/get_codex_stats.py \
--output /tmp/wrapped_stats.json(默认使用系统时区;仅当用户要求时才覆盖参数。)
--timezone- 生成文本报告
bash
.codex/skills/codex-wrapped/scripts/report.sh \
--stats-file /tmp/wrapped_stats.json此命令会直接将报告打印到标准输出(stdout)。
Files
文件说明
- -- computes rolling-window stats to
scripts/get_codex_stats.py./tmp/wrapped_stats.json - -- text report renderer.
scripts/report.sh
- —— 计算滚动窗口统计数据并保存到
scripts/get_codex_stats.py。/tmp/wrapped_stats.json - —— 文本报告渲染脚本。
scripts/report.sh
Responding to the user
回复用户的方式
- Paste the report text exactly as printed, wrapped in triple backticks (```), to preserve spacing/box drawing.
- If something fails, state what you ran and the error.
- 直接粘贴打印出的报告文本,并用三个反引号(```)包裹,以保留格式/框线绘制效果。
- 如果执行失败,说明你运行的命令以及出现的错误。
Notes
注意事项
- Keep unless sensitive; rerun stats if outdated.
/tmp/wrapped_stats.json - The report adapts to terminal width. Set (or similar) to force a wider layout.
WRAPPED_WIDTH=120 - Layout options: default is (two-column). Use
columns(or--layout table) to switch back to the compact grid.WRAPPED_LAYOUT=table
- 保留文件(除非包含敏感信息);如果数据过时,重新运行统计命令。
/tmp/wrapped_stats.json - 报告会适配终端宽度。设置(或类似值)可强制使用更宽的布局。
WRAPPED_WIDTH=120 - 布局选项:默认是(双列)布局。使用
columns(或设置--layout table)可切换回紧凑网格布局。WRAPPED_LAYOUT=table