tmp-git-clone

Clone git repos to a temp folder for quick exploration. Use when you need to examine a codebase, look up docs, or explore repo structure.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tmp-git-clone" with this command: npx skills add lirrensi/tmp-git-clone/lirrensi-tmp-git-clone-tmp-git-clone

tmp-git-clone

Clone git repos to ~/.tmp-git-clone/{owner}/{repo} for quick exploration. Shallow clone by default for speed.

Quick Start

# GitHub shorthand (recommended)
tmp-git-clone rails/rails

# Full URL
tmp-git-clone https://github.com/rails/rails

# SSH
tmp-git-clone git@github.com:rails/rails.git

Common Options

# Clone specific branch
tmp-git-clone -b 7-2-stable rails/rails

# Deeper clone for history
tmp-git-clone --depth 10 rails/rails

# Quiet mode (outputs only path for scripting)
tmp-git-clone -q rails/rails

# Copy path to clipboard
tmp-git-clone -c rails/rails

Commands

CommandDescription
tmp-git-clone listList all cloned repos
tmp-git-clone clean --yesRemove all clones
tmp-git-clone historyShow recent clones
tmp-git-clone configShow configuration

Workflow for Exploration

  1. Clone the repo: tmp-git-clone owner/repo
  2. Note the output path: ~/.tmp-git-clone/owner/repo
  3. Read files, explore structure, analyze code
  4. Clones auto-cleanup after 3 days

Configuration

Create ~/.tmp-git-clone/config.json for defaults:

{
  "copy": true,
  "depth": 1,
  "defaultBranch": null
}

Requirements

  • Node.js 18+
  • Git

Installation

# npx (no install needed)
npx github:lirrensi/tmp-git-clone rails/rails

# Or install globally
npm install -g github:lirrensi/tmp-git-clone

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

screenshot

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

edge-tts

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

desktop-notifications

No summary provided by upstream source.

Repository SourceNeeds Review