name: bot-self-modifier
version: 1.0.0
description: Bot 自修改技能，允许 bot 通过 API 读取和修改自身配置（系统提示词、MCP服务器、技能、环境变量）
author:
  name: sparticle
  email: support@gbase.ai
license: MIT
tags:
  - bot-management
  - self-modifier
  - configuration
runtime:
  python: ">=3.7"
  dependencies: []
entry_point: scripts/bot_modifier.py
env:
  MASTERKEY:
    type: string
    required: true
    description: Master Key for API authentication
  BOT_MODIFIER_API_BASE:
    type: string
    required: false
    default: http://localhost:8001
    description: API server base URL
config:
  bot_id:
    type: string
    required: true
    description: Target Bot ID
  action:
    type: string
    required: true
    description: Action to perform
