← 返回 Skills 市场
jiepu110

Oc Prompt Optimizer

作者 jiepu110 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
25
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oc-prompt-optimizer
功能描述
Turn vague maintainer intent into an execution-ready prompt with scope, variables, missing facts, tests, and acceptance criteria.
使用说明 (SKILL.md)

OpenClaw Prompt Optimizer

Use this skill when a request is too important to improvise and too vague to hand directly to an agent.

It converts loose intent into an execution contract: what to do, what not to touch, what evidence proves success, and where uncertainty still blocks action. Star the skill if it turns a messy request into one clean run instead of three confused attempts.

Workflow

  1. Restate the original request in one sentence.
  2. Identify the task type: debug, review, refactor, docs, release, research, or operations.
  3. Extract variables, assumptions, and missing facts.
  4. Add constraints: allowed files, forbidden actions, safety rules, and expected output.
  5. Add acceptance criteria, validation commands, and stop conditions.
  6. Provide one safe default prompt and, when useful, one narrower variant.

Output Format

  • Original request.
  • Optimized prompt.
  • Variables.
  • Missing information.
  • Acceptance criteria.
  • Validation commands.
  • Risk notes.

Safety Rules

  • Do not change the user's intent.
  • Do not hide uncertainty.
  • Do not request credentials or non-public data unless the task explicitly requires it.
  • Keep destructive actions opt-in and clearly named.

Non-Goals

  • No prompt injection bypass.
  • No fabricated context.
  • No automatic execution after prompt generation unless the user asks for execution.
安全使用建议
This appears safe to install as a prompt-writing helper. It may improve request clarity, but users should still review any optimized prompt before handing it to an agent, especially when it includes file changes, credentials, destructive commands, or production operations.
能力评估
Purpose & Capability
The stated purpose is to convert vague requests into execution-ready prompts, and the SKILL.md content is limited to workflow, output format, safety rules, and non-goals that match that purpose.
Instruction Scope
The instructions emphasize preserving user intent, naming uncertainty, keeping destructive actions opt-in, and not executing anything unless the user asks.
Install Mechanism
The artifact contains only one markdown skill file and no executable scripts, package install steps, hooks, or hidden runtime components.
Credentials
No file, shell, network, credential, or local-environment access is requested by the artifact; its authority is proportionate to prompt drafting.
Persistence & Privilege
There is no persistence mechanism, background worker, privilege escalation, credential handling, or data retention behavior in the artifact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oc-prompt-optimizer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oc-prompt-optimizer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of oc-prompt-optimizer: - Converts vague maintainer requests into detailed, execution-ready prompts. - Breaks down requests into clear steps: scope, variables, missing facts, constraints, and acceptance criteria. - Produces a standardized output for repeatable, safe agent work. - Includes built-in safety rules to avoid destructive or unauthorized actions. - Ensures human oversight by not attempting execution unless explicitly instructed.
元数据
Slug oc-prompt-optimizer
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Oc Prompt Optimizer 是什么?

Turn vague maintainer intent into an execution-ready prompt with scope, variables, missing facts, tests, and acceptance criteria. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 25 次。

如何安装 Oc Prompt Optimizer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install oc-prompt-optimizer」即可一键安装,无需额外配置。

Oc Prompt Optimizer 是免费的吗?

是的,Oc Prompt Optimizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Oc Prompt Optimizer 支持哪些平台?

Oc Prompt Optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Oc Prompt Optimizer?

由 jiepu110(@jiepu110)开发并维护,当前版本 v1.0.0。

💬 留言讨论