clawevolve-diagnose

clawevolve-diagnose is a skill for Codex from inclusionAI/Avernet. It costs 117 tokens per session (3,914 once invoked), scanned A, original, Apache-2.0.

A diagnostic tool for reviewing a bounded set of OpenClaw session records, which are saved records of earlier bot interactions. It extracts evidence-backed good and bad cases and records possible behavior or tool-use problems.

In plain words
What is it for?
Use it to investigate historical sessions, find evaluation cases, identify good and bad behavior, and create input for the planning stage of a self-improvement loop.
Why use it?
It turns past sessions into structured evidence for deciding what should be improved, without manually reviewing and rewriting the entire evolution process.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cd clawevolve-diagnose && bash scripts/run.sh '<用户完整/clawevolve-diagnose命令原文>'.

Good fit Use it to investigate historical sessions, find evaluation cases, identify good and bad behavior, and create input for the planning stage of a self-improvement loop.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/inclusionAI/Avernet
agentmods
npx agentmods add skills/inclusionai/avernet/clawevolve-diagnose

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clawevolve-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/inclusionai/avernet/clawevolve-diagnose/github.svg)](https://agentmods.dev/skills/inclusionai/avernet/clawevolve-diagnose)
Your own site
<a href="https://agentmods.dev/skills/inclusionai/avernet/clawevolve-diagnose"><img src="https://agentmods.dev/badge/skills/inclusionai/avernet/clawevolve-diagnose/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clawevolve-diagnose

Your own site · 80×15
<a href="https://agentmods.dev/skills/inclusionai/avernet/clawevolve-diagnose"><img src="https://agentmods.dev/badge/skills/inclusionai/avernet/clawevolve-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,914 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.03914
Opus 5.5 $0.00047 $0.01566
Sonnet 5.5 $0.00023 $0.00783
Haiku 4.5 $0.00012 $0.00391

Measured 21d ago against content hash 730f75b37136, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clawevolve-diagnose scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

The scan reads SKILL.md. This mod also ships 56 executable files (clawevolve_diagnose/__init__.py, clawevolve_diagnose/_ocsa_session_report/__init__.py, clawevolve_diagnose/_ocsa_session_report/domain/__init__.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. **只运行一次脚本**:禁止先空跑 `bash scripts/run.sh`,禁止失败后换参数重跑,禁止手工 curl ClawWeb 代替脚本。
apps/evolverun/clawweb-skills/clawevolve-skills/clawevolve-diagnose/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.

clawevolve-diagnose

平台核心实现选择

按下文运行原诊断脚本。脚本在会话分析调用处选择默认或自定义业务实现,继续负责采集、筛选、产物生成与上报;Agent 无需另行调度或提交结果。

最高优先级执行规则

  1. 用户怎么调用,就怎么传给脚本:不要改参数名、不要改 ID 字符、不要补参数、不要删除参数。
  2. 只运行一次脚本:禁止先空跑 bash scripts/run.sh,禁止失败后换参数重跑,禁止手工 curl ClawWeb 代替脚本。
  3. ID 必须原样保留:EV-...、STEP-... 中的连字符 - 不能改成下划线 _;参数名必须是 --task-id、--step-id。

执行前自检最终 shell 命令:

  • shell 命令必须包含用户原始 --task-id、--step-id;若用户提供了 --api-key、--model 等参数,也必须逐字符保留。
  • shell 命令中的 task-id/step-id 必须与用户文本逐字符一致。

角色定位

收到 /clawevolve-diagnose ... 或用户要求“诊断历史 session / 抽取 eval case / 挖掘 good/bad case / 为 clawevolve-plan 准备输入”时,Agent 只做脚本执行器:运行脚本、等待结束、读取最终 stdout JSON、按 JSON 指示下一步。不要手工分析 session、不要重写流程、不要自行上传或生成模板。

固定链路:发现本地 sessions → selected session judge 诊断 → 去重选 case → 写 artifacts/plan-source.json → 上报 ClawWeb step report。模板生成属于 clawevolve-plan,不在本 skill 内完成。

必须执行的命令

收到 /clawevolve-diagnose ... 后,只运行一次前台脚本,并把用户的完整 slash command 作为一个单独引号参数传给 scripts/run.sh。这是唯一推荐方式,可最大程度避免自然语言、日期范围和 ID 被拆坏:

cd clawevolve-diagnose && bash scripts/run.sh '<用户完整/clawevolve-diagnose命令原文>'

稳定脚本调用建议使用显式 --intent:

cd clawevolve-diagnose && bash scripts/run.sh \
  --task-id "$TASK_ID" \
  --step-id "$STEP_ID" \
  --judge-backend subagent \
  --intent "诊断工具调用失败和异步任务未完成的问题,抽取最多10个case,重点关注最近7天"

示例:用户输入是:

/clawevolve-diagnose --api-key *** --model GLM-5 --intent "抽取 20260723 至 20260804 的5个case,有good和bad,bad占比至少80%。" --task-id EV-20260804-444491B4 --step-id STEP-A70F0B24A0804F33

则执行:

cd clawevolve-diagnose && bash scripts/run.sh '/clawevolve-diagnose --api-key *** --model GLM-5 --intent "抽取 20260723 至 20260804 的5个case,有good和bad,bad占比至少80%。" --task-id EV-20260804-444491B4 --step-id STEP-A70F0B24A0804F33'

注意:不要把示例中的 *** 当真实 key。--judge-backend subagent 使用当前 Bot 的 OpenClaw Agent, 不需要 API Key;--judge-backend api 才要求 --api-key 或 OPENAI_API_KEY。未显式选择 backend 时, 有 Key 兼容走 API,否则默认走 subagent。ARCA Message 模式只允许 subagent,不得在 Message 中传 Key。

Read the full file on GitHub · 216 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · +6 lines 730f75b37136
  2. 23d ago Changed · +1 lines b107aad9c5c1
  3. 1mo ago Changed dc6ad984c265
  4. 1mo ago First seen · 209 lines · 117 tokens per session scan A 2b8431f3bd55

Subscribe to this mod's changes

clawevolve-diagnose is a skill published in the GitHub repository inclusionAI/Avernet (641 stars, last pushed today), licensed Apache-2.0. It adds 117 tokens to every session and 3,914 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.

Related

Other skills, from other repositories

investigate-sentry-issue

Investigate and triage a Sentry error issue.

desplega-ai/agent-swarm · 17 tokens

sre-agent

Deploy or update the SRE Agent on Omnara, a production investigator that diagnoses issues across AWS and source code and reports the likely cause with evidence. Use when the user asks to deploy, set up, update, or remove the SRE agent.

omnara-ai/omnara · 55 tokens

apps

Build and iterate on schema-backed Swarm Apps with live models, named queries, custom actions, and json-render interfaces using the app-upsert, app-get, app-list, and app-patch tools.

desplega-ai/agent-swarm · 43 tokens

kapso-whatsapp

How to interact with Kapso WhatsApp from the swarm — read inbound webhook payloads (text AND media), fetch message history, send free-form messages within the 24h session window (and template messages outside it), mark-as-read, show the typing indicator, send reactions, download media, verify webhook signatures, and…

desplega-ai/agent-swarm · 156 tokens

swarm-scripts

Bulk, repeat, fan-out, or data-heavy work: write and run swarm scripts (inline script-run, named script-upsert, durable launch-script-run). Covers the script-vs-tool rubric, the authoring contract (args first, ctx second), the seed catalog, connections and secrets, dbquery, and exposing a script as an API.

desplega-ai/agent-swarm · 82 tokens

composio

Use Composio from Agent Swarm through the agent-swarm x composio CLI route, the swarmx MCP tool, or a registered ctx.api.composio script connection. Trigger when a task needs connected third-party app tools such as Gmail, Google Calendar, Google Docs, Google Drive, GitHub, Slack, Notion, or HubSpot through Tool Router…

desplega-ai/agent-swarm · 128 tokens