Gitlab Cli

🌐Community
by oldwinter · vlatest · Repository

This CLI tool allows you to interact with your GitLab repository directly from the command line for efficient automation and scripting.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add gitlab-cli npx -- -y @trustedskills/gitlab-cli
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "gitlab-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/gitlab-cli"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

gitlab-cli

What it does

The gitlab-cli skill enables AI agents to interact directly with GitLab repositories via command-line interfaces. It facilitates automated workflows for code management, issue tracking, and pipeline execution within the GitLab ecosystem.

When to use it

  • Automating routine repository tasks like creating branches or merging pull requests without manual intervention.
  • Triggering CI/CD pipelines programmatically to test code changes immediately after a commit.
  • Querying project metadata, such as open issues or merge request statuses, for reporting purposes.
  • Managing user access and permissions by adding or removing members from specific groups or projects.

Key capabilities

  • Execute GitLab CLI commands directly within the agent's environment.
  • Manage version control operations including cloning, pushing, and fetching code.
  • Interact with GitLab APIs to create, update, and delete issues and merge requests.
  • Monitor and manage CI/CD jobs and pipelines.

Example prompts

  • "Create a new branch named feature/login-fix from the main branch in project my-project."
  • "Trigger a pipeline run for the latest commit on the develop branch of repo-name."
  • "List all open merge requests that have been merged in the last week for this project."

Tips & gotchas

Ensure your AI agent has valid authentication credentials (e.g., personal access tokens) configured before attempting to execute commands. Always verify the target project path and branch names to avoid unintended changes to production code or data.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
oldwinter
Installs
29

🌐 Community

Passed automated security scans.