Skills skill-media-weibo
apiVersion: skill.ooder.net/v1
git clone https://github.com/oodercn/skills
skills/.archive/v0.x/skill-media-weibo/skill.yamlapiVersion: skill.ooder.net/v1 kind: Skill
metadata: id: skill-media-weibo name: 微博发布服务 version: 0.7.3 category: biz description: 微博内容发布服务,支持微博发布、互动管理 author: ooder Team license: Apache-2.0 homepage: https://gitee.com/ooderCN/skills keywords: - media - weibo - publish - social
spec: skillForm: DRIVER skillCategory: SERVICE sceneType: TRIGGER purposes: - CONTENT_PUBLISHING - SOCIAL_MEDIA
ownership: independent
capability: address: 0x4A category: MEDIA code: MEDIA_WEIBO operations: [publish, update, delete, interact]
driverType: media
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: "转换为JavaScript代码供用户使用" parameters: type: object properties: action: type: string parameters: type: object toolChoice: auto rateLimits: requestsPerMinute: 60 tokensPerMinute: 100000
supportedSceneTypes: - content-publish - marketing-automation - social-media-management
dynamicSceneTypes: true
autoStart: enabled: false
autoJoin: enabled: true matchSceneTypes: true maxSceneGroups: 10
dependencies: - id: skill-common version: ">=1.0.0" required: true description: "通用工具类" - id: skill-user-auth version: ">=0.7.0" required: false description: "用户认证服务(间接)" - id: skill-vfs-base version: ">=1.0.0" required: false description: "文件存储服务(间接)"
providedInterfaces: - id: media-publish version: "1.0" description: "媒体发布接口"
capabilities: - id: weibo-publish name: 微博发布 description: 发布微博 category: service - id: weibo-delete name: 微博删除 description: 删除微博 category: service - id: weibo-interact name: 互动管理 description: 评论、点赞管理 category: service
endpoints: - path: /api/media/weibo/posts method: POST description: 发布微博 capability: weibo-publish - path: /api/media/weibo/posts/{id} method: DELETE description: 删除微博 capability: weibo-delete - path: /api/media/weibo/posts/{id}/comments method: GET description: 获取评论 capability: weibo-interact
config: required: - name: WEIBO_APP_KEY type: string description: 微博AppKey - name: WEIBO_APP_SECRET type: string description: 微博AppSecret optional: - name: WEIBO_API_URL type: string default: "https://api.weibo.com" description: API地址
resources: cpu: "50m" memory: "64Mi" storage: "10Mi"
offline: enabled: false
knowledge: documents: - id: overview name: 功能概述 path: README.md type: guide language: zh priority: high ragConfig: enabled: true indexName: "skill-media-weibo-knowledge" embeddingModel: text-embedding-3-small chunkSize: 1000 chunkOverlap: 200 searchStrategy: hybrid topK: 5 threshold: 0.7