VM0VM0
Agent Skills

GitLab

DevOps platform for managing projects, issues, and pipelines

GitLab is a complete DevOps platform for managing projects, issues, merge requests, and CI/CD pipelines.

Required Environment

NameTypeDescription
GITLAB_TOKENsecretPersonal access token with api scope from GitLab Settings
GITLAB_HOSTvarGitLab domain (e.g., gitlab.com or self-hosted)

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    framework: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/gitlab

Run

Store your secret on the platform (recommended, one-time setup):

vm0 secret set GITLAB_TOKEN your-gitlab-token

Then run your agent - secret is automatically loaded:

vm0 run my-agent "create an issue in GitLab"

For CI/CD or temporary overrides, pass secrets at runtime: --secrets GITLAB_TOKEN=value. See Environment Variables for details.

Example Instructions

AGENTS.md
# Issue Manager Agent

You manage GitLab issues and merge requests.

## Workflow

1. List issues by state or labels
2. Create new issues with details
3. Update issue status or assignees
4. Close resolved issues

## Issue States

- opened, closed, all
AGENTS.md
# Pipeline Monitor Agent

You monitor GitLab CI/CD pipelines.

## Workflow

1. List recent pipelines
2. Check pipeline status
3. View job details and logs
4. Report failures

## Pipeline States

- pending, running, success, failed