update-nanoclaw

Merges upstream NanoClaw changes into customized installs with backup, conflict preview, and validation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Customized NanoClaw forks drift from upstream over time, and manually merging updates risks losing local modifications, hitting unexpected conflicts, or missing breaking changes. This Skill automates the safe incorporation of upstream changes without a fresh reinstall. ## Core Features & Use Cases - Safe update workflow: Creates timestamped backup branches and tags before touching anything, previews upstream changes grouped by area (skills, host source, container, build config), and supports merge, cherry-pick, rebase, or abort paths. - Conflict preview and resolution: Runs a dry-run merge to show which files would conflict before committing, then resolves only conflict markers while preserving local customizations. - Validation and migration: Runs builds and tests, rebuilds the container image when container files change, detects [BREAKING] CHANGELOG entries, and offers to run the recommended migration skills. - Use Case: You have a NanoClaw install with custom channel configurations and local patches. Run the update to pull the latest upstream release, resolve two conflicts in src/, rebuild the container, and get a rollback tag in case anything breaks. ## Quick Start Ask Claude Code to run /update-nanoclaw to preview and apply the latest upstream NanoClaw changes to your customized install.

Frequently Asked Questions about update-nanoclaw

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

FAQPage Schema
How do I update a customized NanoClaw install from upstream?

Run /update-nanoclaw in Claude Code. It fetches the upstream remote, previews changes grouped by area, creates a backup branch and tag, then lets you merge, cherry-pick, rebase, or abort before validating with build and tests.

How to merge upstream git changes without losing local customizations?

The skill creates a timestamped backup branch and tag first, then runs a dry-run merge to preview conflicts. During resolution it edits only conflict markers, preserving intentional local changes while incorporating upstream fixes.

Can I cherry-pick only specific upstream commits instead of merging everything?

Yes. Choose the selective update path, review the commit list since the merge base, and provide the hashes you want. The skill runs git cherry-pick and helps resolve any conflicts per commit.

What happens if the NanoClaw update introduces breaking changes?

After validation, the skill diffs CHANGELOG.md against the backup tag for [BREAKING] entries. Each breaking change is shown with its recommended migration skill, and you can select which migrations to run immediately.

How do I roll back if the update breaks my install?

Every run creates a backup tag and branch named pre-update-<hash>-<timestamp>. Run git reset --hard <backup-tag> to restore the exact pre-update state, then restart the service.

Why does the update fail at the preflight step?

Preflight requires a clean working tree. If git status --porcelain shows uncommitted changes, commit or stash them first. The only exception is the skill's own self-refresh changes under .claude/skills/update-nanoclaw/.