← Back to Skills Marketplace
🔌

GitLab Agent Profile

by xrow GmbH · GitHub ↗ · v1.50.0 · MIT-0
cross-platform ✓ Security Clean
43
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xrowgmbh-gitlab-agent-profile
Description
Maintain the GitLab agent profile page and static contribution performance chart.
README (SKILL.md)

GitLab Agent Profile Skill

Use this skill to keep the GitLab agent profile assets current with monthly contribution performance statistics.

Goal

Maintain static profile assets for the agent with:

  • Static SVG and WebP chart files showing the last 12 months of merged merge requests, owner direct commits to main, and contribution score.
  • Categories for owner-authored work, agent-authored work with owner review/merge, agent-authored work without owner review/merge, and the combined total.
  • A legend and bar labels with the exact counts behind the chart.
  • A JSON proof file with the counted records sorted by date descending.

Daily update routine

Create or keep a daily cron that runs the bundled script:

{baseDir}/scripts/update-profile-stats.py

Recommended cron payload:

Read the gitlab-agent-profile skill, run its `{baseDir}/scripts/update-profile-stats.py` helper, and commit/push the generated image/proof assets if they changed.

Inputs

The script accepts these environment variables:

  • GITLAB_AGENT_PROFILE_CHART_OUTPUT: Static SVG chart file to update. Defaults to assets/gitlab-agent-profile.svg.
  • GITLAB_AGENT_PROFILE_WEBP_OUTPUT: Static WebP chart file to update. Defaults to assets/gitlab-agent-profile.webp.
  • GITLAB_AGENT_PROFILE_RECORDS_OUTPUT: JSON proof file to update. Defaults to assets/gitlab-agent-profile-records.json.
  • GITLAB_AGENT_PROFILE_WORKSPACE: Workspace root used for relative output paths. Defaults to the current directory.
  • GITLAB_AGENT_PROFILE_ROOT_GROUP: Root group used to expand short project names. Defaults to xrow-public.
  • GITLAB_AGENT_PROFILE_PROJECTS: Space, comma, or newline separated project paths or project names. Defaults to helm-openclaw ci-tools claw-support.
  • GITLAB_AGENT_PROFILE_AGENT_USERNAME: Agent username. Defaults to the authenticated glab user.
  • GITLAB_AGENT_PROFILE_OWNER_USERNAME: Owner username. Defaults to xrow.
  • GITLAB_AGENT_PROFILE_MONTHS: Number of months to render. Defaults to 12.

Relative output values are resolved from GITLAB_AGENT_PROFILE_WORKSPACE. Project names without / are expanded with GITLAB_AGENT_PROFILE_ROOT_GROUP, so ci-tools becomes xrow-public/ci-tools.

Classification

For merged merge requests:

  • Owner: author username matches GITLAB_AGENT_PROFILE_OWNER_USERNAME.
  • Agent + reviewer: author username matches GITLAB_AGENT_PROFILE_AGENT_USERNAME and the owner is a reviewer or merge user.
  • Agent (autonomous): author username matches GITLAB_AGENT_PROFILE_AGENT_USERNAME and the owner is neither reviewer nor merge user.
  • Merged total: sum of the three MR categories.
  • Direct owner commits: commits on main authored or committed by the owner that are not known MR merge/squash commits and do not start with skip:, skip(...), chore:, chore(...), docs:, docs(...), or revert.
  • MRs with type::fix or type::feature labels count toward MR totals and contribution score.
  • If a merged MR has no type label, a Conventional Commit title beginning with fix:/fix(...) or feat:/feat(...) is used as a fallback type.
  • MRs beginning with skip:, skip(...), chore:, chore(...), docs:, or docs(...) are never counted, even if they have a counted type label.
  • MR contribution score: each counted MR starts at 1 point and is multiplied by its size factor.
  • Size factor: size::small = 1, size::medium = 2, size::large = 3, size::xlarge = 5; missing size labels default to 1.
  • Direct owner commits count 0.2 point each.

The script ignores merge requests authored by other users.

Usage Guidance
Install only where a GitLab token and automated profile asset updates are appropriate. Prefer a read-only GitLab token, keep output variables pointed inside the intended assets directory, and review the generated JSON proof before publishing it if project activity may be private.
Capability Assessment
Purpose & Capability
The GitLab API reads, contribution classification, SVG/WebP generation, and JSON proof output match the stated profile-maintenance purpose.
Instruction Scope
The skill explicitly recommends a daily cron and committing generated assets; that is purpose-aligned but should be enabled only for a repository where automated profile asset updates are intended.
Install Mechanism
Metadata declares glab, python3, and GITLAB_TOKEN; the script may also fall back to ImageMagick, npm sharp-cli, or Python image libraries for WebP generation, which is not fully captured in the declared requirements.
Credentials
Environment variables intentionally control projects, users, workspace, and output paths; the code allows absolute output paths, so users should keep outputs confined to the intended repository assets directory.
Persistence & Privilege
No hidden persistence or privilege escalation was found; persistence is a documented user-created daily cron, and GitLab credentials are used through glab for reading activity data.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xrowgmbh-gitlab-agent-profile
  3. After installation, invoke the skill by name or use /xrowgmbh-gitlab-agent-profile
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.50.0
- Added detailed documentation for configuring and running the GitLab agent profile updater. - Clarified environment variables for customizing generated chart, proof file outputs, and tracked projects/users. - Updated classification rules for contribution types, MR/commit filtering, and scoring. - Described recommended daily cron usage and output asset formats (SVG, WebP, JSON). - Improved instructions for integrating with the Openclaw system environment requirements.
Metadata
Slug xrowgmbh-gitlab-agent-profile
Version 1.50.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is GitLab Agent Profile?

Maintain the GitLab agent profile page and static contribution performance chart. It is an AI Agent Skill for Claude Code / OpenClaw, with 43 downloads so far.

How do I install GitLab Agent Profile?

Run "/install xrowgmbh-gitlab-agent-profile" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is GitLab Agent Profile free?

Yes, GitLab Agent Profile is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does GitLab Agent Profile support?

GitLab Agent Profile is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created GitLab Agent Profile?

It is built and maintained by xrow GmbH (@xrowgmbh); the current version is v1.50.0.

💬 Comments