Xpersona
G

Git Monitor

CLAWHUB · Unverified

通用 Git 项目监控工具。支持 GitHub、GitLab、Gitee 等所有 Git 平台。可以添加、删除、检查任意 Git 仓库的更新,自动拉取代码并生成变更摘要。当用户询问"监控项目"、"检查更新"、"添加仓库"、"代码有什么变化"、"拉取最新代码"、"仓库更新通知"、"自动同步代码"、"追踪项目变更"时... Skill: Git Monitor Owner: gushenjie Summary: 通用 Git 项目监控工具。支持 GitHub、GitLab、Gitee 等所有 Git 平台。可以添加、删除、检查任意 Git 仓库的更新,自动拉取代码并生成变更摘要。当用户询问"监控项目"、"检查更新"、"添加仓库"、"代码有什么变化"、"拉取最新代码"、"仓库更新通知"、"自动同步代码"、"追踪项目变更"时... Tags: latest:1.1.1 Version history: v1.1.1 | 2026-04-04T13:07:39.849Z | user 修复跨平台兼容性:Windows 支持(os.homedir 替代 process.env.HOME,纯 Node.js git 命令替代 bash 脚本) v1.1.0 | 2026-04-04T12:33:39.968Z | user 安全修复:移除凭证,添加.claw

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1784kbr58j090nb51pywz58q1847kkc:git-monitor
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-gushenjie-git-monitor/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

28,140 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: git-monitor
description: 通用 Git 项目监控工具。支持 GitHub、GitLab、Gitee 等所有 Git 平台。可以添加、删除、检查任意 Git 仓库的更新,自动拉取代码并生成变更摘要。当用户询问"监控项目"、"检查更新"、"添加仓库"、"代码有什么变化"、"拉取最新代码"、"仓库更新通知"、"自动同步代码"、"追踪项目变更"时使用此技能。即使用户没有明确说"监控",只要涉及跟踪代码仓库的变化、获取更新通知、或需要定期检查项目状态,都应该使用此技能。
trigger:
  - 监控项目
  - 监控仓库
  - 检查更新
  - 添加仓库
  - 删除监控
  - 仓库列表
  - GitHub
  - GitLab
  - Gitee
  - 代码变化
  - 拉取代码
  - 同步代码
---

# Git 项目监控技能

自动监控 Git 项目更新(支持 GitHub、GitLab、Gitee 等所有 Git 平台),拉取最新代码并生成变更摘要。

## 🚀 快速开始(只需3步)

### 第1步:安装技能
```bash
clawhub install git-monitor
```

### 第2步:告诉我你要监控什么
直接在对话中说:
> "监控 GitHub 项目 anthropics/skills"

> "监控 https://gitee.com/mindspore/mindspore"

### 第3步:开启自动推送(可选)
说:"设置定时检查,每6小时一次"

然后就完事了!有代码更新会自动推送到你的飞书/当前聊天窗口。

---

## 📖 完整使用指南

### 添加监控仓库
```
监控 GitHub 项目 anthropics/skills
监控 https://github.com/openai/openai-python
监控 GitLab 项目 gitlab-org/gitlab
监控 Gitee 项目 openharmony/docs
```

### 查看监控列表
```
查看监控列表
列出所有监控的仓库
```

### 手动检查更新
```
检查所有更新
检查 anthropics/skills 的更新
```

### 删除监控
```
删除监控 anthropics/skills
```

### 开启/修改定时检查
```
设置定时检查,每1小时一次
关闭定时检查
```

---

## ⚙️ 飞书通知配置(0配置,开箱即用)

### ✅ 推荐:OpenClaw 主配置(无需任何操作)
如果你的 OpenClaw 已经配置了飞书机器人,**自动读取,无需任何操作**。

技能会级联读取飞书凭证,优先级:
1. 环境变量 `FEISHU_APP_ID` / `FEISHU_APP_SECRET` / `FEISHU_CHAT_ID`
2. OpenClaw 主配置 `~/.openclaw/openclaw.json` 中的飞书配置
3. 以上都没有 → 跳过飞书推送(不影响 Git 监控功能)

### 可选:使用自己的飞书机器人
```bash
# 环境变量方式
export FEISHU_APP_ID="cli_xxx"
export FEISHU_APP_SECRET="xxx"
export FEISHU_CHAT_ID="ou_xxx"
```

或在 OpenClaw 配置中添加:
```json
"feishu": {
  "appId": "cli_xxx",
  "appSecret": "xxx",
  "chatId": "ou_xxx"
}
```

### 获取飞书配置
1. 访问 https://open.feishu.cn/ 创建企业自建应用
2. 获取 App ID 和 App Secret
3. 开启权限:`im:chat:read:chat_id` 和 `im:message:send_as_bot`
4. 将应用添加到群聊,获取群聊 ID

---

