Skills skill-cmd-service

apiVersion: skill.ooder.net/v1

install
source · Clone the upstream repo
git clone https://github.com/oodercn/skills
manifest: skills/capabilities/monitor/skill-cmd-service/skill.yaml
source content

apiVersion: skill.ooder.net/v1 kind: Skill

metadata: id: skill-cmd-service name: 鍛戒护鐩戞帶鏈嶅姟 version: "3.0.1" description: 鍛戒护鐩戞帶鏈嶅姟锛屾彁渚涘懡浠ゆ墽琛屻€佽緭鍑虹洃鎺с€佺姸鎬佺鐞? author: ooder Team license: Apache-2.0 homepage: https://gitee.com/ooderCN/skills keywords: - cmd - command - monitor - process

spec: skillForm: PROVIDER

ownership: platform

capability: address: 0x58 category: sys code: MON_BASE operations: [execute, monitor, status]

providerType: monitoring

runtime: language: java javaVersion: "8" framework: spring-boot

llmConfig: required: false defaultProvider: "deepseek" defaultModel: "deepseek-chat" capabilities: - chat - streaming - function-calling modelSelection: allowUserOverride: true availableProviders: - deepseek - openai - qianwen - volcengine - ollama functionCalling: enabled: true tools: - name: query_skill_capability description: "鏌ヨ褰撳墠鎶€鑳界殑鑳藉姏鍜屼娇鐢ㄦ柟娉? parameters: type: object properties: capability: type: string description: "鑳藉姏鍚嶇О" detail: type: string enum: [brief, detailed, examples] default: "brief" - name: execute_mvel_action description: "閫氳繃MVEL琛ㄨ揪寮忔墽琛屽悗鍙版搷浣? parameters: type: object properties: expression: type: string description: "MVEL琛ㄨ揪寮? context: type: object - name: generate_ui_form description: "鐢熸垚UI琛ㄥ崟渚涚敤鎴峰~鍐? parameters: type: object properties: formType: type: string fields: type: array items: type: object - name: execute_batch_operation description: "鎵ц鎵归噺鎿嶄綔" parameters: type: object properties: operation: type: string items: type: array items: type: object - name: convert_to_javascript description: "杞崲涓篔avaScript浠g爜渚涚敤鎴蜂娇鐢? parameters: type: object properties: action: type: string parameters: type: object toolChoice: auto rateLimits: requestsPerMinute: 60 tokensPerMinute: 100000

supportedSceneTypes: - monitoring - infrastructure - devops

dynamicSceneTypes: true

autoStart: enabled: true delay: 2s

autoJoin: enabled: true matchSceneTypes: true maxSceneGroups: 10

dependencies: - id: skill-monitor version: ">=0.7.0" required: true description: "鐩戞帶鏈嶅姟渚濊禆"

providedInterfaces: - id: command-service version: "1.0" description: "鍛戒护鏈嶅姟鎺ュ彛"

capabilities: - id: execute name: 鍛戒护鎵ц description: 鎵ц绯荤粺鍛戒护 category: service - id: monitor name: 杈撳嚭鐩戞帶 description: 鐩戞帶鍛戒护杈撳嚭 category: service - id: status name: 鐘舵€佺鐞? description: 绠$悊鍛戒护鐘舵€? category: service

endpoints: - path: /api/commands method: POST description: 鎵ц鍛戒护 capability: execute - path: /api/commands/{id}/output method: GET description: 鑾峰彇杈撳嚭 capability: monitor - path: /api/commands/{id}/status method: GET description: 鑾峰彇鐘舵€? capability: status

config: optional: - name: COMMAND_TIMEOUT type: integer default: 300 description: 鍛戒护瓒呮椂(绉? - name: MAX_OUTPUT_SIZE type: integer default: 1048576 description: 鏈€澶ц緭鍑哄ぇ灏? - name: ALLOWED_COMMANDS type: string default: "*" description: 鍏佽鐨勫懡浠ゅ垪琛?
resources: cpu: "50m" memory: "64Mi" storage: "10Mi"

offline: enabled: true cacheStrategy: local syncOnReconnect: false