npx skillsauth add alibaba/arthas arthasInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Arthas 是 Java 应用在线诊断工具,本 Skill 包含多个子场景的诊断指南。使用时请根据用户描述的问题匹配对应场景,按指南中的步骤逐步排查。
通用原则:
watch / trace / tt / stack 等命令必须设置 -n(执行次数限制),避免对线上应用造成压力。文件: cpu-high/SKILL.md
适用场景:机器 CPU 飙高、应用响应变慢、负载异常升高。
核心步骤:
dashboard 查看 CPU / 线程 / GC 概况thread(topN)定位最忙线程及堆栈stack / trace / watch 进一步确认热点方法调用路径文件: eagleeye-traceid/SKILL.md
适用场景:需要在不改代码的情况下,获取线上请求的 EagleEye traceId,用于关联日志 / 链路分析。
核心步骤:
sc -d com.taobao.eagleeye.EagleEye 确认类存在watch + OGNL 表达式 @com.taobao.eagleeye.EagleEye@getTraceId() 直接打印 traceIdtrace 输出中自动带出 traceId,同时可看调用链耗时文件: spring-context/SKILL.md
适用场景:排查 Spring ApplicationContext / Bean / 配置注入等问题。
核心步骤:
vmtool --action getInstances 获取 AbstractApplicationContext 实例(注意通过 ClassLoader 区分正确的 Context)getEnvironment().getProperty(...) / findConfigurationProperty(...))containsBean / containsLocalBean / containsBeanDefinition 验证 Bean 是否存在(不触发初始化)getBeanDefinitionNames + OGNL 过滤)getBeanNamesForType / getBeansOfType)@Bean 工厂方法 / XML / 自动扫描)注意: 先只读查询,避免直接 getBean() 触发 Bean 初始化产生副作用;若遇到 ClassNotFound,通常是类加载器不对,需先用 classloader 命令找到正确的 classLoaderHash。
tools
排查 Spring ApplicationContext / Bean / 配置注入等问题
tools
使用 Arthas 的 watch/trace 获取 EagleEye traceId / 获取请求的 traceId
tools
排查 JVM / 应用 CPU 飙高(线程定位 + 代码路径分析)
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.