xiaochen-skills: Instructions file for Claude Code

CLAUDE.md

xiaochen-skills CLAUDE.md is an instructions file for Claude Code from chenyuxiaojin/xiaochen-skills. It costs 1,466 tokens per session, scanned A, original, MIT.

Repository instructions for xiaochen-skills, a marketplace containing Claude Code add-ons. They document the project layout, naming rules, source registry, and checks required after changing a skill.

In plain words
What is it for?
Use them when adding, renaming, registering, or updating skills and plugins in this marketplace.
Why use it?
They help agents keep plugin names, folders, marketplace entries, and supporting scripts synchronized.

Instructions file for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is chenyuxiaojin/xiaochen-skills's own configuration. It tells Claude Code how to work on xiaochen-skills 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 xiaochen-skills configures →

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Reuse

Borrowing it

Nothing to install: this file belongs to chenyuxiaojin/xiaochen-skills. 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/chenyuxiaojin/xiaochen-skills/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/chenyuxiaojin/xiaochen-skills

Made for: Claude Code.

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 xiaochen-skills CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chenyuxiaojin/xiaochen-skills/claude-md/github.svg)](https://agentmods.dev/instructions/chenyuxiaojin/xiaochen-skills/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/chenyuxiaojin/xiaochen-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/chenyuxiaojin/xiaochen-skills/claude-md/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 xiaochen-skills CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/chenyuxiaojin/xiaochen-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/chenyuxiaojin/xiaochen-skills/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,466 This file is loaded in full into every session.
When invoked 1,466 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01466 $0.01466
Opus 5 $0.00733 $0.00733
Sonnet 5 $0.00293 $0.00293
Haiku 4.5 $0.00147 $0.00147

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

Security

Grade A, and why

xiaochen-skills CLAUDE.md 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 10d 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.

CLAUDE.md · 84 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

项目概览

这是一个 Claude Code 插件市场仓库(Plugin Marketplace),里面是一组 cyxj-* skill,通过 /plugin marketplace add chenyuxiaojin/xiaochen-skills 安装到 Claude Code。

真相源 = .claude-plugin/marketplace.json。判断"有几个/哪些插件、各自路径"时一律以它为准, 不要相信任何文档里写死的数字(它们会漂移)。plugins/ 下的目录数 ≥ marketplace 注册数: 没注册进 marketplace 的插件,用户装不到(这通常是遗漏,不是设计)。

架构

.claude-plugin/marketplace.json   ← 插件市场注册表(所有插件的入口,新插件必须在此注册)
plugins/
  cyxj-{name}/
    skills/
      cyxj-{name}/               ← 技能文件夹名 = 插件名 = SKILL.md 的 name,三者必须一致
        SKILL.md                 ← Skill 核心:frontmatter(name/description) + 指令,运行时被读取
        *.py / scripts/*         ← 辅助脚本(直接放 SKILL.md 同级,或放 scripts/ 子目录,仓库里两种都有)
        *.css / *.html           ← 静态资源(如 wechat-pub 的排版模板)
        references/ templates/   ← 参考素材 / 模板(部分 skill 有)

两类 skill

  • 纯指令型(obsidian-build、roundtable、jingxuan、transcript 等)—— 没有脚本,全靠 SKILL.md 的 frontmatter + 正文指令(部分配 references/ 模板)驱动;roundtable 还会现场拉起多个 Opus subagent 扮演不同角色
  • 脚本型—— SKILL.md 调用同目录的 Python/Bash 脚本,脚本里用 ${CLAUDE_PLUGIN_ROOT}(或 $SKILL_DIR) 拼本地路径定位资源。新写脚本引用本地文件时必须走这个变量,不能写死绝对路径

description frontmatter 不只是说明文字——它定义了 skill 的触发条件(含触发词),写得准不准直接决定 Claude Code 会不会在对应场景自动唤起这个 skill。

命名规则(三处必须完全一致)

插件目录名、技能文件夹名、SKILL.md 的 name 字段,三处全等,格式 cyxj-{短名}

plugins/cyxj-foo/skills/cyxj-foo/SKILL.md   ← name: cyxj-foo
.claude-plugin/marketplace.json             ← "name": "cyxj-foo", "source": "./plugins/cyxj-foo"

例外:多 skill 插件(目前有 cyxj-video-doctor(cyxj-content + cyxj-hook)和 cyxj-image-studio(cyxj-poster + cyxj-video-cover)两个)。 此时插件名不等于技能名,但每个技能文件夹名仍必须 = 其 SKILL.md 的 name;插件级共享资源放 plugins/{插件}/references/(文档)或 plugins/{插件}/lib/(Python 模块,脚本里按 Path(__file__).resolve().parents[3] / "lib" 定位),skill 里用 ${CLAUDE_PLUGIN_ROOT}/... 引用。 只有需要共享文件的强关联 skill 才合并进同一插件,不要为省注册条目乱合。

改 Skill 后的同步检查清单

文档与注册表极易漂移(本仓库历史上多次出现)。任何对 skill 的改动(增 / 删 / 改名 / 改内容)做完都要逐项核对:

Read the full file on GitHub · 84 lines

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. 10d ago First seen · 84 lines · 1,466 tokens per session scan A 46dc0386a10c

Subscribe to this mod's changes

xiaochen-skills CLAUDE.md is an instructions file published in the GitHub repository chenyuxiaojin/xiaochen-skills (6 stars, last pushed 5d ago), licensed MIT. It adds 1,466 tokens to every session, about $0.0073 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-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens