GitLab Commit Report
name: gitlab-commit-report
by bondli · published 2026-04-01
$ claw add gh:bondli/bondli-gitlab-commit-report---
name: gitlab-commit-report
description: GitLab group push events collector and daily commit report generator
---
# GitLab Commit Report
从 GitLab Group 的 activity 接口采集代码提交数据,支持分页拉取当天全量数据,并按需生成任意日期的提交日报。
What this skill does
This skill will:
1. Connect to an existing Chrome browser session (with GitLab logged in)
2. Call GitLab Group Activity API with pagination (`/groups/:groupId/-/activity?limit=20&offset=N`)
3. Parse HTML response to extract push events: author, repository, commit id, commit message, timestamp
4. Stop paginating when events older than today are encountered
5. Merge new events into `~/openclaw-skill-data/gitlab-commit-report/YYYY-MM-DD.json` with commit id deduplication
6. On demand: aggregate statistics for any date and generate a Markdown report
Usage
When the user asks something like:
Run:
# 采集今天的 push events(配合 cron 每小时执行)
node dist/index.js collect
# 生成今日日报
node dist/index.js report
# 生成指定日期日报
node dist/index.js report 2026-03-18Output
The skill will generate:
~/openclaw-skill-data/gitlab-commit-report/YYYY-MM-DD.json # 当天所有 push 事件原始数据(增量去重追加)
~/openclaw-skill-data/gitlab-commit-report/YYYY-MM-DD.md # 指定日期提交日报Configuration
Copy `config.example.json` to `~/openclaw-skill-data/gitlab-commit-report/config.json` and fill in:
{
"gitlabUrl": "https://git.corp.kuaishou.com",
"groupId": "your-group-path",
"groupName": "我的团队"
}Report Content
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...