text-generate

text-generate is a skill for Claude Code, Codex from meitu/meitu-skills. It costs 87 tokens per session (1,867 once invoked), scanned A, original, MIT.

A text-generation skill that uses a separate language model to create copy, product descriptions, articles, scripts, storyboards, or image and video prompts from a direction. It is for new text and does not handle code, tables, or media generation.

In plain words
What is it for?
Writing marketing copy, social posts, blog articles, advertising lines, video storyboards, and optimized prompts, including multilingual content.
Why use it?
It gives an agent a defined route for creating or rewriting content when the request is only a starting idea, while avoiding duplicate generation when complete text is already available.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Writing marketing copy, social posts, blog articles, advertising lines, video storyboards, and optimized prompts, including multilingual content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meitu/meitu-skills/text-generate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add meitu/meitu-skills --skill text-generate
Clone the repo
git clone --depth 1 https://github.com/meitu/meitu-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for text-generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/meitu/meitu-skills/text-generate/github.svg)](https://agentmods.dev/skills/meitu/meitu-skills/text-generate)
Your own site
<a href="https://agentmods.dev/skills/meitu/meitu-skills/text-generate"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/text-generate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for text-generate

Your own site · 80×15
<a href="https://agentmods.dev/skills/meitu/meitu-skills/text-generate"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/text-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 5
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 9
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 11
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 17
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 21
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.01867
Opus 5 $0.00044 $0.00933
Sonnet 5 $0.00017 $0.00373
Haiku 4.5 $0.00009 $0.00187

Measured 11d ago against content hash b1a55d29d289, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

text-generate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/text-generate/SKILL.md · 160 lines

How it starts

The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Text Generate(文本生成)

Overview

独立 LLM 深度创作工具,从零生成文案/脚本/分镜/视频提示词等纯文本内容。覆盖营销文案、产品描述、社交媒体文案、文章/博客、广告语、内容润色改写、多语言文案、图片/视频参考文案、视频分镜规划、视频提示词优化。⚠️ 上下文中已有完整内容时禁止调用,应改用 write_file 直接落盘;仅当上下文只有方向性需求、需要 LLM 独立深度思考时使用。不处理:视频/图片/音频/代码/表格生成。

API Mapping

场景 后端 API 底层模型
通用文本 / 分镜脚本生成 text_generate qwen3.6-vl-plus(scone)/ gemini-3.1-pro-preview(pretzel_pro)

model 映射:

  • auto(默认)/ 不传 → 按路由规则决策
  • sconeqwen3.6-vl-plus(日常主力)
  • pretzel_progemini-3.1-pro-preview(视频理解最强,长上下文)
  • 双模型互为兜底

Dependencies

  • meitu-cli: >=2.0.6
  • 凭证:CONFIG AKSK → meitu tools update;EXEC AKSK → 跑命令(见根 CONFIG.md
  • 环境变量MEITU_OPENAPI_TOOL_TASK_MODE=command

Core Workflow

Preflight → Execute → Deliver

Preflight

  1. meitu --version ≥ 2.0.6
  2. meitu auth verify --json
  3. 确认 registry 含 text-generate
  4. 解析 output_dir:openclaw.yaml./output/;else → ~/.openclaw/workspace/visual/output/text-generate/

Execute

触发信号 / 路由规则

场景 判定维度 路由
有视频参考 video_list 非空 锁定 gemini-3.1-pro-preview(pretzel_pro)
高难度场景 调用方显式传 model=pretzel_pro gemini-3.1-pro-preview
日常场景 auto / 未传 model qwen3.6-vl-plus(scone,日常默认)

高难度判定标准(由调用方判断):视频输入、长上下文 >2000 字、复杂推理(多步逻辑/对比分析/因果论证)、专业领域(法律/医学/金融/学术)、多约束创作(≥3 创作约束同时)、跨语言深度适配、多镜头分镜脚本规划。

参数定义

参数 类型 必填 默认值 说明
summary STRING -- 文案/分镜需求描述。应含文案类型、目标受众、核心目标、风格;分镜场景需含主题、镜头数、场景描述。缺失 → 追问
language STRING 简体中文 输出语言,跟用户输入语言一致
model STRING 按路由规则 可选 scone / pretzel_pro
prompt_name STRING auto 提示词优化模板名称
image_list ARRAY -- 参考图片 URL 列表,无则不传
video_list ARRAY -- 参考视频 URL 列表,无则不传
output_file STRING -- 输出文件 URL 地址

工具调用

日常文案:

meitu text-generate \
  --skill_name skill_text-generate \
  --summary "{需求描述}" \
  --language "简体中文" \
  --json

Read the full file on GitHub · 160 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 160 lines · 87 tokens per session scan A b1a55d29d289

Subscribe to this mod's changes

text-generate is a skill published in the GitHub repository meitu/meitu-skills (32 stars, last pushed 13d ago), licensed MIT. It adds 87 tokens to every session and 1,867 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens