extract-repo

Community

Clone GitHub repos as clean code, no history.

Authorpascalandy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill downloads GitHub repositories as clean source code (no git history) into a designated WORKDIR to simplify analysis, modification, and archival workflows while avoiding clutter from full repository histories.

Core Features & Use Cases

  • Shallow cloning: fetches only the latest snapshot to reduce download size.
  • Automatic storage: saves repos under WORKDIR with a marker that tracks managed repos.
  • Repo management: handles name conflicts by suffixing duplicates; supports interactive removal of managed repos.
  • Use Case: clone a repository for experimentation or code review without touching your main clones.

Quick Start

Run the extract-repo script via uv to clone a repo: uv run .opencode/skill/extract-repo/scripts/extract_repo.py <URL> and then cd into the extracted directory.

Dependency Matrix

Required Modules

questionaryrich

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: extract-repo
Download link: https://github.com/pascalandy/dotfiles/archive/main.zip#extract-repo

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.