Agent skill

GitHub Sync Gate

by R6410418 in R6410418/Jackrong-llm-finetuning-guide

Enforce this repository's local-review-first GitHub sync policy.

Apache-2.0Auto-check passedDevelopment

Install GitHub Sync Gate

skills CLI
$ npx skills add R6410418/Jackrong-llm-finetuning-guide --skill github-sync-gate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install R6410418/Jackrong-llm-finetuning-guide github-sync-gate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/R6410418/Jackrong-llm-finetuning-guide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/github-sync-gate .claude/skills/github-sync-gate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
github-sync-gate
GitHub stars
1.7k
Token cost
~316 tokens
SKILL.md length
145 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Enforce this repository's local-review-first GitHub sync policy.

  • Works in 6 steps: Re-run privacy scans. → Re-run repository-relative Markdown link… → Re-run syntax checks. → …
  • Codex is preparing
  • SKILL.md covers Before Sync and Push Policy
  • Calls git

What it does

GitHub Sync Gate is an agent skill from R6410418/Jackrong-llm-finetuning-guide. Enforce this repository's local-review-first GitHub sync policy. Use when Codex is preparing, validating, staging, committing, pushing, or opening a pull request for this repository and must wait for the exact approval phrase before any remote write.

Its SKILL.md is about 320 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with GitHub. The licence is Apache-2.0.

When your agent uses it

  • Codex is preparing
  • Opening a pull request for this repository and must wait for the exact approval phrase before any remote write

Example prompts

  • “/github-sync-gate”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Re-run privacy scans.
  2. Re-run repository-relative Markdown link validation.
  3. Re-run syntax checks.
  4. Re-run git diff --check.
  5. Inspect staged files for tokens, private paths, private SSH aliases, logs, caches, datasets, model weights, GGUF files, safetensors files…
  6. Fetch the latest remote state and handle divergence safely.

What it can do on your machine

Read from SKILL.md and the folder at commit ef2b17f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GitHub Sync Gate loads about 316 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 145 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~316

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from R6410418/Jackrong-llm-finetuning-guide at commit ef2b17f, republished under its Apache-2.0 licence (© R6410418). 145 words, ~316 tokens.

Download SKILL.mdSave it as .claude/skills/github-sync-gate/SKILL.md (or your agent's skills folder).
name
github-sync-gate
description
Enforce this repository's local-review-first GitHub sync policy. Use when Codex is preparing, validating, staging, committing, pushing, or opening a pull request for this repository and must wait for the exact approval phrase before any remote write.

GitHub Sync Gate

Remote writes are forbidden until the user sends exactly:

text
同步

Do not treat any other approval phrase as sync approval.

Before Sync

After exact approval and before any remote write:

  1. Re-run privacy scans.
  2. Re-run repository-relative Markdown link validation.
  3. Re-run syntax checks.
  4. Re-run git diff --check.
  5. Inspect staged files for tokens, private paths, private SSH aliases, logs, caches, datasets, model weights, GGUF files, safetensors files, and checkpoints.
  6. Fetch the latest remote state and handle divergence safely.

Push Policy

  • Never force-push.
  • Prefer a direct push to main only when the local integration can be applied safely and the remote branch has not diverged.
  • If direct push is unsafe or blocked, push the feature branch and open a pull request.
  • Report the pushed branch, commit hash, and remote result.
  • Never publish Hugging Face models merely because GitHub sync was approved.

© R6410418, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/github-sync-gate of R6410418/Jackrong-llm-finetuning-guide.

Open the folder on GitHubat commit ef2b17f

Compare with similar skills

GitHub Sync Gate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GitHub Sync Gate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub Sync Gate this skillR6410418/Jackrong-llm-finetuning-guide1.7k—~316Automated safety check: PassApache-2.0
GitHub Commentingjuspay/neurolink143—~698Automated safety check: PassMIT
GitHubswarmclawai/swarmclaw687—~820Automated safety check: PassMIT
Housekeepinglangfuse/langfuse35k—~2.1kAutomated safety check: PassCustom licence
Review PRhashgraph-online/awesome-codex-plugins1.2k—~2.5kAutomated safety check: PassApache-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0

Similar skills

  • GitHub Commenting

    juspay/neurolink

    How to post clean, rich, deduplicated GitHub PR review comments — suggestion blocks, multi-line anchors, markers, formatting rules.

    143 GitHub stars~698 tokensUpdated today
    DevelopmentAuto-check passed
  • GitHub

    swarmclawai/swarmclaw

    GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries.

    687 GitHub stars~820 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Housekeeping

    langfuse/langfuse

    Triage an engineer's work queue across Linear, Pylon, and GitHub.

    35k GitHub stars~2.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Review PR

    hashgraph-online/awesome-codex-plugins

    Review a GitHub pull request with the RAG + code-graph pipeline (reviewer MCP server).

    1.2k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed

More from R6410418/Jackrong-llm-finetuning-guide

  • Qwopus27b Rl Training

    R6410418/Jackrong-llm-finetuning-guide

    Prepare, validate, launch-plan, monitor, resume, and stop configurable Qwopus 27B reinforcement-learning workflows for GRPO or GSPO.

    1.7k GitHub stars~830 tokensUpdated 2 mo ago
    Auto-check passed
  • Qwen Mtp Gguf

    R6410418/Jackrong-llm-finetuning-guide

    Complete agent-ready workflow for Qwen-family MTP or nextn GGUF conversion and release.

    1.7k GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Qwen Mtp Gguf Release

    R6410418/Jackrong-llm-finetuning-guide

    Repository-level wrapper for the canonical Qwen MTP or nextn GGUF release workflow.

    1.7k GitHub stars~474 tokensUpdated 2 mo ago
    Auto-check passed
  • Repository Resource Portal

    R6410418/Jackrong-llm-finetuning-guide

    Maintain this repository as a growing educational LLM knowledge base.

    1.7k GitHub stars~387 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about GitHub Sync Gate

What does GitHub Sync Gate do?

Enforce this repository's local-review-first GitHub sync policy. GitHub Sync Gate is an agent skill from R6410418/Jackrong-llm-finetuning-guide. Enforce this repository's local-review-first GitHub sync policy.

When should I use GitHub Sync Gate?

GitHub Sync Gate fits situations like: Codex is preparing; opening a pull request for this repository and must wait for the exact approval phrase before any remote write.

How do I install GitHub Sync Gate in Claude Code?

Run `npx skills add R6410418/Jackrong-llm-finetuning-guide --skill github-sync-gate -a claude-code`. Or copy the skill folder (.agents/skills/github-sync-gate in R6410418/Jackrong-llm-finetuning-guide) into .claude/skills/github-sync-gate in your project. Claude Code loads it when a task matches its description.

How do I install GitHub Sync Gate in Codex?

Run `npx skills add R6410418/Jackrong-llm-finetuning-guide --skill github-sync-gate -a codex`. Or copy the skill folder (.agents/skills/github-sync-gate in R6410418/Jackrong-llm-finetuning-guide) into .agents/skills/github-sync-gate in your project. Codex loads it when a task matches its description.

Can I use GitHub Sync Gate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add R6410418/Jackrong-llm-finetuning-guide --skill github-sync-gate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/github-sync-gate, .gemini/skills/github-sync-gate, .github/skills/github-sync-gate and .opencode/skills/github-sync-gate in your project.

What does GitHub Sync Gate need to run?

Going by SKILL.md and its folder, GitHub Sync Gate needs the command-line tools its instructions call (git).

Does GitHub Sync Gate access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is GitHub Sync Gate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does GitHub Sync Gate use?

GitHub Sync Gate is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GitHub Sync Gate use?

About 316 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GitHub Sync Gate?

Skills that share tags, products or a category with GitHub Sync Gate: GitHub Commenting (juspay/neurolink, 143 stars), GitHub (swarmclawai/swarmclaw, 687 stars), Housekeeping (langfuse/langfuse, 35k stars) and Review PR (hashgraph-online/awesome-codex-plugins, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub Sync Gate?

R6410418 (a GitHub user) maintains it in R6410418/Jackrong-llm-finetuning-guide, which has 1,705 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on July 11, 2026.

Source: R6410418/Jackrong-llm-finetuning-guide on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.