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

clawtrace-self-evolve爪痕自我进化

Agent Skill

clawtrace-self-evolve 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,976

周安装

124

GitHub Stars

公开资料未说明

下载量

992
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install clawtrace-self-evolve

简介

clawtrace-self-evolve 用于补充效率相关能力,适合在 OpenClaw 中承接效率类任务时使用。

  • 适用于轨迹数据分析、Agent 行为优化与数据驱动改进等效率场景。
  • 通过 clawhub 安装后,可结合来源仓库和 README 了解分析模型与建议生成逻辑。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 该技能专为 OpenClaw 宿主设计,便于在持续学习流程中嵌入自我进化机制。

SKILL.md

name
ClawTrace Self-Evolve
description
Ask Tracy to analyze your recent trajectories and improve your agent behavior based on data-driven recommendations.
version
1.0.0
metadata
{"openclaw":{"emoji":"🔬","os":["linux","darwin","win32"],"homepage":"https://clawtrace.ai","requires":{"env":["CLAWTRACE_OBSERVE_KEY"]}}}

ClawTrace Self-Evolve Skill

You have access to ClawTrace, an observability platform that captures and analyzes all your trajectories. Use this skill to understand your own performance and improve over time.

When to Use This Skill

Invoke this skill when any of the following is true:

  • A run just completed and cost more than expected
  • A run failed or produced unexpected output
  • You've completed 5 or more runs since your last self-analysis
  • Your session is ending and you want to log learnings
  • You notice repeated failures on the same type of task

How to Call the Endpoint

Send a POST request to https://api.clawtrace.ai/v1/evolve/ask.

Authentication uses your observe key, which is already set in your environment as CLAWTRACE_OBSERVE_KEY.

import httpx
import os

def ask_tracy(question: str, trace_id: str = None, session_id: str = None) -> str:
    """Ask Tracy to analyze trajectories and return recommendations."""
    observe_key = os.environ.get("CLAWTRACE_OBSERVE_KEY", "")
    if not observe_key:
        return "ClawTrace observe key not configured."

    payload = {"question": question}
    if trace_id:
        payload["trace_id"] = trace_id
    if session_id:
        payload["session_id"] = session_id

    full_response = []

    with httpx.stream(
        "POST",
        "https://api.clawtrace.ai/v1/evolve/ask",
        headers={
            "Authorization": f"Bearer {observe_key}",
            "Content-Type": "application/json",
        },
        json=payload,
        timeout=120,
    ) as response:
        event_type = ""
        for line in response.iter_lines():
            if line.startswith("event: "):
                event_type = line[7:]
            elif line.startswith("data: ") and event_type == "text":
                import json
                data = json.loads(line[6:])
                full_response.append(data.get("text", ""))

    return "".join(full_response)

What to Ask — Question Templates

Use these questions for maximum insight. Substitute actual values for placeholders.

After a costly run

"My last run cost significantly more than usual. The trace_id is {trace_id}. 
What caused the cost spike and what should I change to prevent it?"

After a failed run

"My last run failed. The trace_id is {trace_id}. 
What step failed, what was the input that caused it, and how should I handle this case differently?"

Periodic self-analysis (every 5 runs)

"Analyze my last 10 trajectories. What patterns do you see in my failures? 
Where am I spending the most tokens? What one change would have the biggest impact on cost and reliability?"

Before a high-stakes task

"I'm about to execute a complex multi-step task. Based on my recent trajectory history, 
what are my most common failure modes and how should I guard against them?"

Context window management

"Is my context window growing too large across sessions? 
Review my recent traces and tell me if I should trim my history and when."

Tool call efficiency

"Which of my tool calls are taking the longest or failing most often? 
What can I change to make my tool usage more reliable and efficient?"

How to Act on Recommendations

When Tracy responds, follow these rules:

  1. Extract the core recommendation. Tracy will identify 1–3 specific changes. Focus on the highest-impact one.
  1. Apply changes to this session immediately. If Tracy says your context window is bloated, trim history now before continuing.
  1. Log the insight to your MEMORY.md. Record what you learned so future sessions benefit:
   ## ClawTrace Learnings — {date}
   - Issue: {what Tracy found}
   - Fix: {what I changed}
   - Impact: {expected improvement}
  1. Confirm the change worked. After applying a recommendation, mention it in your next response: "Based on trajectory analysis, I've adjusted X to prevent Y."
  1. Do not ask Tracy more than twice per session unless a new failure occurs. Each call consumes credits and Tracy's value is in patterns across many runs, not micro-optimization within one session.

Example — Full Interaction

# End of a session — periodic self-review
insight = ask_tracy(
    "Analyze my performance over the last 5 trajectories. "
    "What's costing the most, what's failing, and what's the single most important thing to fix?"
)

# Tracy responds with analysis
# You read it, extract the recommendation, and act:
# e.g. "Your context window averages 1,200 messages per LLM call. 
#       Trim to last 50 messages. This would cut input cost by ~90%."

# Apply immediately:
# → truncate conversation history to last 50 messages
# → log to MEMORY.md
# → confirm in next output

Important Notes

  • Tracy has access to your real trajectory data. Her analysis reflects actual runs, not simulations.
  • Responses stream as SSE — parse the text events to build the full response.
  • The session_id returned in the first SSE event can be reused to continue a conversation with Tracy across multiple calls.
  • Tracy respects tenant isolation — she can only see your own trajectories.
  • If you don't have a specific trace_id, omit it and Tracy will analyze recent trajectories automatically.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

75.63%
按下载量换算750

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills