codex-wrapped

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Codex 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)

快速命令(按顺序执行)

  1. Compute stats
bash
python3 .codex/skills/codex-wrapped/scripts/get_codex_stats.py \
  --output /tmp/wrapped_stats.json
(Defaults to the system timezone; override
--timezone
only if the user requests it.)
  1. Render text report
bash
.codex/skills/codex-wrapped/scripts/report.sh \
  --stats-file /tmp/wrapped_stats.json
This prints the report directly to stdout.
  1. 计算统计数据
bash
python3 .codex/skills/codex-wrapped/scripts/get_codex_stats.py \
  --output /tmp/wrapped_stats.json
(默认使用系统时区;仅当用户要求时才覆盖
--timezone
参数。)
  1. 生成文本报告
bash
.codex/skills/codex-wrapped/scripts/report.sh \
  --stats-file /tmp/wrapped_stats.json
此命令会直接将报告打印到标准输出(stdout)。

Files

文件说明

  • scripts/get_codex_stats.py
    -- computes rolling-window stats to
    /tmp/wrapped_stats.json
    .
  • scripts/report.sh
    -- text report renderer.
  • 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
    /tmp/wrapped_stats.json
    unless sensitive; rerun stats if outdated.
  • The report adapts to terminal width. Set
    WRAPPED_WIDTH=120
    (or similar) to force a wider layout.
  • Layout options: default is
    columns
    (two-column). Use
    --layout table
    (or
    WRAPPED_LAYOUT=table
    ) to switch back to the compact grid.
  • 保留
    /tmp/wrapped_stats.json
    文件(除非包含敏感信息);如果数据过时,重新运行统计命令。
  • 报告会适配终端宽度。设置
    WRAPPED_WIDTH=120
    (或类似值)可强制使用更宽的布局。
  • 布局选项:默认是
    columns
    (双列)布局。使用
    --layout table
    (或设置
    WRAPPED_LAYOUT=table
    )可切换回紧凑网格布局。