Overview
- Skill Key
- emberdesire/jasper-configguard
- Author
- emberdesire
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/emberdesire/jasper-configguard
- Latest Commit SHA
- 7d06163ddea153ad78d2809d721f8ee9f4a82a97
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Jasper Configguard 技能。 若已安装,则直接安装 Jasper Configguard 技能。
# Jasper ConfigGuard v1.0.0
Safe config changes for OpenClaw with automatic rollback. Never brick your gateway again.
## Setup
```bash
npm install -g jasper-configguard
```
## Usage
### Apply a config change safely
```bash
jasper-configguard patch '{"gateway":{"bind":"tailnet"}}'
```
The tool will:
1. Back up your current config
2. Apply the patch (deep merge)
3. Restart the gateway
4. Wait for health check
5. **Auto-rollback** if gateway fails
### Preview changes
```bash
jasper-configguard patch --dry-run '{"agents":{"defaults":{"model":{"primary":"opus"}}}}'
```
### Restore from backup
```bash
jasper-configguard restore
```
### List backups
```bash
jasper-configguard list
```
### Check health
```bash
jasper-configguard doctor
```
## Agent Integration
Use from your agent to safely modify OpenClaw config:
```bash
# 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
```
## API
```javascript
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);
```
# 🛡️ jasper-configguard
Safe config changes for [OpenClaw](https://openclaw.ai) with automatic rollback. Never brick your gateway again.
## The Problem
One bad config change can take down your OpenClaw gateway. Missing a comma, wrong model name, invalid plugin path — and suddenly your AI agent is unreachable. You're SSH-ing in at 3am to manually restore a backup you hope exists.
## The Solution
`jasper-configguard` wraps every config change in a safety net:
1. **Backup** current config
2. **Apply** your patch (deep merge)
3. **Restart** the gateway
4. **Health check** (waits up to 30s)
5. **Auto-rollback** if gateway fails to come up
## Install
```bash
npm install -g jasper-configguard
```
Or use directly:
```bash
npx jasper-configguard patch '{"gateway":{"bind":"tailnet"}}'
```
## Usage
### Apply a config change safely
```bash
jasper-configguard patch '{"gateway":{"controlUi":{"enabled":true}}}'
```
### Preview changes (dry run)
```bash
jasper-configguard patch --dry-run '{"agents":{"defaults":{"model":{"primary":"anthropic/claude-sonnet-4-5"}}}}'
```
### From a file
```bash
jasper-configguard patch --file my-changes.json
```
### Restore last backup
```bash
jasper-configguard restore
```
### List backups
```bash
jasper-configguard list
```
### Show config diff
```bash
jasper-configguard diff
```
### Validate config
```bash
jasper-configguard validate
```
### Health check
```bash
jasper-configguard doctor
```
## Programmatic Usage
```javascript
const { ConfigGuard } = require('jasper-configguard');
const guard = new ConfigGuard({
configPath: '~/.openclaw/openclaw.json', // auto-detected
timeout: 30, // health check timeout in seconds
});
// Safe patch with rollback
const result = await guard.patch({
gateway: { bind: 'tailnet' }
});
if (result.success) {
console.log('Applied! Backup:', result.backupId);
} else {
console.log('Rolled back:', result.error);
}
// Dry run
const preview = guard.dryRun({ agents: { defaults: { mod...
human-pages-ai
Search and hire real humans for tasks — photography, delivery, research, and more
zseven-w
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
capt-marbles
Attio CRM integration for managing companies, people, deals, notes, tasks, and custom objects. Use when working with Attio CRM data, searching contacts, managing sales pipelines, adding notes to records, creating tasks, or syncing prospect information.
capt-marbles
Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL, get current web info, capture a screenshot, extract specific data from pages, or crawl docs for a framework/library.
caqlayan
Tweet Processor Skill
carlosarturoleon
Connect to Windsor.ai MCP for natural language access to 325+ data sources including Facebook Ads, GA4, HubSpot, Shopify, and more.