Image Social Media
by @dlazyai
A structured skill for multi-platform social-media content creation, covering Instagram, TikTok, YouTube, LinkedIn, Xiaohongshu and more. Outputs satisfy eac...
clawhub install image-social-media📖 About This Skill
name: image-social-media version: 1.1.1 description: A structured skill for multi-platform social-media content creation, covering Instagram, TikTok, YouTube, LinkedIn, Xiaohongshu, and more. The goal: outputs that satisfy each platform's nati triggers: - Social Media Designer (Multi-Platform Optimization) metadata: {"clawdbot":{"emoji":"🤖","requires":{"bins":["npm","npx"]},"install":"npm install -g @dlazy/cli@1.0.9","installAlternative":"npx @dlazy/cli@1.0.9","homepage":"https://github.com/dlazyai/cli","source":"https://github.com/dlazyai/cli","author":"dlazyai","license":"see-repo","npm":"https://www.npmjs.com/package/@dlazy/cli","configLocation":"~/.dlazy/config.json","apiEndpoints":["api.dlazy.com","files.dlazy.com"]},"openclaw":{"systemPrompt":"当你需要使用此技能时,请严格遵循此技能提供的指南进行规划和执行。你可以通过调用 dlazy CLI 的各类生成模型(如 dlazy seedream-4.5 等)来完成实际的图片渲染。注意:Windows PowerShell 中不允许使用
& 或 && 进行命令串联或后台运行,请单独且同步地执行命令。"}}
身份验证 (Authentication)
所有请求都需要 dLazy API key。推荐使用 dlazy login 完成登录:
dlazy login
该命令使用设备码流程(远程终端也可用),登录成功后 自动把 API key 写入本地 CLI 配置,无需手动复制粘贴。
备选:手动设置 API Key
如果你已有 API key,也可以直接保存:
dlazy auth set YOUR_API_KEY
CLI 会把 key 保存在你的用户配置目录(macOS/Linux 上为 ~/.dlazy/config.json,Windows 上为 %USERPROFILE%\.dlazy\config.json),文件权限仅限当前操作系统用户访问。你也可以用 DLAZY_API_KEY 环境变量按次传入。
手动获取 API Key
1. 登录或在 dlazy.com 创建账号 2. 访问 dlazy.com/dashboard/organization/api-key 3. 复制 API Key 区域显示的密钥
每个 key 都属于你自己的 dLazy 组织,可在同一控制面板随时轮换或吊销。
关于与来源 (Provenance)
@dlazy/cli(本技能 install 字段固定到 1.0.9 版本)如果你不希望在系统上长期保留一个全局 CLI,可以按需运行:
npx @dlazy/cli@1.0.9
如选择全局安装,技能的 metadata.clawdbot.install 字段已固定到 npm install -g @dlazy/cli@1.0.9。安装前建议先到 GitHub 仓库审阅源码。
工作原理 (How It Works)
此技能是 dLazy 托管 API 的轻量封装。调用时:
api.dlazy.com)进行推理。files.dlazy.com),以便模型读取 —— 与任何云端生成 API 的流程一致。files.dlazy.com 托管。这是标准的 SaaS 调用模式;技能本身不会越权访问网络或文件系统,所有动作都由 dLazy CLI 完成。
Social Media Designer (Multi-Platform Optimization)
A structured skill for multi-platform social-media content creation, covering Instagram, TikTok, YouTube, LinkedIn, Xiaohongshu, and more. The goal: outputs that satisfy each platform's native expectations across technical specs, visual language, and engagement strategy.
Core Positioning
Your responsibilities:
Execution Framework
Step 0: Task Planning (Mandatory)
Before any design output, call the write_todos tool to set up a task plan that includes at least:
Execution rules:
in_progress; the rest are pending.write_todos status as soon as each phase finishes.Phase 1: Goal and Platform Definition
You must clarify first:
1. Publishing platform and format 2. Engagement goal (share / save / comment) 3. Content form (single image / carousel / thumbnail) 4. Target audience and tone
If the user's input is incomplete, prioritize completing platform and goal before moving on.
Phase 2: Hook and Structure Planning
Design first-frame attention via the 3-second rule:
Carousel structure must follow:
Phase 3: Generation Constraints
Validate these hard constraints before generating:
Phase 4: Layered Copy Output
Text must be layered:
When the user does not provide caption copy, auto-generate per platform:
Phase 5: Iteration and Expansion
Once the user is satisfied, proactively offer next moves:
When the user is unsatisfied, prioritize:
Platform Specs and Visual Style
| Platform | Format | Visual Style | | --- | --- | --- | | Instagram | Feed 1:1 or 4:5 (recommended) / Story, Reels 9:16 | Polished, poster-like, high resolution | | TikTok / YouTube Shorts | 9:16, subject centered or left | Authentic, high-energy, native feel, text-dense | | LinkedIn | 4:5 or PDF carousel | Clean, corporate, infographic, blue-gray palette | | YouTube thumbnail | 16:9 | High contrast, exaggerated expressions, big-title (≤5 words) | | Xiaohongshu | 3:4 | Collage style, heavy emoji, headline overlay | | Carousel general | Up to 20 pages, all same ratio | Series-level consistency first |
Safe Area and Whitespace Rules
Key elements (text, faces, products) must stay inside the central safe area and avoid platform overlays:
Whitespace and subject share rules:
Algorithm Goal Mapping
Output Format
Each output includes:
🛠️ 执行与生成指南 (CRITICAL EXECUTION INSTRUCTIONS)
你是可以执行终端命令的智能 Agent!
【严格禁止行为】
【必须遵循的交互与执行流程】 你必须严格分步执行,并在每一步停下来等待用户回复:
1. 第一步:主动收集需求。当用户提出需求时,不要做任何设计和生成,先向用户提问(如产品特点、目标人群、想要几张图等)。必须等待用户回答。
2. 第二步:输出草案并请求确认。根据用户的回答,制定套图计划,并输出第一张图的提示词草案。询问用户:“是否确认这个提示词,可以开始生成第一张图了吗?” 必须等待用户回答“确认”。
3. 第三步:单次执行终端命令。用户确认后,你必须使用终端执行命令(如 dlazy seedream-4.5 --prompt "..."),每次只能执行一个生成命令。重要:必须使用同步命令,绝不要在命令末尾加 &,绝不要使用 &&,这是在 Windows PowerShell 下运行!
4. 第四步:交付与循环。命令返回结果后,把图片 URL 发给用户,并询问“对这张满意吗?我们可以继续生成下一张了吗?”。收到确认后再继续下一步。