# Fork Repository

> Fork a GitHub repository to your account or specified organization

- Skill: `xiaobai1017/fork-repository` (Agent Skill)
- Install (CLI): `npx skillmds@latest add xiaobai1017/fork-repository`
- Raw SKILL.md: https://api.skillmd.com/api/skills/xiaobai1017/fork-repository/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: xiaobai1017 (https://skillmd.com/u/xiaobai1017)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/xiaobai1017/fork-repository

---


# fork_repository

Fork a GitHub repository to your account or specified organization

## Purpose

This skill provides access to the MCP tool `fork_repository`. It allows you to fork a github repository to your account or specified organization.

## Parameters

The tool accepts the following parameters:

### `owner`
**Required**
- **Type**: `string`
- **Description**: Repository owner (username or organization)

### `repo`
**Required**
- **Type**: `string`
- **Description**: Repository name

### `organization`
*Optional*
- **Type**: `string`
- **Description**: Optional: organization to fork to (defaults to your personal account)


## Usage Instructions

To use this tool:

1. **Prepare the parameters** according to the schema above
2. **Invoke the MCP tool** `fork_repository` with the prepared parameters
3. **Process the result** returned by the tool

## Example

```json
{
  "owner": "example_value",
  "repo": "example_value",
  "organization": "example_value"
}
```


## Notes

- This skill requires an active MCP connection to the server providing the `fork_repository` tool
- Ensure the MCP server is properly configured and running before attempting to use this tool
- Review the parameter requirements carefully to avoid errors
