Install
openclaw skills install jasper-configguardSafely apply OpenClaw config changes with backup, automatic rollback on failure, health checks, and commands for patching, restoring, listing, diffing, valid...
openclaw skills install jasper-configguardSafe config changes for OpenClaw with automatic rollback. Never brick your gateway again.
npm install -g jasper-configguard
jasper-configguard patch '{"gateway":{"bind":"tailnet"}}'
The tool will:
jasper-configguard patch --dry-run '{"agents":{"defaults":{"model":{"primary":"opus"}}}}'
jasper-configguard restore
jasper-configguard list
jasper-configguard doctor
Use from your agent to safely modify OpenClaw config:
# Safe model switch
jasper-configguard patch '{"agents":{"defaults":{"model":{"primary":"anthropic/claude-opus-4-5"}}}}'
# Enable a plugin safely
jasper-configguard patch '{"plugins":{"entries":{"my-plugin":{"enabled":true}}}}'
# If something breaks, restore
jasper-configguard restore
const { ConfigGuard } = require('jasper-configguard');
const guard = new ConfigGuard();
// Safe patch
const result = await guard.patch({ gateway: { bind: 'tailnet' } });
if (!result.success) console.log('Rolled back:', result.error);
// Dry run
const preview = guard.dryRun({ agents: { defaults: { model: { primary: 'opus' } } } });
console.log(preview.diff);