xiaozhi-client: Skill for Claude Code

.agents/skills/gen-analyze/SKILL.md

gen-analyze is a skill for Claude Code, Codex from shenjingnan/xiaozhi-client. It costs 17 tokens per session (582 once invoked), scanned A, original, MIT.

A command for investigating technical problems and writing a Chinese Markdown report. It examines the current situation, technical details, possible solutions, risks, and next steps.

In plain words
What is it for?
Use it for issues such as failed endpoints or slow WebSocket connections. It can also inspect code, architecture, technology choices, and MCP-related concerns when relevant.
Why use it?
It turns a vague technical issue into a structured analysis. This helps separate likely causes from possible fixes and compare their trade-offs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is shenjingnan/xiaozhi-client's own configuration. It tells Claude Code and Codex how to work on xiaozhi-client itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything xiaozhi-client configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shenjingnan/xiaozhi-client. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/shenjingnan/xiaozhi-client/main/.agents/skills/gen-analyze/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/shenjingnan/xiaozhi-client

Made for: Claude Code, 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 gen-analyze

README.md
[![agentmods](https://agentmods.dev/badge/skills/shenjingnan/xiaozhi-client/gen-analyze/github.svg)](https://agentmods.dev/skills/shenjingnan/xiaozhi-client/gen-analyze)
Your own site
<a href="https://agentmods.dev/skills/shenjingnan/xiaozhi-client/gen-analyze"><img src="https://agentmods.dev/badge/skills/shenjingnan/xiaozhi-client/gen-analyze/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 gen-analyze

Your own site · 80×15
<a href="https://agentmods.dev/skills/shenjingnan/xiaozhi-client/gen-analyze"><img src="https://agentmods.dev/badge/skills/shenjingnan/xiaozhi-client/gen-analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 582 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00017 $0.00582
Opus 5 $0.00009 $0.00291
Sonnet 5 $0.00003 $0.00116
Haiku 4.5 $0.00002 $0.00058

Measured 11d ago against content hash 0016daffce99, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

gen-analyze scanned grade A with 0 findings 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 11d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/gen-analyze/SKILL.md · 95 lines

What it actually says

问题分析技能

我是一个问题分析专家,专门针对技术问题进行深入、全面的分析。

我的能力

当你遇到技术问题需要深入分析时,我会:

  1. 理解问题 - 提取关键信息,收集相关上下文
  2. 深度分析 - 从现状、技术、解决方案等多个维度进行分析
  3. 形成结论 - 提供核心发现、解决建议和后续建议

使用方式

使用格式:/gen-analyze [问题描述]

示例

  • /gen-analyze endpoint 连接失败问题
  • /gen-analyze WebSocket 传输延迟高

分析流程

第一步:理解问题

  • 识别核心问题和相关需求
  • 理解问题涉及的技术领域
  • 明确问题的影响范围
  • 探索相关的代码实现
  • 了解项目的技术栈和架构

第二步:深度分析

从以下维度进行分析:

现状分析

  • 当前实现的详细说明
  • 存在的问题和挑战
  • 性能、维护性等方面的评估

技术分析

  • 架构设计合理性
  • 技术选型的优劣
  • 代码质量和工程实践

解决方案评估

  • 可能的解决方案
  • 各方案的优缺点对比
  • 实施难度和风险评估

MCP 相关分析(如适用)

  • 对 MCP 协议的影响
  • Endpoint 连接管理
  • 传输层适配器考虑

第三步:形成结论

  • 问题核心原因
  • 关键发现和洞察
  • 解决建议
  • 优先级排序和实施建议
  • 风险提示

输出要求

内容要求

  • 使用中文编写
  • 客观、中立的分析态度
  • 基于实际代码和事实
  • 突出深度和洞察力

格式要求

  • 使用 Markdown 格式
  • 适当使用 Mermaid 图表
  • 代码示例使用项目路径别名
  • 结构清晰,逻辑连贯

文件命名

  • 存放在项目根目录
  • 格式:分析主题-分析报告.md
  • 示例:endpoint-连接问题分析.md

完成后

  1. 提供分析报告的文件名
  2. 总结核心发现
  3. 列出关键建议
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. 11d ago First seen · 95 lines · 17 tokens per session scan A 0016daffce99

Subscribe to this mod's changes

gen-analyze is a skill published in the GitHub repository shenjingnan/xiaozhi-client (338 stars, last pushed 7d ago), licensed MIT. It adds 17 tokens to every session and 582 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens