← 返回 Skills 市场
chefroger

Behavior Tracker

作者 chefroger · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
127
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install behavior-tracker
功能描述
Automatically record and analyze user behavior patterns from conversations
使用说明 (SKILL.md)

behavior-tracker

Automatically record and analyze user behavior patterns

Features

  1. Proactive Recording - Extract key info after each conversation
  2. Periodic Analysis - Daily/weekly auto analyze behavior patterns
  3. Pattern Recognition - Discover interests, active hours, learning habits
  4. Report Generation - Generate visual reports

Trigger Conditions

  • Auto call after each important conversation
  • Cron: Daily 18:00 analysis
  • User request: "analyze my behavior"

Analysis Dimensions

Dimension Description
topic Recently discussed tech/projects
active_hours High-frequency conversation time periods
communication_style Task-based/discussion-based/Q&A
learning_mode Theory-oriented/practice-oriented
project_focus Long-term projects of interest

File Structure

behavior-tracker/
├── SKILL.md              # This file
├── scripts/
│   ├── analyzer.py       # Core analysis logic
│   ├── recorder.py       # Manual conversation recorder
│   └── heartbeat_tracker.py  # Lightweight heartbeat tracker
└── references/
    └── .gitkeep

Usage

# Manual analysis run
python3 scripts/analyzer.py

# Record current conversation
python3 scripts/recorder.py --topic "AI Agent" --project "The Machine"

# Run lightweight tracker (for heartbeat)
python3 scripts/heartbeat_tracker.py

Cron Configuration

# Auto analysis daily at 18:00
0 18 * * * python3 ~/.../behavior-tracker/scripts/analyzer.py

Dependencies

  • Python 3.10+
  • No external dependencies (pure stdlib)
安全使用建议
This skill operates on local conversation memory files and stores aggregated behavior data locally — there are no external network calls or credential requests. Before installing: (1) confirm the workspace path (~/.openclaw/workspace/memory by default) contains only data you want analyzed, (2) be aware it will write behavior-patterns.json, behavior-report.md, and a last-check file into that directory, (3) if you want different storage, set OPENCLAW_DIR or OPENCLAW_WORKSPACE or run the scripts from a controlled location, and (4) if you schedule cron jobs, verify the cron command and environment to avoid accidental exposure. If you need the skill to declare the optional env vars explicitly, request that from the author.
功能分析
Type: OpenClaw Skill Name: behavior-tracker Version: 1.1.0 The behavior-tracker skill is designed to analyze user conversation history stored in the OpenClaw workspace to identify interests, projects, and habits. The scripts (analyzer.py, heartbeat_tracker.py, recorder.py) operate entirely locally, reading from and writing to the designated OpenClaw memory directory (~/.openclaw/workspace/memory) without any evidence of network exfiltration, unauthorized access to sensitive system files, or malicious execution. A minor functional bug exists in scripts/recorder.py (missing 'os' import), but the overall logic is consistent with the stated purpose.
能力评估
Purpose & Capability
Name/description (behavior tracking) align with the code: analyzer/recorder/heartbeat read conversation memory files and update local behavior-patterns.json and reports. All requested resources (local workspace/memory files) are reasonable for this purpose.
Instruction Scope
SKILL.md instructs running analyzer, recorder, and heartbeat scripts and recommends a cron entry. The scripts only read/write files under the OpenClaw workspace memory directory, extract keywords, and generate reports. They do not read unrelated system files or transmit data externally.
Install Mechanism
No install spec; the skill is instruction-only with small Python scripts using only the standard library. Nothing is downloaded or installed by the skill.
Credentials
The skill declares no required env vars or credentials (good). The code does read optional environment variables OPENCLAW_DIR and OPENCLAW_WORKSPACE (with safe defaults) but these were not listed in metadata — this is benign but could be declared explicitly. No secrets, network endpoints, or external credentials are requested.
Persistence & Privilege
always:false and the skill does not request elevated privileges. It writes persistent local files (behavior-patterns.json, behavior-report.md, behavior-last-check.json) into the user's OpenClaw workspace memory directory — expected given its purpose; users should review/clean these files if they contain sensitive content.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install behavior-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /behavior-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Fixed hardcoded paths - now cross-platform. Removed reporter.py reference.
v1.0.2
Added description metadata in frontmatter
v1.0.1
Initial release - translated to English
元数据
Slug behavior-tracker
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Behavior Tracker 是什么?

Automatically record and analyze user behavior patterns from conversations. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 127 次。

如何安装 Behavior Tracker?

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

Behavior Tracker 是免费的吗?

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

Behavior Tracker 支持哪些平台?

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

谁开发了 Behavior Tracker?

由 chefroger(@chefroger)开发并维护,当前版本 v1.1.0。

💬 留言讨论