Overview
Skill loaders discover and load skills from various sources. Pass one or more loaders toSkills():
Available Loaders
LocalSkills
Load skills from local filesystem directories. Supports single skill folders or parent directories with multiple skills.
BuiltinSkills
Use skills bundled with Upsonic — code-review, summarization, and data-analysis. No setup required.
InlineSkills
Define skills programmatically in code using Skill objects — no filesystem needed.
GitHubSkills
Download skills from GitHub repositories. Supports private repos, branch selection, and local caching.
URLSkills
Load skills from remote zip or tar archives via HTTP. Supports custom headers for authentication.
Combining Loaders
Mix and match loaders to layer skills — start with defaults, add shared skills, then apply project-specific overrides:Remote Loader Caching
All remote loaders (GitHubSkills, URLSkills) cache downloads locally to avoid repeated network requests:
| Parameter | Type | Default | Description |
|---|---|---|---|
cache_dir | str | ~/.upsonic/skills_cache/ | Directory for cached downloads |
cache_ttl | int | 3600 | Cache TTL in seconds (1 hour) |
validate | bool | True | Validate skills on load |
force_refresh | bool | False | Bypass cache and re-download |

