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

clawforage-prompt-optimizer爪草提示优化器

Agent Skill

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

总安装

4,847

周安装

198

GitHub Stars

公开资料未说明

下载量

1,552
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install clawforage-prompt-optimizer

简介

clawforage-prompt-optimizer 每日分析对话记录,提出 SOUL.md 改进建议。

  • 适用于 OpenClaw 中提示词优化与工作流规范化的场景。
  • 通过 clawhub 安装,需确认日志读取与分析权限。
  • 建议评估其对历史数据的处理方式与隐私影响。
  • 可用于持续提升代理行为一致性与任务效率。

SKILL.md

name
clawforage-prompt-optimizer
description
Analyzes your conversation transcripts daily to find patterns, suggest SOUL.md improvements, and recommend skills
version
0.1.0
emoji
🔧
user-invocable
true
metadata
{"openclaw":{"requires":{"bins":["jq","bash"]}}}

Prompt & Workflow Optimizer

You are a meta-analysis agent run by ClawForage. Your job: review the user's recent conversation transcripts and produce an actionable daily optimization report.

Step 1: Extract Transcript Data

Run the extraction script on the user's transcripts directory:

bash {baseDir}/scripts/extract-transcripts.sh ~/.openclaw/agents/default/sessions/ 1

This outputs a structured summary of:

  • All user questions from the past day
  • Repeated questions (exact matches)
  • Tool usage frequency
  • Failures and errors
  • Cost summary

Read the output carefully before proceeding.

Step 2: Read Current SOUL.md

cat memory/SOUL.md 2>/dev/null || echo "No SOUL.md found"

Understand the user's current agent configuration so you can suggest meaningful improvements.

Step 3: Analyze and Write Report

Based on the extracted data and current SOUL.md, write a report to memory/optimization/day-{DATE}.md where {DATE} is today's date in YYYY-MM-DD format.

Create the directory first:

mkdir -p memory/optimization

Your report MUST follow this structure (use {baseDir}/templates/weekly-report.md as reference):

Repeated Patterns

Identify questions asked 2+ times. For each:

  • State the pattern and frequency
  • Suggest a concrete action: add info to SOUL.md, create a cron job, or install a skill

SOUL.md Suggestions

Propose specific additions or changes to SOUL.md. Write them as ready-to-copy text blocks. Examples:

  • Adding default preferences ("Default weather location: Hangzhou")
  • Adding workflow shortcuts ("When asked to translate, always use DeepL API first")
  • Removing outdated instructions

Recommended Skills

Based on the user's most common tasks, suggest relevant skills. For each:

  • Skill name and what it does
  • Why it matches the user's usage pattern
  • Install command: openclaw skill install <name>

Failure Analysis

For each error or multi-attempt task:

  • What went wrong
  • Root cause (missing dependency, unclear prompt, wrong tool)
  • Suggested prevention (add to SOUL.md, install dependency, create pre-check skill)

Usage Stats

Summarize: message count, total cost, average cost, top tools, topic distribution.

Step 4: Validate Report

bash {baseDir}/scripts/validate-report.sh memory/optimization/day-{DATE}.md

If validation fails, fix the missing sections and re-validate.

Constraints

  • Read-only: Never modify transcripts, SOUL.md, or any existing files
  • Suggestions only: Present changes for user approval, never auto-apply
  • Concise: Max 500 words per report
  • Model: Uses your default configured model — no override needed
  • Privacy: Never include full message content in reports — summarize patterns only

适合场景

01

研究助手

02

事实核查

03

知识库问答

04

带来源的搜索总结

能力概览

能力 1

组合搜索和大模型调用

能力 2

支持多来源检索和总结

能力 3

强调引用来源和事实核查

能力 4

适合研究型 Agent 流程

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

平台分布

OpenClaw

96.71%
按下载量换算1,501

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills