os-activity

TotalClaw 作者 totalclaw

通过了解您的操作系统活动来个性化您的 openclaw。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~xiaobao520123-os-activity
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~xiaobao520123-os-activity/file -o xiaobao520123-os-activity.md
## 概述(中文)

通过了解您的操作系统活动来个性化您的 openclaw。

## 原文

# OS Activity - Personalize your OpenClaw by learning how you use your computer.
By leveraging `osquery` tool, add additional information telling OpenClaw about your activity on the computer, such as recent edited files, program running, etc. OpenClaw can then use this information to provide more personalized and relevant suggestions.

# Installation
If you have not installed `osquery`, please run the following command to install it:
```bash
python ~/.openclaw/workspace/skills/os-activity/scripts/install_osquery.py
```

# Quick Usage
Find recently edited files:
```bash
python ~/.openclaw/workspace/skills/os-activity/scripts/recent_files.py
```

# Example Output
```markdown
Filename|Path|Last Edited Time
memory|C:\Users\steve\.openclaw\workspace\memory|2026-02-22 17:30:43
os-activity|C:\Users\steve\.openclaw\workspace\os-activity|2026-02-22 17:29:10
openclaw.json|C:\Users\steve\.openclaw\openclaw.json|2026-02-22 17:10:05
```

# More commands
## 1. Find recently edited files
### macOS
```bash
python ~/.openclaw/workspace/skills/os-activity/scripts/recent_files.py
```
### Windows
```powershell
python $Env:USERPROFILE\.openclaw\workspace\skills\os-activity\scripts\recent_files.py
```
### Linux
* Not supported
## 2. Find recently accessed directories
### macOS
* Not supported
### Windows
```powershell
python $Env:USERPROFILE\.openclaw\workspace\skills\os-activity\scripts\recent_dirs.py
```
### Linux
* Not supported
## 3. Find installed programs
### macOS
```bash
python ~/.openclaw/workspace/skills/os-activity/scripts/programs.py
```
### Windows
```powershell
python $Env:USERPROFILE\.openclaw\workspace\skills\os-activity\scripts\programs.py
```
### Linux
* Not supported
## 4. Find running programs
### macOS
```bash
python ~/.openclaw/workspace/skills/os-activity/scripts/processes.py
```
### Windows
```powershell
python $Env:USERPROFILE\.openclaw\workspace\skills\os-activity\scripts\processes.py
```
### Linux
```bash
python ~/.openclaw/workspace/skills/os-activity/scripts/processes.py
```