返回顶部
c

clawforage-prompt-optimizer

Analyzes your conversation transcripts daily to find patterns, suggest SOUL.md improvements, and recommend skills

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
117
下载量
0
收藏
概述
安装方式
版本历史

clawforage-prompt-optimizer

# 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 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 ```bash 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: ```bash 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 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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clawforage-prompt-optimizer-1776203582 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clawforage-prompt-optimizer-1776203582 技能

通过命令行安装

skillhub install clawforage-prompt-optimizer-1776203582

下载 Zip 包

⬇ 下载 clawforage-prompt-optimizer v0.1.0

文件大小: 5.57 KB | 发布时间: 2026-4-17 14:23

v0.1.0 最新 2026-4-17 14:23
Initial release of clawforage-prompt-optimizer.

- Provides daily meta-analysis of user conversation transcripts to identify usage patterns and optimization opportunities.
- Suggests actionable improvements to SOUL.md, workflow, and skill recommendations based on transcript data.
- Analyzes repeated questions, tool usage, failures, and cost statistics.
- Generates structured daily optimization reports for user review, following a clear template.
- Ensures privacy by summarizing patterns without revealing full message content.
- Fully read-only and suggestion-based (no automated changes to user data).

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部