> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Git Remote Skill Source • AI Agent SDK

> GitRemoteSkillSource: Default remote skill source backed by a shallow git clone.

# GitRemoteSkillSource

> Defined in the [**remote**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/remote.md) module.

AI Agent

Default remote skill source backed by a shallow git clone.

The source URL is a git-cloneable HTTP(S) URL. On `fetch` the repo is
shallow-cloned into a temporary directory, its resolved commit becomes the
cache version, and the tree is atomically swapped into a versioned cache
dir. When the remote is unreachable the last-good cache is returned so
discovery keeps working offline.

`ref` optionally pins a branch/tag/commit for reproducible syncs.

## Constructor

**url** `str` *required*

No description available.

**ref** `Optional[str]`

No description available.

## Methods

> [card] [fetch()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/GitRemoteSkillSource-fetch.md)
>
> Instance method.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/skills/remote.py#L56)
>
> `praisonaiagents/skills/remote.py` at line 56

***

## Related Documentation

> [card] [Skills Concept](https://praison.ai/docs/docs/concepts/skills)

> [card] [Skills Feature](https://praison.ai/docs/docs/features/skills)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.