# Clone and refresh whole GitHub orgs for audit or migration with ghorg

> Use ghorg to clone or resync large sets of repositories from a GitHub user or organization for offline audit, migration prep, or bulk analysis work.

- Skill: `agentskillexchange/clone-and-refresh-whole-github-orgs-for-audit-or-migration-w` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/clone-and-refresh-whole-github-orgs-for-audit-or-migration-w`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/clone-and-refresh-whole-github-orgs-for-audit-or-migration-w/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/clone-and-refresh-whole-github-orgs-for-audit-or-migration-w

---


# Clone and refresh whole GitHub orgs for audit or migration with ghorg

Use ghorg to clone or resync large sets of repositories from a GitHub user or organization for offline audit, migration prep, or bulk analysis work.

## Prerequisites

ghorg, git, and GitHub access credentials when needed

## Installation

Use the upstream install or setup path that matches your environment:
- brew install gabrie30/utils/ghorg
- go install github.com/gabrie30/ghorg@latest
- docker run --rm ghcr.io/gabrie30/ghorg:latest
- docker run --rm ghcr.io/gabrie30/ghorg \

Requirements and caveats from upstream:
- [Docker](#docker)
- ## Using Docker
- The commands for ghorg are parsed as docker commands. The entrypoint is the ghorg binary, hence you only need to enter remaining arguments as follows:

Basic usage or getting-started notes:
- <img width="648" alt="ghorg cli example" src="https://user-images.githubusercontent.com/1512282/63229247-5459f880-c1b3-11e9-9e5d-d20723046946.png">
- There are a installation methods available, please choose the one that suits your fancy:
- [Prebuilt Binaries](#prebuilt-binaries)

- Source: https://github.com/gabrie30/ghorg
- Extracted from upstream docs: https://raw.githubusercontent.com/gabrie30/ghorg/HEAD/README.md

## Documentation

- https://github.com/gabrie30/ghorg#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/clone-and-refresh-whole-github-orgs-for-audit-or-migration-with-ghorg/)

