skillx cache
Synopsis
skillx cache <command>Manage the local skill cache. Skills fetched from remote sources are cached in ~/.skillx/cache/ with a configurable TTL (default 24 hours). Both run and install share the same cache.
Subcommands
skillx cache ls
List all currently cached skills.
$ skillx cache ls
Cached Skills
2 entriesEach entry shows the skill name, source, and when it was cached.
skillx cache clean
Remove all cached skills.
$ skillx cache clean
✓ Cleaned 2 cached entries.Cache Behavior
- Remote skills are cached using a SHA-256 hash of the source string as the directory name
- Cache entries include metadata (source, skill name, cache timestamp, TTL)
- Expired entries are automatically skipped when resolving skills
- Use
--no-cacheonrunorinstallto force a fresh fetch
Configuration
Cache TTL can be configured in ~/.skillx/config.toml:
[cache]ttl = "24h" # Cache expiration time (default: 24h)max_size = "1GB" # Maximum total cache sizeCache Directory
~/.skillx/cache/└── <source-hash>/ ├── meta.json # Cache metadata (source, timestamp, TTL) └── <skill-files> # Cached skill filesExamples
Check what’s cached
skillx cache lsClear all cached skills
skillx cache cleanForce fresh fetch (bypass cache)
skillx run github:org/skills/my-skill --no-cacheskillx install github:org/skills/my-skill --no-cache