xiaozhi-client: Skill for Claude Code

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

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

A workflow for writing detailed technical design documents for development tasks. It covers the current implementation, architecture, proposed changes, implementation phases, acceptance checks, risks, and mitigations.

In plain words
What is it for?
Use it for tasks such as adding WebSocket transport or multi-endpoint load balancing. The result is a Markdown technical plan saved in the project root.
Why use it?
It makes the work plan explicit before coding begins. This helps reviewers evaluate the design and gives implementation a defined sequence and completion criteria.

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-tech/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-tech

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shenjingnan/xiaozhi-client/gen-tech"><img src="https://agentmods.dev/badge/skills/shenjingnan/xiaozhi-client/gen-tech.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 448 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.00448
Opus 5 $0.00009 $0.00224
Sonnet 5 $0.00003 $0.00090
Haiku 4.5 $0.00002 $0.00045

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

Security

Grade A, and why

gen-tech 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 9d 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-tech/SKILL.md · 71 lines

What it actually says

技术方案编写技能

我是一个技术方案编写专家,专门针对开发任务进行全面的技术方案分析。

我的能力

当你需要为某个任务编写技术方案时,我会:

  1. 分析现状 - 理解当前实现和架构
  2. 设计技术方案 - 基于需求给出合理的技术方案
  3. 制定实施计划 - 详细说明分阶段实施步骤和验收标准

使用方式

使用格式:/gen-tech [任务描述]

示例

  • /gen-tech 实现多端点负载均衡
  • /gen-tech 添加 WebSocket 传输支持

方案要求

你的技术方案至少应该包含:

1. 对现状的分析

  • 当前实现的详细说明
  • 存在的问题和局限性
  • 改进的必要性

2. 当前架构分析

  • 现有架构设计
  • 各组件之间的关系
  • 技术栈和依赖

3. 技术方案设计

  • 整体方案设计
  • 关键技术选型
  • 架构调整说明
  • 预期效果

4. 具体实施方案

重要:实施方案必须详细,因为一旦技术方案审核通过后,将严格按照方案进行开发。

  • 是否需要分阶段进行
  • 每个阶段的具体任务
  • 每个阶段的验收标准
  • 风险评估和应对措施

输出格式

  • 使用 Markdown 格式
  • 如需绘图使用 Mermaid
  • 编写好的技术方案存放在项目根目录
  • 完成后告知技术方案文件名

编写原则

  • 保持中立客观冷静
  • 不加入主观判断
  • 展现专业工程师素质
  • 详细说明评估过程,避免前期评估不充分导致的返工
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. 9d ago First seen · 71 lines · 17 tokens per session scan A f83ccccf74d9

Subscribe to this mod's changes

gen-tech is a skill published in the GitHub repository shenjingnan/xiaozhi-client (338 stars, last pushed 6d ago), licensed MIT. It adds 17 tokens to every session and 448 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens