Skip to content
Back to skills

Github Clone

ASecurity

Clone repositories and set up local workspace

  • 666 stars
  • 0 votes
  • 0 copies
  • 12 views
  • Added February 8, 2026
toolsbashgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill github-clone-breakerofstems-claude-skills-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Clone?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Clone
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-github-clone/badge)](https://www.skillsdirectory.com/skills/majiayu000-github-clone)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-clone
description: Clone repositories and set up local workspace
---

# GitHub Clone Skill

Clone repositories and establish a clean local workspace.

> **See also**: [Shared Conventions](../shared/CONVENTIONS.md) | [Safety Guidelines](../shared/SAFETY.md)

## Purpose

Set up a local copy of a repository ready for work.

## Commands

```bash
gh auth status
gh repo clone <owner>/<repo>
gh repo clone <owner>/<repo> -- --depth 1  # shallow clone
git clone <url>
```

## Workflow

1. **Verify authentication**
   ```bash
   gh auth status
   ```

2. **Clone to workspace**
   ```bash
   cd ~/workspace
   gh repo clone owner/repo
   ```

3. **Verify clone**
   ```bash
   cd repo
   git status
   git remote -v
   ```

## Policies

- Clone into `~/workspace/` directory
- Verify auth status before cloning private repos
- Use shallow clone (`--depth 1`) for large repos when full history isn't needed
- After clone, verify remote is correctly configured

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.