Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sync-github

Skill by redai-studio

Syncs the Relax codebase between internal GitLab and external GitHub in two gated stages. It replays external pull request commits into GitLab dev and then promotes dev to main. Written for maintainers who keep both repositories in step.

  • Score 74
  • 683 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sync-github

Built from the published package, never by AI.

git clone --depth 1 https://github.com/redai-studio/Relax /tmp/Relax && mkdir -p ~/.claude/skills && cp -r /tmp/Relax/skills/sync-github ~/.claude/skills/sync-github

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sync-github in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

sync-github is an agent skill for syncing the Relax codebase between an internal GitLab instance and an external GitHub repository. It acts as the entry and rule layer, with the full process split into two prompt references. The first stage finds external GitHub pull request commits that are not yet in gitlab/dev and cherry-picks them onto a GitLab change request branch. The second stage runs only after the user confirms that the internal change request has merged, and it moves dev changes to main on GitLab and GitHub.

The skill finds its starting point by reading the cherry-pick -x trailers left by earlier syncs. Before any push to github/main, it runs a GitHub Actions CI check on a validation branch and requires a successful result for the same commit. It also runs duplicate definition checks, ruff F811 and gitleaks, and it stops when it finds secrets or sensitive content. The skill is aimed at maintainers who manage the internal and external repositories together.

Written from the project's SKILL.md and checked against it.

What it can do

  • Prompt A: GitHub to GitLab devFinds external GitHub PR commits not yet in gitlab/dev and cherry-picks them onto a GitLab CR branch.
  • Prompt B: dev to mainAfter the internal CR merges, replays dev commits onto main for GitLab and then GitHub.
  • Starting point detectionLocates the sync base from cherry-pick -x trailers in gitlab/dev and gitlab/main history.
  • Sensitive content checksRuns gitleaks and stops on secrets, internal links or private paths.
  • GitHub Actions validationRequires a successful ci.yml run on the same commit before a github/main push.
  • Guarded GitHub pushesPauses before each git push to GitHub and waits for an exact confirmation phrase.
  • Cherry-pick auditChecks the diff for duplicate definitions, F811 issues and unexplained changes before pushing.
  • Workspace checksStops on tracked local changes and reports untracked files without removing them.

What you need

  • Git with gitlab and github remotes
  • GitHub CLI (gh) with access to redai-studio/Relax
  • Python for the helper scripts
  • gitleaks

Try asking

  • Start a sync from github/main into gitlab/dev for the Relax repo.
  • Check whether any external GitHub PR commits are still missing from dev.
  • Run the GitHub CI validation before pushing main to github.

Good to know

  • Each git push to GitHub needs a separate user confirmation.
  • Force pushes to github/main are not allowed.
  • Prompt A ends at a GitLab CR and waits for the internal merge.
  • Does not run code or tests that need a GPU.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/sync-github/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to sync-github

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

sync-github: common questions

How does the skill know where a sync should start?

It reads cherry-pick -x trailers in gitlab/dev and gitlab/main history. If no trailer is found in main, it stops and asks the user to confirm.

Can it push to GitHub on its own?

No. Each git push to GitHub pauses until the user replies with the exact phrase confirm GitHub push.

Does it squash commits or force push?

It does not squash, and it does not force push github/main. For gitlab/main it recommends --force-with-lease.

How do I install sync-github?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is sync-github free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is sync-github safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to sync-github?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

sync-github Install

Add to stack

Loading.