← 返回 Skills 市场
patrick-erichsen-2

Chronicle

作者 Patrick Erichsen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
46
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install chronicle
功能描述
Allows you to view the user's screen as well as several hours of history. Use when the user makes a reference to their recent work, for which it'd be helpful...
使用说明 (SKILL.md)

Chronicle

This skill allows you to view the user's screen. This skill is enabled because the user has enabled the Codex screen recording (Chronicle) feature, which records a rolling buffer of the past several hours of work to $TMPDIR/chronicle/screen_recording.

Preconditions

  1. Only use this skill if memories are available in this rollout. This will manifest as an explicit mention of a ## Memories section in a Developer Message. If this section is not present, do not use this skill. If the user specifically tried to invoke this skill, you can mention it's disallowed because memories are disabled; otherwise, do not mention the existence of this skill (this skill is only supposed to be used when memories are enabled in Codex).
  2. Ensure Chronicle is running on the user's computer. You can check this by checking the pidfile at $TMPDIR/codex_chronicle/chronicle-started.pid is valid (i.e., exists and process is running). If the pidfile is invalid, do not use this skill. This applies EVEN IF there are seemingly-fresh videos in the screen_recording folder; the user may have just recently disabled Chronicle. Regardless, the takeaway is that recordings cannot be fresh when Chronicle isn't running; therefore, you shouldn't treat the videos as fresh. (Note: when communicating Chronicle status to the user, don't mention the pidfile. That's an implementation detail.)

Ensure you follow preconditions before using the skill.

File structure

Chronicle has two primary outputs: screen recordings and memories.

# Raw screen recordings (ephemeral; not persisted)
$TMPDIR/chronicle/screen_recording/
 ├── \x3Csegment_timestamp>-display-\x3Cdisplay_id>-latest.jpg - latest frame for this segment (started at \x3Csegment_timestamp>) + display, overwritten on every captured frame
 ├── \x3Csegment_timestamp>-display-\x3Cdisplay_id>.capture - ephemeral capture segment marker
 ├── \x3Csegment_timestamp>-display-\x3Cdisplay_id>.capture.json - metadata for this segment; contains segment timestamp and display ID but no app information
 ├── \x3Csegment_timestamp>-display-\x3Cdisplay_id>.ocr.jsonl - append-only OCR history for the segment (created using Apple Vision OCR), one JSON object per material text change
 └── 1min/
     └── \x3Csegment_timestamp>-display-\x3Cdisplay_id>/
         └── frame-\x3Cframe_index>-\x3Cminute_bucket>Z.jpg - historical privacy-filtered frames from segment start to end

# Memories (persisted indefinitely; referenced in Codex Memories; see original implementation at https://github.com/openai/codex for more info)
~/.codex/memories_extensions/chronicle/
  ├── instructions.md - instructions for how to use the Chronicle memories
  └── resources/
    ├── \x3Cutc_timestamp>-\x3C4_alpha_chars>-10min-\x3Cslug_description>.md - markdown summary of the last 10 minutes of screen recordings, updated every minute
    └── \x3Cutc_timestamp>-\x3C4_alpha_chars>-6h-\x3Cslug_description>.md - markdown summary of the last 6 hours of screen recordings, updated every hour

Usage

The most common workflow is to read the latest frame of the screen recording for a given display, which represents the user's most recent work.

  • Copy it to a temp file when you want to do file operations on it, because otherwise the file will be silently updated by the screen recording service.
  • When you need recent screen history instead of only the latest frame, search the OCR sidecars first. Use rg over *.ocr.jsonl to find relevant terms or timestamps, then inspect the matching sparse frames in screen_recording/1min/ for visual confirmation.
  • Historical frames are stored as individual files. Manipulate them as necessary to look at multiple frames to contextualize what the user was working on.
  • The recorder can capture multiple displays at once. If the user asks what was happening recently, inspect current files for all active display IDs and combine evidence by timestamp.
  • Screen recordings may not always be up-to-date. You must use the date command to get the current UTC timestamp and compare it against the recording files you're inspecting to understand if the recordings are fresh or stale (e.g. from a previous recording session).
  • You should ONLY use the OCR for greps to find relevant terms or timestamps, not for any other purpose (e.g. extracting document IDs to send to connectors). This is because the OCR is very noisy and not very accurate. Instead, extract text from the image yourself when you need to do something with the text.
  • Screen data should be used to get context on the user's work, but you must upgrade to other data sources (such as your app-specific skills, connectors, or the file system) as soon as you've gotten the minimum necessary context from the screen data to do so. This is because your multimodal understanding is not that good, so you should avoid relying on it for complex tasks.
    • For example, if the user asks you to "review the doc I have open", you should view the context, see that e.g. it's a Google Doc with a doc ID, extract the doc ID, and then use the Google Doc connector to review the doc. You must not try to OCR the entire document from the screenshot (also because the user's screen may not show the entire content of the document).
安全使用建议
Install only if you are comfortable with an agent inspecting your current screen, recent screen history, OCR-derived screen text, and persisted Chronicle summaries. Before using it, consider narrowing the instructions so it runs only when you explicitly ask for screen context or refer to visible/recent work, and require confirmation before reviewing historical recordings or memories.
能力评估
Purpose & Capability
The capability to view the screen, recent screen history, OCR sidecars, and Chronicle memory summaries matches the stated Chronicle purpose, and the artifact discloses those data sources.
Instruction Scope
The frontmatter says the skill MUST be used whenever ambiguity needs resolving, which is broader than explicit screen-related requests and can trigger access to sensitive screen history without clear per-use confirmation.
Install Mechanism
The artifact contains a single SKILL.md file with no executable scripts, dependencies, install hooks, or package-install behavior.
Credentials
Reading several hours of screen recordings, OCR history, and persisted Chronicle summaries is high-privacy access; it is purpose-aligned, but the trigger scope is too broad for that level of data exposure.
Persistence & Privilege
The skill itself does not create persistence or seek privileges, but it instructs agents to use Chronicle memories stored indefinitely under ~/.codex/memories_extensions/chronicle/.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install chronicle
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /chronicle 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the Chronicle skill. - Enables viewing the user's current screen and several hours of screen history. - Use this skill to disambiguate requests where the user's context is unclear, or when the user references their recent work. - Requires that both Codex memories and Chronicle are enabled and running. - Provides detailed instructions for safely accessing and using screen recordings and related history files. - Establishes best practices for extracting context and upgrading to app-specific data sources when available.
元数据
Slug chronicle
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Chronicle 是什么?

Allows you to view the user's screen as well as several hours of history. Use when the user makes a reference to their recent work, for which it'd be helpful... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 46 次。

如何安装 Chronicle?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install chronicle」即可一键安装,无需额外配置。

Chronicle 是免费的吗?

是的,Chronicle 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Chronicle 支持哪些平台?

Chronicle 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Chronicle?

由 Patrick Erichsen(@patrick-erichsen-2)开发并维护,当前版本 v1.0.0。

💬 留言讨论