搜索

PythonReactSEOPDF
OpenClaw

Jasper Configguard

Jasper ConfigGuard v1.0.0

emberdesire0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install emberdesire/jasper-configguard

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Jasper ConfigGuard v1.0.0

Safe config changes for OpenClaw with automatic rollback. Never brick your gateway again.

Setup

npm install -g jasper-configguard

Usage

Apply a config change safely
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
jasper-configguard patch --dry-run '{"agents":{"defaults":{"model":{"primary":"opus"}}}}'
Restore from backup
jasper-configguard restore
List backups
jasper-configguard list
Check health
jasper-configguard doctor

Agent Integration

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

API

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);

来源信息

Source
github
Repository
openclaw/skills
Path
skills/emberdesire/jasper-configguard
Version
—
Commit
7d06163ddea153ad78d2809d721f8ee9f4a82a97
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

🛡️ jasper-configguard

Safe config changes for OpenClaw 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

npm install -g jasper-configguard

Or use directly:

npx jasper-configguard patch '{"gateway":{"bind":"tailnet"}}'

Usage

Apply a config change safely
jasper-configguard patch '{"gateway":{"controlUi":{"enabled":true}}}'
Preview changes (dry run)
jasper-configguard patch --dry-run '{"agents":{"defaults":{"model":{"primary":"anthropic/claude-sonnet-4-5"}}}}'
From a file
jasper-configguard patch --file my-changes.json
Restore last backup
jasper-configguard restore
List backups
jasper-configguard list
Show config diff
jasper-configguard diff
Validate config
jasper-configguard validate
Health check
jasper-configguard doctor

Programmatic Usage

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...

来源内容

SKILL.md
# 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);
```
README
# 🛡️ 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...

相关技能

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

OpenClaw

attio

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, creati...

OpenClaw

firecrawl

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...