github-fork-sync-assistant

Synchronizes GitHub forks with their upstream branches in bulk using gh CLI.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/cruldra/skills --skill github-fork-sync-assistant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-fork-sync-assistant
Source: https://github.com/cruldra/skills/tree/main/archived/github-fork-sync-assistant
Command: npx skills add https://github.com/cruldra/skills --skill github-fork-sync-assistant

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

批量将 GitHub 账号下的所有 fork 仓库与其上游(upstream)保持同步,简化分支管理并避免滞后问题。

Core Features & Use Cases

  • 批量同步:对所有 fork 或指定仓库逐个同步上游分支,确保本地改动不过期。
  • 结果汇报:生成每个仓库的同步结果,标记已是最新、已更新或同步失败。
  • 安全与合规:在遇到归档仓库、权限不足或冲突时跳过并给出清晰原因。

Quick Start

在激活此技能后,请让系统将你账号下的所有 forks 与上游进行同步。

Frequently Asked Questions about github-fork-sync-assistant

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync all my GitHub forks with upstream in bulk?

To sync GitHub forks with upstream in bulk, the process reads your forked repositories and performs per-repo upstream synchronization. It generates a status report for each repository, marking them as updated, current, or failed.

What happens to archived repositories when syncing GitHub forks?

When syncing GitHub forks, archived repositories are automatically skipped. The tool detects archived repos, permission issues, or conflicts during the update process and bypasses them with a clear reason logged in the results.

Do I need the gh CLI to synchronize my forked repositories?

Yes, you need the gh CLI installed and user authentication configured to synchronize forked repositories. The tool depends on gh CLI to access your GitHub account, verify repository permissions, and execute the upstream branch updates.

Can I sync only specific GitHub forks instead of all of them?

Yes, you can sync specific GitHub forks by providing a custom user-provided list. If you do not supply a specific list, the tool defaults to reading repository names from an assets file to perform the upstream synchronization.

How does bulk fork synchronization handle merge conflicts?

Bulk fork synchronization handles merge conflicts by skipping the affected repository. When a conflict, permission error, or archived status is encountered, the update is aborted for that specific repo and marked as a sync failure in the results.