LaunchKit · 2026
Back to Skills

jasper-configguard

Safe config changes for OpenClaw with automatic.

1
1.2k downloads
by @emberdesire

Setup & Installation

openclaw skills install @emberdesire/jasper-configguard

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install jasper-configguard

What This Skill Does

Manages OpenClaw gateway config changes with automatic backup and rollback. Applies patches via deep merge, restarts the gateway, runs a health check, and reverts automatically if the gateway fails to come back up. Also exposes a JavaScript API for use inside agents.

Manual config edits require remembering to back up first and manually reverting on failure, which this automates end-to-end.

When to use it

  • Switching the default model without risking a broken gateway
  • Enabling or disabling a plugin safely in production
  • Previewing a config diff before committing a change
  • Restoring the last known good config after a bad patch
  • Running a health check on the gateway from an agent step

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: switch the primary model to claude-opus-4-5 safely

AGENT
  1. 1Run dry-run to preview the change: jasper-configguard patch --dry-run '{"agents":{"defaults":{"model":{"primary":"anthropic/claude-opus-4-5"}}}}'
  2. 2Confirm diff looks correct
  3. 3Apply the patch: jasper-configguard patch '{"agents":{"defaults":{"model":{"primary":"anthropic/claude-opus-4-5"}}}}'
  4. 4Tool backs up config, applies change, restarts gateway, and runs health check
  5. 5If health check fails, tool auto-rolls back and reports the error
OUTPUT

Gateway running with updated model, or automatically restored to previous config if restart failed