🔄
DevOpsGo

GitLab Mirror Sync

by AgentsMesh

GitLab Mirror Sync is a DevOps skill for Claude Code, published by AgentsMesh in AgentsMesh.

2.3K stars238 forkson AgentsMesh/AgentsMeshAdded 2026/08/18+1% in starsRepository updated 2026/08/03
agent-orchestrationagentsmeshai-agentai-agent-workforce-platformai-codingaiderclaude-codecodex-cligemini-climulti-agentself-hosted
Install in seconds
Install GitLab Mirror Sync
Copy GitLab Mirror Sync into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/AgentsMesh/AgentsMesh/tree/main/agents/skills/github-gitlab-mirror ~/.claude/skills/github-gitlab-mirror

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/AgentsMesh/AgentsMesh.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
agents/skills/github-gitlab-mirror/SKILL.md in AgentsMesh/AgentsMesh
Installs to
~/.claude/skills/github-gitlab-mirror
Collection
One of 5 skills cataloged from this repository
Category
DevOps798 skills

What GitLab Mirror Sync does

GitLab Mirror Sync audits or synchronizes an internal GitLab mirror against an authoritative GitHub main branch. Use it to verify consistency, fast-forward the mirror, or resolve divergence without importing mirror-only commits back into GitHub.

GitLab Mirror Sync is cataloged under DevOps on DirSkills. GitLab Mirror Sync comes from a repository tagged agent-orchestration, agentsmesh, ai-agent, ai-agent-workforce-platform and ai-coding.

Documentation

README

GitHub to GitLab Mirror

GitHub main is the single source of truth. GitLab exists to build and deploy the same commit internally.

Safety Rules

  • Discover both remotes from their URLs; do not assume they are named origin and gitlab.
  • Never merge, cherry-pick, or push GitLab-only commits into GitHub.
  • A fast-forward update to GitLab may proceed after verification.
  • Rewriting a divergent GitLab branch requires explicit user authorization and an exact --force-with-lease expectation.
  • Do not change the local branch or working tree to mirror remote refs.

Status

  1. Fetch both authoritative refs:

    git remote -v
    git fetch <github-remote> main
    git fetch <gitlab-remote> main
    
  2. Record both SHAs and show commits unique to either side:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about GitLab Mirror Sync

  • What else does AgentsMesh publish alongside GitLab Mirror Sync?

    GitLab Mirror Sync is one of 5 skills that DirSkills catalogs from AgentsMesh/AgentsMesh, the repository it ships in. Its siblings there include Arch Check, E2E Testing and Pull Request Merge. Each one is a separate skill with its own page in this directory, installs the same way GitLab Mirror Sync does, and is maintained by AgentsMesh in that same repository. The rest of the collection is listed on the AgentsMesh/AgentsMesh page.

  • How does GitLab Mirror Sync compare to other DevOps skills?

    GitLab Mirror Sync ranks #262 by stars among the 798 DevOps skills in this catalog. The most-starred ones next to it are Backend Patterns, API Connector Builder and Migration. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of GitLab Mirror Sync against them. Open each page to compare what they document and how they install.