360 Secure SkillHub
360 安全技能中心

Skylv Agent Settings Manager

这是AI代理配置管理工具,核心功能含:按JSON schema验证配置、跨环境创建/对比/升级配置、安全管理密钥(轮换+泄漏检测)、配置版本历史与回滚、Git同步及自动重载。适用于多环境管控、AI代理配置集中管理、合规校验、灾难恢复及团队协作,通过命令行操作,输出对应结果。

sky-lv
sky-lv
热度 40.21
最近更新 2026-05-11 17:47:06
分类:开发依赖:代码执行 / 读写文件 / 第三方 API应用场景:DevOps / 自动化脚本 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add skylv-agent-settings-manager
Metadata
name
agent-settings-manager
slug
agent-settings-manager
version
1.0.0
description
Configuration management for AI agents. Manage, validate, version, and sync configs across environments. Triggers: config management, configuration, env variables, config validation, config sync.
author
SKY-lv
license
MIT-0
tags
["configuration","management","devops"]
keywords
["config management","configuration","env variables","config validation","config sync","config versioning","secrets management","environment config"]
triggers
agent-settings-manager

Config Management

Configuration management for AI agents. Manage, validate, version, and sync configurations across environments securely.

Overview

A configuration management system that helps agents handle application settings, environment variables, secrets, and feature flags. Provides validation, versioning, diffing, and secure sync across environments.

Capabilities

1. Config Validation

node config.js validate --file config.json --schema config.schema.json
node config.js validate --strict --check-types --check-required

Validates configuration files against JSON schemas with type checking and required field enforcement.

2. Environment Management

node config.js env create --name staging --from dev --override api.url,staging.api.com
node config.js env diff --from dev --to production
node config.js env promote --from staging --to production --dry-run

Create, compare, and promote configurations across environments with override support.

3. Secret Handling

node config.js secrets set --key DB_PASSWORD --env production
node config.js secrets rotate --env production --keys API_KEY,DB_PASSWORD
node config.js secrets check --scan-for-leaks

Secure secret management with rotation and leak detection.

4. Version Control

node config.js history --file config.json --last 10
node config.js rollback --file config.json --to-version 5
node config.js diff --version 5 vs 7

Full version history with diff and rollback capabilities.

5. Sync & Distribution

node config.js sync --source git --repo org/configs --path /production
node config.js sync --watch --auto-reload --debounce 5s

Sync configurations from git repositories with auto-reload on changes.

Configuration

{
  "configManagement": {
    "environments": ["dev", "staging", "production"],
    "validation": {
      "strict": true,
      "schema": "./schemas/config.schema.json"
    },
    "secrets": {
      "provider": "vault",
      "rotation": "90d",
      "scanForLeaks": true
    },
    "versioning": {
      "enabled": true,
      "maxVersions": 50
    },
    "sync": {
      "source": "git",
      "watch": true,
      "autoReload": true,
      "debounceMs": 5000
    }
  }
}

Use Cases

  • Multi-Environment: Manage different configs for dev, staging, production
  • Agent Configuration: Centralize AI agent configuration management
  • Compliance: Validate configs meet security and compliance standards
  • Disaster Recovery: Rollback configurations to known-good versions
  • Team Collaboration: Share and sync configs across team members