Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

self-improving-prompt自我提升提示

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

3,408

周安装

142

GitHub Stars

公开资料未说明

下载量

1,136
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:self-improving-prompt(自我提升提示)
来源仓库:https://github.com/lq434239/self-improving-prompt
安装命令:
openclaw skills install self-improving-prompt
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install self-improving-prompt

简介

优化模糊或高风险的提示请求,增强约束条件与验证步骤以提升安全性。

  • 适用于未明确指定参数或存在歧义的指令,帮助 Agent 更精准响应。
  • 通过 OpenClaw 安装,需保留真实业务规则,勿将示例当作硬性规范。
  • 涉及自动执行时,应在提示中明确确认步骤与失败回退方案。
  • self-improving-prompt 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
self-improving-prompt
description
Refines ambiguous or high-risk user requests before execution. Trigger when the request is underspecified, likely to benefit from clearer constraints or verification, or when the user explicitly asks to refine, improve, optimize, refactor, or compare approaches. Skip clear single-step instructions and already-well-scoped tasks.

self-improving-prompt

Good prompt refinement reduces ambiguity and execution risk. It should not add routine friction to already clear work.

Transform vague or high-risk user prompts into clearer, actionable, verifiable versions. Use this skill selectively: only when refinement materially improves scope, constraints, output expectations, or acceptance criteria.

This skill works standalone. When paired with self-improving-session, the two skills form a closed loop:

  • self-improving-prompt shapes how the current task is framed and executed
  • self-improving-session learns durable workflow rules from the behavior patterns that emerge during those sessions

self-improving-session should learn from behavior and outcomes, not from storing the refined prompt text itself.

Security and Runtime

  • Instruction-only skill; no bundled scripts or external services required
  • No credentials, API keys, or network access required for normal use
  • No persistent configuration changes are required to use the skill
  • Optional automation snippets belong in README only and are not part of the core runtime behavior

Quick Reference

SituationAction
Clear atomic instructionExecute directly
Clear multi-step request with low ambiguityExecute directly
Moderately ambiguous requestRefine silently, then execute
High-risk or highly ambiguous requestShow refined prompt and ask user to choose
User explicitly says "just do it"Show refined version only if useful, then execute
User explicitly says "only refine"Return refined prompt, do not execute
User explicitly asks to compare wording or approachShow refined prompt and ask user to choose

Trigger Threshold

Do not trigger on nearly all input. Trigger only when at least one of these is true:

  • The request is ambiguous enough that you could reasonably execute it in multiple materially different ways
  • The task is high-risk, expensive, or difficult to verify without clearer scope
  • The user explicitly asks to refine, optimize, improve, refactor, compare, or tighten the request
  • The current wording is missing acceptance criteria, non-goals, or output expectations, and those omissions are likely to cause rework

Skip refinement when the request is already specific enough to execute safely.

When NOT to Apply

Skip refinement for:

  • Single-word confirmations or short continuations ("yes", "ok", "continue")
  • Clear atomic edits ("delete line 3", "rename x to y", "change the string to 'abc'")
  • Straightforward factual questions with a clear target
  • Well-scoped engineering tasks that already specify scope and expected outcome
  • Any case where refinement would only reword the task without changing execution quality

Keyword Policy

Keywords such as optimize, improve, refactor, design, and performance are signals, not automatic popup triggers.

If such keywords appear:

  • Increase your refinement score
  • Still judge whether refinement adds substantial value
  • Only ask the user to choose when the refined version meaningfully changes scope, constraints, verification, or deliverables

This avoids unnecessary confirmation loops for already clear requests.

Continue Modes

  1. Execute directly: The prompt is already clear enough. Do not interrupt.
  2. Silent refinement: Improve internal task framing, then execute without showing a compare step.
  3. Compare-first: Show the refined prompt and let the user choose refined vs original.
  4. Refine only: Return the refined prompt without execution.

Substantial Value Test

Refinement has substantial value only if it adds at least two of the following:

  • Clarifies a missing goal or success condition
  • Narrows scope or defines non-goals
  • Adds verification or acceptance criteria
  • Makes output format explicit
  • Resolves a real ambiguity that could change implementation direction

If refinement does not meet that threshold, do not interrupt the user with a comparison step.

Workflow

  1. Read the original request and current session context.
  2. Decide whether to:

- execute directly, - refine silently, - compare-first, or - refine only.

  1. If refining, preserve core intent while making the task easier to execute and verify.
  2. If the user makes a choice, record a minimal preference event for later summarization by self-improving-session.
  3. Never store or surface the full prompt as a learned rule.

Refined Prompt Structure

Use only the modules that add real value:

  • Goal
  • Context
  • Constraints / Non-goals
  • Execution Requirements
  • Output Format
  • Acceptance Criteria

See references/prompt-patterns.md for task-specific patterns. See references/decision-matrix.md for the execution-mode decision table. See references/non-examples.md for cases that should usually skip refinement or compare-first.

Output Rules

A) Execute Directly

  • No popup
  • No compare step
  • No visible refinement if it does not help the user

B) Silent Refinement

  • Refine the internal execution plan
  • Execute immediately
  • Do not stop to compare versions

C) Compare-First

Use only when refinement has substantial value or when the user explicitly asks to compare.

Step 1: Show the refined prompt in chat.

Refined Prompt <refined content>

Step 2: Ask the user whether to continue with:

  • A: Refined prompt
  • B: Original prompt

Preferred interaction:

  • Use AskUserQuestion if available
  • If AskUserQuestion is unavailable or disallowed in the current mode, fall back to plain-text confirmation in chat

Do not present a compare step without first showing the refined prompt. Do not re-enter compare-first for the same user request unless the user explicitly asks for another rewrite.

D) Refine Only

Refined Prompt <refined content>

Do not execute the task.

Clarification Rules

Ask clarifying questions only when missing information blocks safe execution.

  • Ask at most 1 to 2 blocking questions
  • If missing details are optional rather than blocking, proceed
  • Do not ask questions just to appear thorough

When uncertain between execute directly, silent refinement, and compare-first, follow references/decision-matrix.md rather than improvising.

Preference Event Rules

When the user makes a workflow choice, emit only a minimal abstract event for later learning. Example event types:

  • choose_refined
  • choose_original
  • explicit_no_compare
  • explicit_compare_first
  • refine_only_requested

Rules:

  • Record labels, not full prompt text
  • Do not record task-specific details
  • Treat explicit corrections as higher priority than passive preference signals
  • Do not treat user silence as acceptance of a workflow preference

Integration with self-improving-session

  • self-improving-prompt is the source of short-lived preference events
  • self-improving-session decides whether repeated events are durable enough to become rules
  • self-improving-session may learn from sessions shaped by refined prompts, but it should not store or reuse the refined prompt text itself as a rule
  • Prefer a small event log or abstract summary over direct prompt storage

Priority Rules

  • Explicit user instructions override default flow
  • Avoid adding friction to already clear requests
  • Prefer silent refinement over compare-first unless the user benefits from seeing the rewritten version

Optional hook-based automation examples are documented in README.md. They are convenience setup, not a requirement of the skill itself.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.5%
按下载量换算824

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills