Agent skill

GitHub Sync Helper

by OpenMinis in OpenMinis/MinisSkills

General GitHub basic operations + automation for GitHub platform objects (Issues/Labels/Milestones/Releases/Actions) in the Minis environment.

MITAuto-check passedProduct & Project Management

Install GitHub Sync Helper

skills CLI
$ npx skills add OpenMinis/MinisSkills --skill github-sync-helper -a claude-code

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

GitHub CLI
$ gh skill install OpenMinis/MinisSkills github-sync-helper --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/OpenMinis/MinisSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/github-sync-helper .claude/skills/github-sync-helper && 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-helper
GitHub stars
440
Token cost
~2.8k tokens
SKILL.md length
1,121 words
Files
2 (incl. scripts)
Skills in repo
49
Repo updated
First seen
Licence
MIT

At a glance

General GitHub basic operations + automation for GitHub platform objects (Issues/Labels/Milestones/Releases/Actions) in the Minis environment.

  • Works in 4 steps: Push directly to main: empty directory… → Replace only the contents of a target… → Delete all branches except main (local +… → …
  • Mentions any basic Git/GitHub operation
  • SKILL.md covers Objectives, Security and Constraints (Must…, How to Run and Quick Reference for Basic…, plus 3 more sections
  • Runs Shell scripts from its folder; calls git, sh and gh; needs GITHUB_TOKEN

What it does

GitHub Sync Helper is an agent skill from OpenMinis/MinisSkills. General GitHub basic operations + automation for GitHub platform objects (Issues/Labels/Milestones/Releases/Actions) in the Minis environment. This skill must be triggered when the user mentions any basic Git/GitHub operation or workflow, including "how to use GitHub," clone, init, remote, branch, commit, push, pull, fetch, merge, rebase, tag, release, issues, actions, labels, milestone, protected branches, fork, PR, sync to upstream, delete branches, restore after emptying a directory, push directly to main, or…

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/gh_sync.sh`). Compatibility notes: Requires git, python3. Uses env GITHUBTOKEN for GitHub API + HTTPS push (non-interactive via GITASKPASS).

It sits in Product & Project Management, covering Project management and Git workflow. It works with GitHub and Git. The repository describes itself as: Skills collection for Minis. The licence is MIT.

When your agent uses it

  • Mentions any basic Git/GitHub operation
  • Including how to use GitHub
  • Protected branches
  • Sync to upstream

Example prompts

  • “how to use GitHub,”
  • “/github-sync-helper”

Requirements

  • A Bash shell
  • A credential in GITHUB_TOKEN
  • Compatibility (from SKILL.md): Requires git, python3. Uses env GITHUB_TOKEN for GitHub API + HTTPS push (non-interactive via GIT_ASKPASS).

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Push directly to main: empty directory -> restore directory -> push (the workflow you just used)
  2. Replace only the contents of a target file in the repository (preserve the original path and filename), then commit and push
  3. Delete all branches except main (local + remote)
  4. Do not create a branch; open a PR directly from fork:main to upstream:main

What it can do on your machine

Read from SKILL.md and the folder at commit cb72d91. 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

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • sh
    • gh

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

  • Network

    No URLs in SKILL.md. Its commands use git and gh, 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 these keys or tokens, usually read from environment variables:

    • GITHUB_TOKEN

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

  • Compatibility

    Requires git, python3. Uses env GITHUB_TOKEN for GitHub API + HTTPS push (non-interactive via GIT_ASKPASS).

    From compatibility in the SKILL.md frontmatter.

Context cost

GitHub Sync Helper loads about 2.8k tokens when it runs. Until then it costs about 138 tokens; SKILL.md has 1,121 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from OpenMinis/MinisSkills at commit cb72d91, republished under its MIT licence (© OpenMinis). 1,121 words, ~2,753 tokens.

Download SKILL.mdSave it as .claude/skills/github-sync-helper/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
github-sync-helper
description
General GitHub basic operations + automation for GitHub platform objects (Issues/Labels/Milestones/Releases/Actions) in the Minis environment. This skill must be triggered when the user mentions any basic Git/GitHub operation or workflow, including "how to use GitHub," clone, init, remote, branch, commit, push, pull, fetch, merge, rebase, tag, release, issues, actions, labels, milestone, protected branches, fork, PR, sync to upstream, delete branches, restore after emptying a directory, push directly to main, or one-click sync.
compatibility
Requires git, python3. Uses env GITHUB_TOKEN for GitHub API + HTTPS push (non-interactive via GIT_ASKPASS).

Objectives

Codify GitHub/Git "basic operations" and common collaboration workflows into:

  1. A clear command quick reference (explanation + when to use)
  2. Executable one-click scripts (to avoid repetitive manual steps)
  3. Common outputs that are "numbered" whenever possible, so the user can reply with a number to choose an item directly, such as from a repository list

Security and Constraints (Must Be Followed)

No.RuleReason
1Do not output tokens: No command may echo or print $GITHUB_TOKEN to stdoutPrevent leaks
2Require a second confirmation for dangerous operations: deleting branches, emptying directories, forced overwrites, force pushes, and direct pushes to mainThese operations are hard to reverse
3Use "branch + PR" collaboration by default; only "push directly to main" when the user explicitly requests itReduce the risk of damaging the main branch
4Run git status before push/pullPrevent accidental commits or overwrites

How to Run

  • Script entry point: sh /var/minis/skills/github-sync-helper/scripts/gh_sync.sh <command> [options]

The script runs in the "current Git repository directory" and must be run inside a repository.

Quick Reference for Basic Git/GitHub Operations (Explanation + Corresponding Script)

No.CategoryOperationOne-sentence explanationCommon commandScript support
1InitializeinitTurn the current directory into a Git repositorygit initinit
2Get codecloneDownload a repository from a remote to localgit clone <url>clone
3RemoteremoteManage remotes such as origin/upstreamgit remote -v/add/set-url/removeremotes/add-remote/add-upstream/set-remote-url/remove-remote
4BranchbranchView, create, or delete branchesgit branch -a/-d/-Dbranches/create-branch/delete-branches
5Switchcheckout/switchSwitch to a branchgit switch <b>checkout
6View changesstatus/diff/logView working tree changes, diffs, or historygit status git diff git logstatus/diff/log
7StageaddAdd changes to the staging areagit add -Aadd
8CommitcommitPackage the staging area into a commitgit commit -m "..."commit
9Syncfetch/pull/pushFetch, merge, or push commitsgit fetch git pull git pushfetch/pull/push/push-main
10Mergemerge/rebaseMerge branch historygit merge git rebasemerge/rebase (use with caution)
11StashstashTemporarily set aside uncommitted changesgit stashstash
12TagtagAdd a version tag to a commitgit tagtag
13SubmodulesubmoduleManage subrepository dependenciesgit submodulesubmodule
15GitHub platformissues/labels/milestones/releases/actionsManage platform objects through the GitHub API(API)gh-issues-list and others (see below)

Note: The script is intended to "turn common basic operations into reusable commands." For complex rebases or conflicts, using an interactive terminal is still recommended.

GitHub Platform Operations (API)

Unified requirement: env GITHUB_TOKEN is required.

No.commandPurpose
1`gh-issues-list --repo <owner/repo> [--state openclosed
2gh-issue-create --repo <owner/repo> --title <t> [--body <b>]Create an issue
3gh-issue-close --repo <owner/repo> --number <n>Close an issue
4gh-labels-list --repo <owner/repo>List labels
5gh-label-create --repo <owner/repo> --name <n> [--color <rrggbb>] [--description <d>]Create a label
6`gh-milestones-list --repo <owner/repo> [--state openclosed
7gh-milestone-create --repo <owner/repo> --title <t> [--description <d>] [--due <YYYY-MM-DD>]Create a milestone
8gh-releases-list --repo <owner/repo>List releases
9`gh-release-create --repo <owner/repo> --tag <vX.Y.Z> --name <n> [--body <b>] [--draft truefalse] [--prerelease true
10gh-actions-list --repo <owner/repo>List workflows
11gh-actions-dispatch --repo <owner/repo> --workflow <id_or_file> [--ref <branch>] [--inputs <json>]Manually trigger workflow_dispatch

Script Command List (gh_sync.sh)

No.commandPurpose
2clone --url <url> [--dir <path>]Clone a repository to a specified directory
3remotesShow current remotes
4add-remote --name <n> --url <url>Add a remote
5set-remote-url --name <n> --url <url>Change a remote URL
6remove-remote --name <n>Remove a remote
7add-upstream --upstream <owner/repo>Add the upstream remote
8statusgit status --porcelain + brief tips
9diff [--staged]View differences
10log [--n <k>]View recent commits
11branchesList local and remote branches
12create-branch --name <b> [--from <ref>]Create a branch
13checkout --name <b>Switch branches
14delete-branches --keep <branch>Delete local/remote branches except the branch specified by keep
15add --path <p>git add
16commit --message <m>git commit
17fetch [--remote <n>]Fetch remote updates
18pull [--remote <n>] [--branch <b>]Pull and merge
19push [--remote <n>] [--branch <b>]Push
20push-mainPush the current main branch to origin (using a token, non-interactive)
21empty-dir --dir <path>Empty a directory in the repository while preserving the directory (using .gitkeep)
22restore-dir --src <path> --dst <path>Restore to a repository directory by overwriting it with a local directory (deletes the contents of dst first)
23pr --upstream <owner/repo> --head <owner:branch> --base <branch> --title <t> --body <b>Create a PR through the GitHub API
24gh-issues-list ... and othersGitHub platform object operations (issues/labels/milestones/releases/actions)
Show full SKILL.md (366 more words)Show less

Typical Workflows (Examples)

1) Push directly to main: empty directory -> restore directory -> push (the workflow you just used)
bash
sh /var/minis/skills/github-sync-helper/scripts/gh_sync.sh empty-dir --dir self-improving-agent
sh /var/minis/skills/github-sync-helper/scripts/gh_sync.sh restore-dir --src /var/minis/skills/self-improving-agent --dst self-improving-agent
sh /var/minis/skills/github-sync-helper/scripts/gh_sync.sh commit --message "restore(self-improving-agent): sync from local"
sh /var/minis/skills/github-sync-helper/scripts/gh_sync.sh push-main
4) Replace only the contents of a target file in the repository (preserve the original path and filename), then commit and push

Applicable scenarios: The user asks to "replace only the content," "replace only the worker inside," or "preserve the original repository filename/path." The intent is: only overwrite the target file contents, without adding the source filename to the repository and without changing the target path in the repository.

Recommended execution order:

bash
# 1. Pull/refresh the repository
repo_dir=/var/minis/workspace/<repo>
if [ -d "$repo_dir/.git" ]; then
  cd "$repo_dir" && git fetch --all --prune && git reset --hard origin/main
else
  gh repo clone <owner/repo> "$repo_dir"
fi

# 2. Content-only overwrite: overwrite the target file in the repository with the source file contents
cp <source_file> "$repo_dir/<target_path>"

# 3. If the Git identity is not configured, prefer reusing the GitHub display name and GitHub noreply email
cd "$repo_dir"
git config user.name '<GitHubDisplay Name>'
git config user.email '<login>@users.noreply.github.com'

# 4. Commit and push directly to main (only when the user explicitly requests commit/push)
git add <target_path>
git commit -m 'replace <target_path> content'
git push origin main

Key points:

  • When the user says "replace content only," always interpret it as: preserve the original file path and filename in the repository, and overwrite only the content.
  • Do not put the source filename directly into the repository; the target should still be the original file in the repository, such as worker.js.
  • If the target path is known, overwrite that path directly; if it is unknown, first locate the target file in the repository and then replace it.
  • If Author identity unknown is reported before committing, you can write the following in the current repository:
    • git config user.name '<GitHubDisplay Name>'
    • git config user.email '<login>@users.noreply.github.com'
  • By default, run git fetch + git reset --hard origin/main first to avoid accidentally committing on an old working tree.
  • If the user has already explicitly requested "commit" or "push," proceed directly without asking for confirmation again.
5) Delete all branches except main (local + remote)
bash
sh /var/minis/skills/github-sync-helper/scripts/gh_sync.sh delete-branches --keep main
6) Do not create a branch; open a PR directly from fork:main to upstream:main
bash
sh /var/minis/skills/github-sync-helper/scripts/gh_sync.sh pr \
  --upstream OpenMinis/MinisSkills \
  --head mowenyun:main \
  --base main \
  --title "sync: ..." \
  --body "..."
  • Repository list output must use a Markdown table and include a Number column so the user can reply with a number to choose directly.
  • Suggested fields: Number | Repository(owner/repo) | Visibility | Fork | Default branch | Last updated | URL
  • Interaction suggestion: After the table, prompt: "Reply with the number to continue (clone/pull/commit and push/content-only replacement, etc.)."

Note: If the user needs more fields (description, language, stars), add --json ... to extend the output.

No.SymptomHandling
1push reports could not read UsernameRequires env GITHUB_TOKEN; the script will use GIT_ASKPASS for non-interactive authentication
2API 401/403Insufficient token permissions (repo/public_repo) or token expired
3not inside a git repoFirst cd to the repository directory (or use clone/init)

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

Files

SKILL.md and 1 other file (scripts) in github-sync-helper of OpenMinis/MinisSkills.

  • SKILL.md
  • scripts/gh_sync.sh

Open the folder on GitHubat commit cb72d91

Compare with similar skills

GitHub Sync Helper 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 Helper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub Sync Helper this skillOpenMinis/MinisSkills440—~2.8kAutomated safety check: PassMIT
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT
Retrokoolamusic/claudefiles130—~2.8kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Release Bumpjamiepine/voicebox57k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed
  • Retro

    koolamusic/claudefiles

    A skill your agent uses when a user completes a phase, sprint, milestone, or meaningful unit of work and needs a retrospective.

    130 GitHub stars~2.8k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Release Bump

    jamiepine/voicebox

    Ends a release cycle by moving the Unreleased changelog notes under a dated version heading, bumping version files with bumpversion and tagging the commit.

    57k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.

    12k GitHub stars~838 tokensUpdated today
    DevelopmentAuto-check passed

More from OpenMinis/MinisSkills

All 49 skills in this repo
  • Android UI Automation

    OpenMinis/MinisSkills

    Automate Android apps that have no public API or web version by driving the UI layer through the Accessibility Service.

    440 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Codex On Ish

    OpenMinis/MinisSkills

    Install and run OpenAI Codex CLI inside the Minis/iSH Alpine sandbox on iOS, where rustls TLS and async sockets are broken.

    440 GitHub stars~1k tokensUpdated 2 days ago
    Auto-check passed
  • Evidence Chain Builder

    OpenMinis/MinisSkills

    Score a claim against the evidence behind it. An agent skill from OpenMinis/MinisSkills.

    440 GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • Hyperframes CLI

    OpenMinis/MinisSkills

    HyperFrames CLI and Minis rendering. An agent skill from OpenMinis/MinisSkills.

    440 GitHub stars~3.5k tokensUpdated 2 days ago
    Auto-check passed
  • Whenpeak

    OpenMinis/MinisSkills

    Predict when a person's brain works best from their sleep, using the WhenPeak performance-intelligence API, and turn it into concrete scheduling advice.

    440 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Openstreetmap Marker

    OpenMinis/MinisSkills

    Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc.

    440 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about GitHub Sync Helper

What does GitHub Sync Helper do?

General GitHub basic operations + automation for GitHub platform objects (Issues/Labels/Milestones/Releases/Actions) in the Minis environment. GitHub Sync Helper is an agent skill from OpenMinis/MinisSkills. General GitHub basic operations + automation for GitHub platform objects (Issues/Labels/Milestones/Releases/Actions) in the Minis environment.

When should I use GitHub Sync Helper?

GitHub Sync Helper fits situations like: mentions any basic Git/GitHub operation; including how to use GitHub; protected branches; sync to upstream.

How do I install GitHub Sync Helper in Claude Code?

Run `npx skills add OpenMinis/MinisSkills --skill github-sync-helper -a claude-code`. Or copy the skill folder (github-sync-helper in OpenMinis/MinisSkills) into .claude/skills/github-sync-helper in your project. Claude Code loads it when a task matches its description.

How do I install GitHub Sync Helper in Codex?

Run `npx skills add OpenMinis/MinisSkills --skill github-sync-helper -a codex`. Or copy the skill folder (github-sync-helper in OpenMinis/MinisSkills) into .agents/skills/github-sync-helper in your project. Codex loads it when a task matches its description.

Can I use GitHub Sync Helper 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 OpenMinis/MinisSkills --skill github-sync-helper -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-helper, .gemini/skills/github-sync-helper, .github/skills/github-sync-helper and .opencode/skills/github-sync-helper in your project.

What does GitHub Sync Helper need to run?

Going by SKILL.md and its folder, GitHub Sync Helper needs a shell for the scripts in its folder, the command-line tools its instructions call (git, sh and gh) and credentials named GITHUB_TOKEN. Our summary lists: A Bash shell; A credential in GITHUB_TOKEN. Compatibility (from SKILL.md): Requires git, python3. Uses env GITHUB_TOKEN for GitHub API + HTTPS push (non-interactive via GIT_ASKPASS). .

Does GitHub Sync Helper access the network?

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

Is GitHub Sync Helper 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does GitHub Sync Helper use?

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

How many tokens does GitHub Sync Helper use?

About 2.8k tokens (SKILL.md is roughly 11k 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 Helper?

Skills that share tags, products or a category with GitHub Sync Helper: CCPM Project Management (automazeio/ccpm, 8.4k stars), Retro (koolamusic/claudefiles, 130 stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub Sync Helper?

OpenMinis (a GitHub organization) maintains it in OpenMinis/MinisSkills, which has 440 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 5, 2026.

Source: OpenMinis/MinisSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.