Skip to main content

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

str
required
No description available.
Optional[str]
No description available.

Methods

fetch()

Instance method.

Source

View on GitHub

praisonaiagents/skills/remote.py at line 54

Skills Concept

Skills Feature