Overview
Thewarden sync command updates remote skills to their latest versions. It refreshes the local cache of skills from GitHub repositories.
Usage
How It Works
Pinned vs Unpinned Skills
Unpinned (updates automatically)
warden.toml
sync fetches the latest version.
Pinned (requires manual update)
warden.toml
sync has no effect. To update:
- Remove the
@shapart - Run
warden sync - Check the new version
- Pin to new SHA if desired
Examples
Sync all remote skills
No updates available
Options
—force
Force re-download even if up to date:—verbose
Show detailed progress:Cache Location
Remote skills are cached in:When to Sync
Regular maintenance
Sync weekly to get latest improvements:Before important analysis
Sync before analyzing critical changes:After skill updates
When skill maintainers release updates:In CI/CD
Sync in CI to get latest versions:.github/workflows/warden.yml
Comparison with add --force
| Command | Effect |
|---|---|
warden sync | Updates all unpinned remote skills |
warden add <skill> --force | Re-adds one skill (overwrites config) |
When to use sync
Update skills without changing configuration:When to use add —force
Reset skill configuration to defaults:Managing Skill Versions
Check current versions
View remote references inwarden.toml:
Pin to current version
After syncing, pin to the new version:Unpin to allow updates
Remove the@sha part:
warden.toml
sync to update.
Troubleshooting
Sync fails with 'Not found'
Sync fails with 'Not found'
The remote repository may not exist or is private:Solutions:
- Verify the repository exists:
https://github.com/getsentry/skills - Check for typos in
warden.toml - For private repos, set
GITHUB_TOKENenvironment variable
Sync fails with 'Rate limit exceeded'
Sync fails with 'Rate limit exceeded'
GitHub API rate limit reached:Solutions:
- Wait an hour for rate limit to reset
- Set
GITHUB_TOKENfor higher rate limits (5,000/hour vs 60/hour)
Skills not updating
Skills not updating
Skills may be pinned:Solution:
Check for Remove
@sha in warden.toml:@sha to allow updates.Cache corruption
Cache corruption
If skills behave strangely after sync:
Best Practices
Development: Unpinned
Use unpinned skills for active development:warden.toml
Production: Pinned
Pin skills in production for stability:warden.toml
Update workflow
-
Sync in development:
-
Pin to tested SHA:
- Deploy to production
- Repeat monthly or quarterly
Related
Add skills
Add new skills to configuration
Remote skills
Complete guide to remote skills
Configuration
Skill configuration options
Troubleshooting
Common issues and solutions