byted-openclaw-diag
OpenClaw 系统诊断和性能分析工具。分析 agent 推理耗时、Token 用量、工具调用统计、 Run 时间线、Gateway 重启历史。支持多种模式:批量分析(默认)、实时跟踪(-f)、 摘要统计(-s)、高级诊断(--advanced)。支持多 Agent 过滤。 使用场景:当用户询问 OpenClaw…
Skill by bytedanceOfficial
Chalk Labs
Need help deploying byted-openclaw-diag?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bytedance-byted-openclaw-diag
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/byted-openclaw-diag
What's inside
- Skill name
byted-openclaw-diag- Description
- OpenClaw 系统诊断和性能分析工具。分析 agent 推理耗时、Token 用量、工具调用统计、 Run 时间线、Gateway 重启历史。支持多种模式:批量分析(默认)、实时跟踪(-f)、 摘要统计(-s)、高级诊断(--advanced)。支持多 Agent 过滤。 使用场景:当用户询问 OpenClaw 运行状态、性能瓶颈、推理延迟、Token 消耗、 工具执行统计、错误排查、agent 活动分析时触发。 触发词:诊断、diagnostics、性能分析、推理耗时、token统计、运行状态、 agent分析、工具调用统计、Run详情、Gateway重启。 指令触发:/diag — 直接执行诊断,支持参数透传。
- License
- Apache-2.0
- Instructions
- 138 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- advanced-mode.md · references/
- byted-openclaw-diag.sh · scripts/
SKILL.md (first lines)
# OpenClaw 诊断工具 ## 指令模式 当用户发送 `/diag` 指令时,直接执行脚本,不做额外解释: | 用户输入 | 执行命令 | 说明 | |----------|----------|------| | `/diag` | `-s` | 今日摘要(默认) | | `/diag full` | `(无-s)` | 完整报告(含 Run 详情 + 错误列表) | | `/diag full -l 3` | `-l 3` | 最近 3 个 Run 完整详情 | | `/diag -a waicode` | `-s -a waicode` | 指定 agent 摘要 | | `/diag -a main full` | `-a main` | 指定 agent 完整报告 | | `/diag 2026-03-19` | `-s 2026-03-19` | 指定日期摘要 | | `/diag errors` | `(无-s)` | 执行完整报告,只提取错误部分汇总 | 规则: 1. 无参数时默认 `-s`(摘要模式,最简洁) 2. `full` 关键词 → 去掉 `-s`,输出含 Run 详情 3. `errors` 关键词 → 执行完整报告,只摘出错误列表 4. `-a`、`-l`、日期参数直接透传给脚本 5. 去除 ANSI 颜色码:管道 `| sed 's/\x1b\[[0-9;]*m//g'` 6. 不支持 `-f`(实时跟踪),该模式需在 SSH 终端运行 7. **直出模式**:脚本输出直接用 `message` 工具原样发送给用户,不经过模型总结。 具体做法: - 执行脚本,将 stdout 存入变量 - 用 `message(action="send", message=output)` 发送原始输出 - 然后回复 `NO_REPLY`(避免重复发送) - 如果输出超过 4000 字符,按 4000 字符分段发送(Telegram 消息长度限制) - 每段用 ``` 代码块包裹,保持等宽字体排版 ## 自然语言模式 当用户用自然语言询问(如"运行状态怎么样"、"waicode今天干了啥")时, 自行选择合适参数执行脚本,并用中文汇总关键信息。 ## 快速使用 ```bash # 诊断今天的数据 bash scripts/byted-openclaw-diag.sh # 诊断指定日期 bash scripts/byted-openclaw-diag.sh 2026-03-19 # 只看摘要 bash scripts/byted-openclaw-diag.sh -s # 实时跟踪(类似 tail -f) bash scripts/byted-openclaw-diag.sh -f # 高级实时跟踪(自动开启 debug 日志,退出时恢复) bash scripts/byted-openclaw-diag.sh -f --advanced # 只看指定 agent bash scripts/byted-openclaw-diag.sh -a waicode # 最近 5 个 Run bash scripts/byted-openclaw-diag.sh -l 5 ``` ## 模式说明 | 模式 | 参数 | 说明 | |------|------|------| | 摘要统计 | `-s`(默认) | KPI 概览,最简洁 | | 完整报告 | 无 `-s` | 含 Run 详情 + 时间线 + 错误列表 | | Agent 过滤 | `-a <name>` | 只看指定 agent | | 限制数量 | `-l N` | 只显示最近 N 个 Run | | 指定日期 | `YYYY-MM-DD` | 默认今天 | 参数可组合:`-s -a main`、`-l 3 -a wairesearch`。 > 实时跟踪(`-f`)和高级模式(`--advanced`)需在 SSH 终端运行, > 详见 [references/advanced-mode.md](references/advanced-mode.md)。 ## 数据源 脚本有两种数据源,自动切换: | 数据源 | 路径 | 需要配置 | 精度 | |--------|------|----------|------| | Debug 日志 | `/tmp/openclaw/openclaw-YYYY-MM-DD.log` | `diagnostics.enabled: true` | 精确 Run 边界 | | Session 文件 | `~/.openclaw/agents/*/sessions/*.jsonl` | 无需配置 | 虚拟 Run(消息时间戳推算) | 无 debug 日志时自动降级为 session 模式,核心指标(推理耗时、Token、工具统计)仍然准确。 ## 输出内容 ### 摘要统计 - 模型调用次数、平均推理延迟、Token 吞吐量 - 工具调用次数、成功率、总耗时 - Thinking 统计(次数、平均深度) - Per-Agent 活动分布 ### Run 详情(非摘要模式) - 每个 Run 的时间线(推理段 + 工具调用段) - 推理耗时、输出 Token、吞吐速率 - 工具调用参数摘要 ### 错误列表 - 最近 20 条错误,按时间倒序 ## 使用指南 ### 日常检查 ```bash # 快速了解今天的运行概况 bash scripts/byted-openclaw-diag.sh -s ``` ### 性能排查 ```bash # 查看某天详细 Run 数据,找到慢查询 bash scripts/byted-openclaw-diag.sh 2026-03-19 -l 10 ``` ### 特定 Agent 分析 ```bash
From bytedance/agentkit-samples, Apache-2.0.
More from bytedance/agentkit-samples
- 0.805score
byted-sms-sender
volcengine-sms-teamOfficial
火山引擎国内短信服务(Volcengine SMS)。支持短信服务开通,资质、签名和模板的申请与查询,运营商报备查询,引流链接及号码录入,单条、群发和定时发送,以及发送记录、回执、统计查询与失败排查。
SkillAFreshness: A★ 473Claude Code +9 - 0.709score
byted-vms-configure
leixin.alex@bytedance.comOfficial
火山云通信「通用配置」Skill (通用层).
SkillCFreshness: C★ 473Claude Code +9 - 0.709score
byted-ark-evolve
volcengine/modelarkOfficial
Agent self-evolution system.
SkillCFreshness: C★ 473Claude Code +9 - 0.709score
byted-ark-seedance-guide
volcengine/supportOfficial
火山方舟 Seedance 模型使用指导技能。用户询问 Seedance/seedance2.0/doubao-seedance-2-0/doubao-seedance-2-0-fast/seedance2.0-mini等seedance系列模型的火山方舟接入、API…
SkillCFreshness: C★ 473Claude Code +9 - 0.705score
byted-ark-seedance-pe
volcengine/supportOfficial
针对用户提供的seedance原始视频提示词进行分析和优化,重新生成适合 Seedance 视频生成的标准提示词。当存在以下情况时使用:(1) 用户提供了原始的视频提示词,要求分析/优化;(2) 需要对不规范、无结构的提示词描述进行重构和标准化;(3) 生成适合 AI 视频生成模型的专业结构化提示词。
SkillCFreshness: C★ 473Claude Code +9 - 0.705score
byted-vms-voice-notify
leixin.alex@bytedance.comOfficial
火山云通信语音通知 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.702score
byted-vms-aicall
leixin.alex@bytedance.comOfficial
火山云通信智能外呼 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.702score
byted-vms-number-pool
leixin.alex@bytedance.comOfficial
火山云通信通用能力层 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.702score
byted-vms-secret-number
leixin.alex@bytedance.comOfficial
火山云通信隐私号 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.702score
byted-vms-cdr-record
leixin.alex@bytedance.comOfficial
火山云通信话单 / 录音查询 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.698score
byted-volc-cdn-manage
ByteDanceOfficial
通过火山引擎 CLI 管理 CDN 域名。支持新增域名和刷新预热, 使用时会先检查并安装 CLI(如需要)。
SkillCFreshness: C★ 473Claude Code +9 - 0.690score
byted-ark-trainer
volcengine/modelarkOfficial
基于ark_sdk的大模型训练任务自动化工具。帮助用户通过自然语言创建并提交方舟模型训练任务,支持用户自备数据的SFT训练、RFT+GRPO和直接GRPO策略,并引导用户完成训练、状态跟踪与评估闭环。使用场景:当用户需要进行大模型SFT监督微调、RLHF训练、GRPO训练、RFT训练,或需要自动化训练流程时触发。
SkillCFreshness: C★ 473Claude Code +9
Signals
- Stars
- 473
- Forks
- 101
- Open issues
- 14
- Last commit (this folder)
- Mar 31, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/bytedance/agentkit-samples
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from bytedance
- 0.674score
byted-supabase
bytedanceOfficial
火山引擎 Supabase .
SkillAFreshness: A★ 473Claude Code +9 - 0.674score
byted-mem0-memory-management
bytedanceOfficial
管理火山引擎记忆库 Mem0 的记忆项目与长期记忆。当用户需要查询 Mem0 项目、提取策略、连接地址或已有 API Key 信息,以及添加、列举、读取、搜索、更新、删除记忆和查询异步任务时使用。控制面仅支持读操作;不用于自建开源 mem0 的部署配置、内部 MemoryBase 运维或日志查询。
SkillAFreshness: A★ 473Claude Code +9 - 0.668score
MCP Server Commands
bytedance
An MCP server to run arbitrary commands
ConnectorAFreshness: ARemoteLocal★ 39.4K↓ 199/wkClaude Code +5 - 0.668score
agentkit-hybrid-cloud-demo
bytedanceOfficial
Deploy, update, validate, and troubleshoot the AgentKit hybrid-cloud customer-service demo in this directory.
SkillAFreshness: A★ 473Claude Code +9 - 0.665score
byted-vedb-mysql
bytedanceOfficial
火山引擎云数据库 VeDB MySQL 版(简称vedbm)管理技能。当用户需要创建 VEDB 实例、查询 VEDB 实例列表、查看实例详情、管理数据库账号、获取实例连接地址(Endpoints)、或对实例规格进行升级/降级时使用此技能。包含特定关键词:火山引擎云数据库、VEDBM、VeDB MySQL。
SkillAFreshness: A★ 473Claude Code +9 - 0.662score
comic-drama-master
bytedanceOfficial
漫剧制作总导演。接受用户故事创意,依次完成剧本创作、角色设计、分镜图生成、分镜视频生成、视频合成全流程,产物保存到 COMIC_DRAMA_OUTPUT_DIR(默认 ./output),最终交付完整漫剧视频和 TOS 链接。
SkillAFreshness: A★ 473Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get byted-openclaw-diag running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
byted-openclaw-diag skill. Agent Mart. https://agentmart.dev/skills/bytedance-byted-openclaw-diag (last updated 2026-10-24)