Skip to content
Agentmart
Submit a tool

git-shallow-clone

Perform a shallow clone of a Git repository to a temporary location.

Skill by jeremyeder

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jeremyeder-git-shallow-clone

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Perform a shallow clone of a Git repository to a temporary location.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/git-shallow-clone

Tools it pre-approves 1

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash

What's inside

Skill name
git-shallow-clone
Description
Perform a shallow clone of a Git repository to a temporary location.
License
Apache-2.0
Allowed tools
Bash
Instructions
28 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Pre-approves any shell command

Files (2)

  • SKILL.md
  • shallow-clone.sh · scripts/

SKILL.md (first lines)

# Shallow Clone

Provides a script for creating a shallow clone of a Git repository to a temporary location. This skill should be used
to analyze repository contents locally instead of using web APIs.

## Usage

Use the `scripts/shallow-clone.sh` script in this directory, for example:

```bash
./scripts/shallow-clone.sh <repository_url> [<tag_or_branch>]
```

The script will print the path to the cloned repository when done, for example:

```shell
$ ./scripts/shallow-clone.sh https://github.com/psf/requests.git
Cloning https://github.com/psf/requests.git (shallow, ref: HEAD) to /tmp/shallow-clone-DDqkuv...
/tmp/shallow-clone-DDqkuv/repo
```

After analyzing the local repository, clean up the temporary directory with:

```shell
$ rm -rf <path_to_temporary_directory>
```

From jeremyeder/ai-helpers-plugin, Apache-2.0.

More from jeremyeder/ai-helpers-plugin

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 30, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jeremyeder

Cite this page

git-shallow-clone skill. Agent Mart. https://agentmart.dev/skills/jeremyeder-git-shallow-clone (last updated 2026-10-24)