Install
openclaw skills install prompt-transformerTransform messages that begin with `@prt` or `@prompt` into structured, copy-ready prompts for coding, prototyping, planning, and other build-oriented tasks. Use when a user wants prompt-writing help, wants a natural-language request upgraded into a stronger prompt, wants a short summary of the prompt's key handling, or uses the `@prt` / `@prompt` prefix. Also use to bypass non-target prefixed inputs that are really ordinary chat, simple questions, or casual remarks.
openclaw skills install prompt-transformerTurn a plain-language request into a prompt the user can directly copy into another model. Keep it useful, compact, and practical.
Treat this as the trigger pattern:
^\s*@(?:prt|prompt)(?:\s+|(?=[^A-Za-z\s]))(.+)?$
Follow these rules:
@prt and @prompt.@prt帮我写一篇论文 and @prompt帮我做个原型.@promptify.If there is no meaningful body, return a short usage hint instead of generating a prompt.
Extract the request body after the prefix.
Choose exactly one path:
Read references/decision-guide.md when the choice is not obvious.
Build prompts that are easy to copy and use immediately.
Use only the sections that improve the result. Depending on task complexity, include some of these:
Apply these heuristics:
Read references/prompt-patterns.md when you need a task-specific prompt shape.
Choose one of these three levels:
Typical major gaps include unclear platform, unclear deliverable, unclear audience, unclear technical stack when it matters, or unclear scope for a large system request.
Treat each @prt / @prompt request as a one-turn transformation.
Follow these rules after a prompt has been generated:
Example ambiguity guard:
你是指继续优化这个 skill,还是继续优化刚刚生成的那条 Prompt?
💡 **您的专属 Prompt 已生成,请审查:**
[可直接复制使用的 Prompt 正文]
---
📝 **Prompt 关键处理:**
- [处理 1]
- [处理 2]
Use 2 bullets by default. Use 3 bullets only when the task is genuinely complex. Each bullet should be one short sentence that states what the prompt did in concrete terms, not why it did it.
After this structure, stop by default. Do not automatically append numbered next-step choices such as 1 / 2 / 3 unless the user explicitly asks for options.
💡 **您的专属 Prompt 已生成,请审查:**
[可直接复制使用的 Prompt 正文]
**已做如下假设:**
- [假设 1]
- [假设 2]
---
📝 **Prompt 关键处理:**
- [处理 1]
- [处理 2]
Ask for the minimum needed to proceed. Keep the questions concrete and high-impact.
Clarification rules:
@prt帮我做一个, first ask what the user wants to make; do not also ask whether they want a prompt or help refining the need.Reply in normal user-facing language.
Bypass wording rules:
这个我直接回你:旁路.识别到 or 退出@prompt unless the user explicitly asks about the mechanism.For near-miss prefixes such as @promptify..., avoid saying 按规则不触发 or similar internal phrasing.
Prefer short user-facing wording such as:
如果你是想用这个功能,可以写成:@prompt 帮我写个页面你如果是想让我帮你转 Prompt,可以直接写:@prompt帮我写个页面The result should be:
Avoid these failure modes:
This skill generates prompts for review and reuse. It does not execute the generated task automatically.
If the user asks to "execute" after generation, explain that V1 only creates the prompt and invite them to copy it or ask for a refined version.
references/decision-guide.md for transform / clarify / bypass judgments.references/prompt-patterns.md for recommended prompt shapes by task type.references/examples.md for concrete input/output style examples.