zsxq-skill: Instructions file for Claude Code

CLAUDE.md

zsxq-skill CLAUDE.md is an instructions file for Claude Code from unnoo/zsxq-skill. It costs 2,935 tokens per session, scanned A, original, MIT.

A project instruction document for agents working on zsxq-skill, a package that teaches coding agents to use the 知识星球 command-line tool.

In plain words
What is it for?
Use it when adding or updating documentation, operation guides, command references, or scripted workflows for zsxq-cli.
Why use it?
It gives agents one shared description of the project structure, operating modes, conventions, safety rules, and reference documents.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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 zsxq-skill CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/unnoo/zsxq-skill/claude-md"><img src="https://agentmods.dev/badge/instructions/unnoo/zsxq-skill/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,935 This file is loaded in full into every session.
When invoked 2,935 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.02935 $0.02935
Opus 5.5 $0.01174 $0.01174
Sonnet 5.5 $0.00587 $0.00587
Haiku 4.5 $0.00294 $0.00294

Measured 1mo ago against content hash 50cc8d31880f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

zsxq-skill 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 1mo 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 · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 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.

Project Overview

zsxq-skill is the official skill package for zsxq-cli (知识星球 CLI). It contains documentation-only skill definitions — no application code, no build system, no tests. All files are Markdown (scenario scripts under scripts/, when added, are the only executable code).

The skill is consumed by AI agents (Claude Code, Codex, Cursor, OpenClaw) to learn how to operate the 知识星球 platform via zsxq-cli.

Codex/Cursor/OpenClaw 等 agent 通过 AGENTS.md 指向本文件;本文件是面向所有 agent 的唯一开发指南,文中 "Claude Code" 可泛指当前所用 agent。

Architecture

只发布一个 zsxq skill:

skills/zsxq/
├── SKILL.md                 # 触发、执行模式路由、能力索引、全局安全规则
├── references/
│   ├── auth-errors.md       # 认证、通用错误表、CLI 未安装恢复
│   ├── cli-exploration.md   # 探索模式:--help / api list / api call / api raw
│   ├── share-links.md       # 分享链接拼接模板
│   ├── <domain>-<verb>.md   # 原子操作 reference(group-list、topic-create …)
│   └── scenarios/
│       └── <scenario-id>.md # 场景入口(如 migrate-legacy-skills.md)
├── scripts/scenarios/<scenario-id>/   # 场景脚本(确定性代码,按需)
└── assets/scenarios/<scenario-id>/    # 场景模板/静态资源(按需)
  • SKILL.md 只负责触发、路由、能力索引和全局安全规则;命令细节全部在 reference 按需加载
  • 场景目录中不得创建 SKILL.md,避免被识别为独立 skill

执行模式(写文档时须维持这个路由结构)

命中场景 -> 按场景入口文档编排
否则命中原子操作 -> 读对应 reference 直接执行
否则 -> 探索模式(cli-exploration.md)

原子操作和场景执行时不得预先运行无关的 doctor、--help 或 api list;仅在能力不匹配或调用失败时回退到探索模式。

Key Conventions

SKILL.md frontmatter format

---
name: zsxq
description: "触发描述(中文,含关键词以便 AI 匹配触发;上限 1024 字符)"
metadata:
  version: "3.0.0"
  channels: "cli(zsxq-cli,优先)/ mcp(call_zsxq_api,兜底)"
  cliHelp: "zsxq-cli --help"
---

frontmatter 须符合 Agent Skills 规范:name 小写连字符且与目录同名;description ≤1024 字符;metadata 为 string→string 扁平映射(不要嵌套对象/数组)。仓库根另有 plugin.json 遵循 Agent Plugins 规范。

description 字段直接决定 AI 何时触发该 skill,修改时确保包含所有相关操作的关键词(含场景触发语)。

Read the full file on GitHub · 169 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. 1mo ago Changed · +7 lines · +449 tokens per session 50cc8d31880f
  2. 2mo ago First seen · 162 lines · 2,486 tokens per session scan A 17849c8a86a8

Subscribe to this mod's changes

zsxq-skill CLAUDE.md is an instructions file published in the GitHub repository unnoo/zsxq-skill (323 stars, last pushed yesterday), licensed MIT. It adds 2,935 tokens to every session, about $0.0117 per session on Opus 5.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

zsxq-skill CLAUDE.md compared with instructions from other repositories

zsxq-skill CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
zsxq-skill CLAUDE.mdunnoo/zsxq-skillInstructions file323yesterdayMITA2,935Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode