> ## 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**](../modules/remote) module.

<Badge color="blue">AI Agent</Badge>

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

<ParamField query="url" type="str" required={true}>
  No description available.
</ParamField>

<ParamField query="ref" type="Optional[str]" required={false}>
  No description available.
</ParamField>

## Methods

<CardGroup cols={2}>
  <Card title="fetch()" icon="function" href="../functions/GitRemoteSkillSource-fetch">
    Instance method.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/skills/remote.py#L54">
  `praisonaiagents/skills/remote.py` at line 54
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Skills Concept" icon="wand-magic-sparkles" href="/docs/docs/concepts/skills" />

  <Card title="Skills Feature" icon="star" href="/docs/docs/features/skills" />
</CardGroup>
