# Github Url Normalization And Clone

> Normalize GitHub URLs and perform shallow clones to a temp directory with cleanup.

- **Type:** Skill
- **Install:** `agentstack add skill-shyamsridhar123-agentsmith-cli-github-url-normalization-and-clone`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [shyamsridhar123](https://agentstack.voostack.com/s/shyamsridhar123)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [shyamsridhar123](https://github.com/shyamsridhar123)
- **Source:** https://github.com/shyamsridhar123/agentsmith-cli/tree/main/.github/skills/github-url-normalization-and-clone
- **Website:** https://github.com/shyamsridhar123/agentsmith-cli

## Install

```sh
agentstack add skill-shyamsridhar123-agentsmith-cli-github-url-normalization-and-clone
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Github Url Normalization And Clone

Normalize GitHub URLs and perform shallow clones to a temp directory with cleanup.

## When to Use

Use this skill when:

- Working with code in `src/utils/git.ts/`
- User mentions "git"
- User mentions "clone"
- User mentions "github url"
- User mentions "normalize"
- User mentions "shallow"

## Patterns

- GitHub URL detection and normalization
- temp dir naming with random suffix
- shallow clone with --depth 1
- cleanup via fs.rm on completion

## Examples

```
const { path, cleanup } = await cloneRepo(url); await cleanup();
```

## Category

**reliability** - Error handling, recovery, and fault tolerance

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [shyamsridhar123](https://github.com/shyamsridhar123)
- **Source:** [shyamsridhar123/agentsmith-cli](https://github.com/shyamsridhar123/agentsmith-cli)
- **License:** MIT
- **Homepage:** https://github.com/shyamsridhar123/agentsmith-cli

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** yes
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-shyamsridhar123-agentsmith-cli-github-url-normalization-and-clone
- Seller: https://agentstack.voostack.com/s/shyamsridhar123
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
