Git Remote Skill Source • AI Agent SDK
GitRemoteSkillSource: Default remote skill source backed by a shallow git clone.
GitRemoteSkillSource
Defined in the remote 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
ParamField
strNo description available.
ParamField
Optional[str]No description available.
Methods
Source
View on GitHubpraisonaiagents/skills/remote.py at line 56