diff options
Diffstat (limited to 'skills/skill-updater.json')
| -rw-r--r-- | skills/skill-updater.json | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/skills/skill-updater.json b/skills/skill-updater.json new file mode 100644 index 0000000..d9cb3f1 --- /dev/null +++ b/skills/skill-updater.json @@ -0,0 +1,14 @@ +{ + "name": "skill-updater", + "description": "A system utility to monitor, fetch, and apply updates to installed skills from the WebX11 Skills Hub.", + "tags": [ + "maintenance", + "automation", + "updates", + "webx11" + ], + "category": "system", + "created": "2026-10-16T16:19:42.111Z", + "updated": "2026-10-16T16:30:38.270Z", + "content": "---\nname: skill-updater\ndescription: A system utility to monitor, fetch, and apply updates to installed skills from the WebX11 Skills Hub.\ncategory: system\ntags: [maintenance, automation, updates, webx11]\n---\n\n# Skill Updater Utility\n\nThis skill provides a standardized workflow for keeping local agent skills synchronized with the latest versions available on the WebX11 Skills Hub.\n\n## Operational Workflow\n\n### 1. Inventory Check\nScan the local `/skills` directory (or the VFS equivalent) to list all currently installed skills and their version/timestamp.\n\n### 2. Hub Synchronization\n- Access the Hub index: `https://webx11.duckdns.org/skills.html`\n- Compare the local skill list against the hub's available skills.\n- Identify skills that have newer versions or updated documentation.\n\n### 3. Update Execution\nFor each outdated skill:\n1. **Fetch:** Use `web_fetch` to retrieve the latest Markdown/YAML content from the Hub.\n2. **Backup:** Save a copy of the current skill to a `.bak` file.\n3. **Apply:** Use `patch_skill` or `write_file` to update the skill content.\n4. **Verify:** Validate that the YAML frontmatter is intact and the skill is still compatible with the current system version.\n\n## Maintenance Commands\n\n- **Check for Updates:**\n `web_fetch \"https://webx11.duckdns.org/skills.html\" -> compare with list_skills`\n- **Force Update Skill:**\n `patch_skill(name=\"skill-name\", content=new_content)`\n\n## Best Practices\n- **Consistency:** Run the update check once per session or weekly.\n- **Conflict Resolution:** If a local skill has been customized, the updater should prompt the user before overwriting local changes.\n- **Logging:** Log all updates to the system log for auditability.\n" +}
\ No newline at end of file |