← Back to Skills Marketplace
jiepu110

Oc Prompt Optimizer

by jiepu110 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
25
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install oc-prompt-optimizer
Description
Turn vague maintainer intent into an execution-ready prompt with scope, variables, missing facts, tests, and acceptance criteria.
README (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.
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install oc-prompt-optimizer
  3. After installation, invoke the skill by name or use /oc-prompt-optimizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug oc-prompt-optimizer
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Oc Prompt Optimizer?

Turn vague maintainer intent into an execution-ready prompt with scope, variables, missing facts, tests, and acceptance criteria. It is an AI Agent Skill for Claude Code / OpenClaw, with 25 downloads so far.

How do I install Oc Prompt Optimizer?

Run "/install oc-prompt-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Oc Prompt Optimizer free?

Yes, Oc Prompt Optimizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Oc Prompt Optimizer support?

Oc Prompt Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Oc Prompt Optimizer?

It is built and maintained by jiepu110 (@jiepu110); the current version is v1.0.0.

💬 Comments