Skills skill-email

apiVersion: skill.ooder.net/v1

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

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

metadata: id: skill-email name: 閭欢鏈嶅姟 version: "3.0.1" description: 閭欢鏈嶅姟锛屾敮鎸侀偖浠跺彂閫併€佹帴鏀躲€佹ā鏉跨鐞? author: ooder Team license: Apache-2.0 homepage: https://gitee.com/ooderCN/skills keywords: - email - mail - notification - smtp

spec: skillForm: PROVIDER

ownership: independent

capability: address: 0x52 category: msg code: COMM_EMAIL operations: [send, receive, template]

providerType: communication

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: - notification - marketing - workflow

dynamicSceneTypes: true

autoStart: enabled: true delay: 2s

autoJoin: enabled: true matchSceneTypes: true maxSceneGroups: 20

dependencies: []

providedInterfaces: - id: email-service version: "1.0" description: "閭欢鏈嶅姟鎺ュ彛"

capabilities: - id: send name: 閭欢鍙戦€? description: 鍙戦€侀偖浠? category: service - id: receive name: 閭欢鎺ユ敹 description: 鎺ユ敹閭欢 category: service - id: template name: 妯℃澘绠$悊 description: 閭欢妯℃澘绠$悊 category: service

endpoints: - path: /api/email/send method: POST description: 鍙戦€侀偖浠? capability: send - path: /api/email/templates method: GET description: 鑾峰彇妯℃澘鍒楄〃 capability: template - path: /api/email/templates method: POST description: 鍒涘缓妯℃澘 capability: template

config: required: - name: SMTP_HOST type: string description: SMTP鏈嶅姟鍣ㄥ湴鍧€ - name: SMTP_PORT type: integer description: SMTP绔彛 - name: SMTP_USERNAME type: string description: SMTP鐢ㄦ埛鍚? - name: SMTP_PASSWORD type: string description: SMTP瀵嗙爜 optional: - name: SMTP_AUTH type: boolean default: true description: 鍚敤璁よ瘉 - name: SMTP_TLS type: boolean default: true description: 鍚敤TLS

resources: cpu: "50m" memory: "64Mi" storage: "10Mi"

offline: enabled: true cacheStrategy: local syncOnReconnect: false

knowledge: documents: - id: overview name: 鍔熻兘姒傝堪 path: README.md type: guide language: zh priority: high ragConfig: enabled: true indexName: "skill-email-knowledge" embeddingModel: text-embedding-3-small chunkSize: 1000 chunkOverlap: 200 searchStrategy: hybrid topK: 5 threshold: 0.7