update-skills

Re-applies installed skills to fetch their latest code from upstream git branches.

2|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/RADHA0-max/selfhealbackend --skill update-skills-radha0-max
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-skills
Source: https://github.com/RADHA0-max/selfhealbackend/tree/main/nanoclaw/.claude/skills/update-skills
Command: npx skills add https://github.com/RADHA0-max/selfhealbackend --skill update-skills-radha0-max

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Installed channel and provider skills copy code into your repository from upstream branches, and that copied code becomes stale over time. This Skill refreshes those files by re-running each skill's own idempotent apply step, pulling the latest upstream code without merging branches or losing local credentials and configuration. ## Core Features & Use Cases - Preflight Safety Checks: Verifies a clean working tree and confirms the upstream remote before making any changes. - Automatic Detection: Reads the channel and provider barrel files (src/channels/index.ts, src/providers/index.ts) to identify which skills have copied code into the tree. - Selective Re-apply: Lets you pick which installed skills to update, then invokes each skill's own apply (e.g. /add-slack) to fetch and overwrite its code files. - Validation: Runs build and tests after updating, and rebuilds the container image if files under container/ changed. - Use Case: Your Slack channel adapter has a bug fix published upstream. Run /update-skills, select Slack, and the latest adapter code is fetched, validated with build and tests, and ready after a service restart. ## Quick Start Run /update-skills to check which installed channel and provider skills have upstream updates and re-apply the ones you select.

Frequently Asked Questions about update-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update installed Claude Code skills to their latest version?

Run /update-skills in Claude Code. It detects installed channel and provider skills from the barrel files, lets you select which to update, and re-applies each one to fetch the latest upstream code.

How does re-applying a skill fetch upstream code?

Each skill's apply step runs git fetch origin <branch> followed by git show origin/<branch>:path to overwrite its copied files. The update is additive and idempotent, so re-running it is always safe.

Will updating skills overwrite my credentials or local configuration?

No. Re-applying a skill only overwrites that skill's own code files. Environment credentials in .env, database wiring, and barrel import lines are left untouched.

Why does update-skills refuse to run with uncommitted changes?

The preflight check requires a clean working tree, verified with git status --porcelain. This prevents mixing upstream refreshes with your in-progress work, so you must commit or stash changes first.

When do I need to rebuild the container image after updating skills?

Rebuild with ./container/build.sh only when the re-apply changed files under container/, checked via git diff --name-only. Skill code running in the container keeps using the old image until it is rebuilt.