## 💻 命令行用法

```bash
cd ~/.openclaw/workspace/skills/git-monitor

# 添加仓库
node helper.js add https://github.com/owner/repo

# 查看列表
node helper.js list

# 检查更新
node helper.js check

# 删除仓库
node helper.js remove owner/repo
```

README.md

# Git 项目监控技能

自动监控 Git 项目更新(支持 GitHub、GitLab、Gitee 等所有 Git 平台),拉取最新代码并生成变更摘要。

## ⚡ 1分钟快速开始

```bash
# 1. 安装
clawhub install git-monitor

# 2. 告诉我监控什么
# 直接说:监控 GitHub 项目 anthropics/skills

# 3. 开启自动推送(可选)
# 直接说:设置定时检查,每6小时一次
```

然后就完事了!🎉

---

## 📖 完整功能

### 添加监控
```
监控 GitHub 项目 anthropics/skills
监控 https://gitee.com/mindspore/mindspore
监控 GitLab 项目 gitlab-org/gitlab
```

### 查看列表
```
查看监控列表
```

### 手动检查
```
检查所有更新
```

### 删除监控
```
删除监控 anthropics/skills
```

### 定时任务
```
设置定时检查,每1小时/6小时/1天一次
关闭定时检查
```

---

## ⚙️ 飞书通知

- **在 OpenClaw 中使用** → 自动推送,无需配置 ✅
- **其他情况** → 配置环境变量即可:
  ```bash
  export FEISHU_APP_ID="xxx"
  export FEISHU_APP_SECRET="xxx"
  export FEISHU_CHAT_ID="xxx"
  ```

获取飞书配置:https://open.feishu.cn/

_meta.json

{
  "ownerId": "kn74n8kyz3cp46gq4w3480erh182r1ya",
  "slug": "git-monitor",
  "version": "1.1.1",
  "publishedAt": 1775308059849
}

skill-card.md

## Description:

Git Monitor helps agents add, list, check, and remove monitored Git repositories, pull updates, and summarize changes across GitHub, GitLab, Gitee, and other Git platforms.

This skill is ready for commercial/non-commercial use.

## Publisher:

[gushenjie](https://clawhub.ai/user/gushenjie)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineering teams use this skill to track updates across Git repositories, synchronize local copies, and receive concise change summaries or Feishu notifications.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Unsafe Git command execution can expose users to command-injection or unintended command behavior when repository inputs are not trusted.

Mitigation: Use only trusted repository URLs and review command proposals before execution; publisher should replace shell-string Git commands with argument-safe process calls.

Risk: Repository checks can overwrite local work when hard resets are used during synchronization.

Mitigation: Avoid monitoring repositories that contain uncommitted local work, and require explicit confirmation before destructive Git operations.

Risk: Feishu notifications can disclose commit and changed-file metadata to an external chat service.

Mitigation: Enable notifications only for repositories whose metadata may be shared with that chat, and require explicit consent before credential lookup or outbound messages.

Risk: Bundled configuration includes example monitored repositories and local paths.

Mitigation: Start releases from an empty configuration and let users add repositories intentionally after installation.

## Reference(s):

- [ClawHub Git Monitor Skill Page](https://clawhub.ai/gushenjie/skills/git-monitor)
- [Feishu Open Platform](https://open.feishu.cn/)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown and plain text with inline shell commands and configuration snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include repository status, commit summaries, changed-file statistics, local path details, and notification setup guidance.]

## Skill Version(s):

1.1.1 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

config.json

{
  "repositories": [
    {
      "url": "https://github.com/openclaw/openclaw.git",
      "name": "openclaw-openclaw",
      "platform": "github",
      "owner": "openclaw",
      "repo": "openclaw",
      "localPath": "C:\\Users\\79112\\.openclaw\\workspace\\repos\\openclaw-openclaw",
      "branch": "main",
      "lastChecked": "2026-04-04T12:50:44.769Z",
      "lastCommit": "ae16452a69855245c3feac6db168952064ec80c5",
      "addedAt": "2026-04-04T12:47:03.211Z"
    },
    {
      "url": "https://github.com/anthropics/skills.git",
      "name": "anthropics-skills",
      "platform": "github",
      "owner": "anthropics",
      "repo": "skills",
      "localPath": "C:\\Users\\79112\\.openclaw\\workspace\\repos\\anthropics-skills",
      "branch": "main",
      "lastChecked": "2026-04-04T12:50:48.365Z",
      "lastCommit": "98669c11ca63e9c81c11501e1437e5c47b556621",
      "addedAt": "2026-04-04T12:47:08.164Z"
    }
  ],
  "checkInterval": "6h",
  "notifyChannel": "feishu",
  "maxCommitsToShow": 10,
  "includeDiffSummary": true
}

Sponsored

Ads related to Git Monitor and adjacent AI workflows.