AgentSkillsCN

Config

配置

SKILL.md

SpockAI Config Skill

Name: spockai-config Version: 0.1.0 Description: Configuration management for SpockAI settings

Commands

CommandDescriptionUsage
/config showDisplay current configuration/config show [section]
/config exportExport configuration to file`/config export [--format json
/config backupCreate configuration backup/config backup [name]
/config restoreRestore from backup/config restore <name>
/config setSet a configuration value/config set <key> <value>

Configuration Sections

SectionDescription
emailEmail account settings
calendarCalendar source settings
beansBEANS scan path settings
notificationsNotification channel settings
servicesExternal service settings

Examples

code
# Show all configuration
/config show

# Show specific section
/config show email
/config show notifications

# Export configuration
/config export
/config export --format yaml

# Create backup
/config backup
/config backup pre-migration

# Restore from backup
/config restore pre-migration

# Set value
/config set notifications.digestInterval 10

Configuration File Location

SpockAI configuration is stored in:

  • Linux/macOS: ~/.openclaw/openclaw.json
  • Windows: %USERPROFILE%\.openclaw\openclaw.json

Configuration Structure

json
{
  "spockai": {
    "email": {
      "accounts": [],
      "syncInterval": 5,
      "priorityRules": {}
    },
    "calendar": {
      "sources": [],
      "defaultWindow": "today",
      "reminderLeadTime": 15
    },
    "beans": {
      "scanPaths": [],
      "scanInterval": 30,
      "enabled": true
    },
    "notifications": {
      "channel": "telegram",
      "digestInterval": 5,
      "telegram": {},
      "teams": {},
      "rules": []
    },
    "services": {
      "syncInterval": 15,
      "samanage": {},
      "monday": {}
    }
  }
}

Backup Storage

Backups are stored in:

  • ~/.openclaw/backups/spockai-{timestamp}.json

Security Notes

  • Sensitive values (API tokens, passwords) are encrypted at rest
  • Export excludes sensitive values by default
  • Use --include-secrets flag to include encrypted values in export