Cache
| Field | Required | Default | Description |
|---|---|---|---|
cache.enabled | No | false | Enable local skills cache for query and find commands |
cache.ttl | No | 86400 | Cache time-to-live in seconds (default: 24 hours). Applies to both the main cache (skills.json) and URL cache (source_<md5>.json) |
When enabled, xskill cache update fetches skill metadata from all sources and stores it locally. Subsequent query and find commands check cache.ttl for staleness: if the cache is fresh, it is used directly; if stale or empty with configured sources, sources are re-cloned and the cache is automatically refreshed.