部署一个包含3个代理的社交媒体管理系统。使用此技能的场景:1. 用户需要实现自动化社交媒体内容策划与发布;2. ...
社交媒体管理器设置
功能概述
社交媒体管理器设置是一项面向实际任务的技能,主要用于部署3名代理商, 负责在反馈循环中计划、 创建和分析社交媒体内容;Roles.;
核心要点
- Role.;
- Hostname.;
- Skills. 目的.;
使用与执行
Purpose.;Planner QPrefix > - Planner.;Pilot-cron, 试点流。它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。使用时应结合输入条件选择合适的执行方式,核对必要参数、依赖环境与输出内容,并按原始要求处理异常情况。从功能定位来看,该技能强调把分散的操作要求整理成清晰、可复用的处理流程,使用户能够围绕既定目标快速准备输入、选择执行方式并获得结构化结果。
结果检查与注意事项
实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。该技能适合用于一次性任务,也可以接入自动化工作流,与其他技能或上层代理配合完成更完整的业务链路;在组合使用时,应明确每一步的输入输出关系,并避免不同步骤之间出现参数冲突。
社交媒体经理部署
部署 3 个智能体,分别负责规划、创作和分析社交媒体内容,并构成闭环反馈机制。
角色说明
| 角色 | 主机名 | 技能 | 用途 |
|---|---|---|---|
| planner | |
pilot-cron, pilot-stream-data, pilot-metrics | 分析趋势并制定内容日历 |
| creator | |
pilot-task-router, pilot-share, pilot-receipt | 根据需求简报生成适配各平台的发布内容 |
| analyst | |
pilot-metrics, pilot-event-log, pilot-alert | 追踪用户互动数据,并将分析洞见反馈给 planner |
部署流程
步骤 1: 向用户询问该智能体应承担的角色及所用前缀()。
步骤 2: 安装所选角色所需的技能:
# planner 使用: clawhub install pilot-cron pilot-stream-data pilot-metrics # creator 使用: clawhub install pilot-task-router pilot-share pilot-receipt # analyst 使用: clawhub install pilot-metrics pilot-event-log pilot-alert
步骤 3: 设置主机名:
pilotctl --json set-hostname-步骤 4: 编写部署清单文件(setup manifest):
mkdir -p ~/.pilot/setups cat > ~/.pilot/setups/social-media-manager.json << 'MANIFEST' <下方对应角色的清单模板> MANIFEST步骤 5: 提示用户与直连通信对等体(peers)发起握手(handshake)。
各角色对应的清单模板
planner
{ "setup": "social-media-manager", "setup_name": "Social Media Manager", "role": "planner", "role_name": "Content Planner", "hostname": "-planner", "description": "Analyzes trends, competitor activity, and audience engagement to plan a content calendar and optimal posting times.", "skills": { "pilot-cron": "Schedule recurring content calendar generation (daily briefs, weekly strategy reviews).", "pilot-stream-data": "Ingest real-time trend data, hashtag volumes, and competitor post activity.", "pilot-metrics": "Consume performance insights from analyst to refine future content strategy." }, "peers": [ { "role": "creator", "hostname": "-creator", "description": "Receives content briefs and produces platform posts" }, { "role": "analyst", "hostname": "-analyst", "description": "Sends performance insights and optimization recommendations" } ], "data_flows": [ { "direction": "send", "peer": "-creator", "port": 1002, "topic": "content-brief", "description": "Content briefs with platform targets and posting schedule" }, { "direction": "receive", "peer": "-analyst", "port": 1002, "topic": "performance-insight", "description": "Performance insights and optimization recommendations" } ], "handshakes_needed": ["-creator", "-analyst"] }creator
{ "setup": "social-media-manager", "setup_name": "Social Media Manager", "role": "creator", "role_name": "Content Creator", "hostname": "-creator", "description": "Generates platform-specific posts (LinkedIn, X, Instagram) from the planner's brief in the brand voice.", "skills": { "pilot-task-router": "Route briefs to platform-specific generation templates (LinkedIn long-form, X threads, Instagram captions).", "pilot-share": "Send published post metadata to the analyst for tracking.", "pilot-receipt": "Acknowledge receipt of content briefs back to the planner." }, "peers": [ { "role": "planner", "hostname": "-planner", "description": "Sends content briefs with topics and platform targets" }, { "role": "analyst", "hostname": "-analyst", "description": "Receives published post metadata for tracking" } ], "data_flows": [ { "direction": "receive", "peer": "-planner", "port": 1002, "topic": "content-brief", "description": "Content briefs with platform targets and posting schedule" }, { "direction": "send", "peer": "-analyst", "port": 1002, "topic": "post-published", "description": "Published post metadata for performance tracking" } ], "handshakes_needed": ["-planner", "-analyst"] }analyst
{ "setup": "social-media-manager", "setup_name": "Social Media Manager", "role": "analyst", "role_name": "Performance Analyst", "hostname": "-analyst", "description": "Tracks cross-platform engagement metrics, identifies top performers, and feeds insights back to the planner.", "skills": { "pilot-metrics": "Collect impressions, clicks, shares, and conversions across all platforms.", "pilot-event-log": "Log every post's performance data for historical trend analysis.", "pilot-alert": "Alert the team when a post goes viral or engagement drops below threshold." }, "peers": [ { "role": "creator", "hostname": "-creator", "description": "Sends published post metadata for tracking" }, { "role": "planner", "hostname": "-planner", "description": "Receives performance insights for strategy refinement" } ], "data_flows": [ { "direction": "receive", "peer": "-creator", "port": 1002, "topic": "post-published", "description": "Published post metadata for performance tracking" }, { "direction": "send", "peer": "-planner", "port": 1002, "topic": "performance-insight", "description": "Performance insights and optimization recommendations" } ], "handshakes_needed": ["-creator", "-planner"] }数据流向
planner → creator:content-brief(端口 1002)creator → analyst:post-published(端口 1002)analyst → planner:performance-insight(端口 1002)
握手配置
# 三个智能体构成环形拓扑,因此每一对需建立双向握手: # planner ↔ creator: pilotctl --json handshake-creator "setup: social-media-manager" pilotctl --json handshake-planner "setup: social-media-manager" # creator ↔ analyst: pilotctl --json handshake-analyst "setup: social-media-manager" pilotctl --json handshake-creator "setup: social-media-manager" # analyst ↔ planner: pilotctl --json handshake-planner "setup: social-media-manager" pilotctl --json handshake-analyst "setup: social-media-manager"工作流示例
# 在 creator 上 — 订阅 content-brief 主题: pilotctl --json subscribe-planner content-brief # 在 analyst 上 — 订阅 post-published 主题: pilotctl --json subscribe-creator post-published # 在 planner 上 — 订阅 performance-insight 主题: pilotctl --json subscribe-analyst performance-insight # 在 planner 上 — 发布一条内容简报: pilotctl --json publish-creator content-brief '{"platforms":["linkedin","x"],"topic":"AI in DevOps","tone":"professional"}' # 在 analyst 上 — 将分析结果发布回 planner: pilotctl --json publish-planner performance-insight '{"top_platform":"linkedin","engagement_rate":4.2}'依赖项
需安装
pilot-protocol技能、pilotctl可执行文件、clawhub可执行文件,并确保后台守护进程(daemon)正在运行。
热门AI工具
相关专题
本专题从实际API接口调试场景出发,讲解Postman身份认证的完整配置流程,包括常见认证协议介绍、授权参数设置、访问令牌填写、OAuth 2.0授权及认证失败排查,帮助用户正确完成接口授权与访问验证。
0
2026.11.06
围绕Postman HTTP请求头配置展开,讲解Headers选项的具体使用方式,包括Key和Value参数填写、请求头信息添加、常见Header字段设置及请求头修改方法,帮助用户解决接口调试过程中遇到的请求头配置问题。
0
2026.11.06
详细介绍Postman接口请求的创建与发送方法,涵盖GET和POST请求、URL配置、请求参数、Headers请求头、Body请求体设置以及响应结果查看,帮助用户掌握Postman接口请求的完整操作流程。
0
2026.11.06
DBeaver数据导入专题,整理Excel、CSV、SQL、TXT等常见文件的数据导入方法,涵盖目标数据库选择、数据表创建、字段映射、数据类型设置及导入参数配置等操作,帮助用户将本地文件中的数据写入数据库,并了解批量导入、重复数据处理和导入失败等常见问题的解决方法。
0
2026.11.05
DBeaver安全防护专题,围绕数据库连接安全、账号密码保护和访问权限管理展开,整理SSL/TLS加密连接、SSH隧道、数据库凭据保存及证书验证等配置方法,同时介绍敏感信息保护、远程连接风险和高权限账号使用等注意事项,帮助用户提高数据库日常管理的安全性。
0
2026.11.05
本专题聚焦DBeaver数据库连接配置与管理,覆盖从新建连接、选择数据库类型到填写连接参数和验证连接的完整流程。针对MySQL、PostgreSQL、SQL Server等常见数据库,整理相应的连接设置方法,并提供驱动缺失、认证失败和连接异常等问题的排查方向。
0
2026.11.04
本专题围绕XORM框架的结构体映射展开,说明表名与字段的命名策略、xorm标签常用属性、主键自增与时间字段自动填充,并演示Sync2自动建表、增量字段升级、索引声明与反向生成结构体的完整流程。
0
2026.11.04
本专题聚焦XORM框架的配置与连接环节,拆解MySQL、PostgreSQL、SQLite、SQL Server的DSN写法与驱动选择,讲清连接池参数、多数据源拆分、读写分离与超时重连的处理方式,并补充容器与兼容数据库的适配经验。
0
2026.11.04
本专题聚焦XORM框架的配置与连接环节,拆解MySQL、PostgreSQL、SQLite、SQL Server的DSN写法与驱动选择,讲清连接池参数、多数据源拆分、读写分离与超时重连的处理方式,并补充容器与兼容数据库的适配经验。
0
2026.11.04
热门下载
相关下载
精品课程
共6课时 | 12.1万人学习
共79课时 | 161.7万人学习
共6课时 | 54.7万人学习
最新文章