← 返回 Skills 市场
tyqqj0

Cotrace

作者 郭凯文(Kaiwen Guo) · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
25
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cotrace
功能描述
工作轨迹采集:通过 Pieces + Cotrace 自动采集用户日常工作活动,获取个人上下文。 Triggers: cotrace, pieces, 工作记录, 最近做了什么, 今天做了什么, trace, 采集, 轨迹. NOT for: 任务管理(use auwomo-task), 消息发送(use auw...
使用说明 (SKILL.md)

cotrace

基于 Pieces OS + Cotrace 的工作轨迹自动采集能力。用于获取用户的实际工作活动数据。

注意:工具返回的时间戳为 UTC 格式(以 Z 结尾)。展示给用户时需转换为本地时区。如果用户使用中文,可假定为北京时间(UTC+8)。

触发条件

  • 用户说"帮我看看最近做了什么"
  • 用户说"查一下我今天的工作记录"
  • 需要获取用户实际工作活动数据时

排除场景

  • 任务创建/更新/汇报 → 转到 auwomo-task
  • 发消息 → 转到 auwomo-message
  • Cotrace 未安装或不可用 → 引导安装(见 references/install.md)

健康检查

执行以下命令确认 Cotrace 服务可用:

ftc health cotrace

如果输出不包含 "ok":true,参考 install.md 排查。

工作流程

  1. 查询摘要:用 get_workstream_summaries 按时间范围搜索工作记录
  2. 获取详情:用 get_workstream_summaries_details 根据返回的 ID 获取完整内容(含 AI 标注)

命令速查表

1. 查询工作摘要

echo '{"tool":"get_workstream_summaries","args":{"created":{"from":"\x3CISO_START>","to":"\x3CISO_END>"}}}' | ftc call cotrace

created.fromcreated.to 均为可选(ISO 8601 格式),按需使用。

2. 获取详细内容

echo '{"tool":"get_workstream_summaries_details","args":{"identifiers":["\x3CUUID_1>","\x3CUUID_2>"]}}' | ftc call cotrace

示例

用户问:"我今天做了什么?"

# 1. 查询今天的记录
echo '{"tool":"get_workstream_summaries","args":{"created":{"from":"2026-05-13T00:00:00Z","to":"2026-05-13T23:59:59Z"}}}' | ftc call cotrace

# 2. 获取详细内容
echo '{"tool":"get_workstream_summaries_details","args":{"identifiers":["\x3C返回的ID>"]}}' | ftc call cotrace

参考文档路由

场景 文档
首次安装配置 install.md
健康检查失败 / 服务不可用 install.md
安全使用建议
Install only if you intentionally want ongoing work-activity tracking. Before authorizing, verify the FTC CLI source, the Autolab/Cotrace service privacy terms, what data is sent off-device, how long records are kept, and how to revoke access or delete collected data. Use narrow time ranges and avoid broad detail retrieval unless needed.
能力标签
crypto
能力评估
Purpose & Capability
The skill purpose is coherent and disclosed: it queries Cotrace/Pieces workstream activity so the user can ask what they recently did. This is inherently sensitive because it covers daily work activity and personal context.
Instruction Scope
The workflow allows optional or empty time filters and detailed retrieval of workstream records, including a validation command with an empty created filter. The artifacts do not clearly require per-query confirmation, minimum necessary time ranges, or limits on fetching detailed records.
Install Mechanism
Although the registry has no install spec, the referenced setup document tells the agent to automatically run a global npm install using @latest and configure remote FTC bridge endpoints. This is unpinned external code and persistent configuration outside the reviewed artifact set.
Credentials
The setup asks the user to configure Pieces/Cotrace desktop collection permissions and then routes FTC calls through remote Autolab service endpoints. For personal work tracking, the artifacts do not describe privacy boundaries, retention, exclusions, or which data leaves the local machine.
Persistence & Privilege
The skill depends on ongoing Pieces/Cotrace activity accumulation, FTC resource aliases, and browser login authorization, but does not document how to disable collection, revoke access, remove aliases, or delete collected context.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cotrace
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cotrace 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
工作轨迹采集技能
元数据
Slug cotrace
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Cotrace 是什么?

工作轨迹采集:通过 Pieces + Cotrace 自动采集用户日常工作活动,获取个人上下文。 Triggers: cotrace, pieces, 工作记录, 最近做了什么, 今天做了什么, trace, 采集, 轨迹. NOT for: 任务管理(use auwomo-task), 消息发送(use auw... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 25 次。

如何安装 Cotrace?

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

Cotrace 是免费的吗?

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

Cotrace 支持哪些平台?

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

谁开发了 Cotrace?

由 郭凯文(Kaiwen Guo)(@tyqqj0)开发并维护,当前版本 v1.1.0。

💬 留言讨论