claude-code-guide

claude-code-guide is a skill for Claude Code, Codex from 2025Emma/vibe-coding-cn. It costs 0 tokens per session (2,801 once invoked), scanned A, original, MIT.

A Chinese-language guide to Claude Code, a coding assistant’s tools and development workflows.

In plain words
What is it for?
Use it to learn its tools, REPL environment, task workflows, external-system integrations, advanced patterns, best practices, and methods for analysing large files.
Why use it?
It explains core tools and advanced working methods for people learning how Claude Code operates.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/2025emma/vibe-coding-cn/claude-code-guide
Any agent
npx skills add 2025Emma/vibe-coding-cn --skill claude-code-guide
Clone the repo
git clone --depth 1 https://github.com/2025Emma/vibe-coding-cn

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 claude-code-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/2025emma/vibe-coding-cn/claude-code-guide.svg)](https://agentmods.dev/skills/2025emma/vibe-coding-cn/claude-code-guide)
Your own site
<a href="https://agentmods.dev/skills/2025emma/vibe-coding-cn/claude-code-guide"><img src="https://agentmods.dev/badge/skills/2025emma/vibe-coding-cn/claude-code-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,801 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.02801
Opus 5 $0.00000 $0.01401
Sonnet 5 $0.00000 $0.00560
Haiku 4.5 $0.00000 $0.00280

Measured 4d ago against content hash c9d35838f6f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-code-guide 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

i18n/en/skills/claude-code-guide/SKILL.md · 472 lines

How it starts

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

TRANSLATED CONTENT:

name: claude-code-guide description: Claude Code 高级开发指南 - 全面的中文教程,涵盖工具使用、REPL 环境、开发工作流、MCP 集成、高级模式和最佳实践。适合学习 Claude Code 的高级功能和开发技巧。

Claude Code 高级开发指南

全面的 Claude Code 中文学习指南,涵盖从基础到高级的所有核心概念、工具使用、开发工作流和最佳实践。

何时使用此技能

当需要以下帮助时使用此技能:

  • 学习 Claude Code 的核心功能和工具
  • 掌握 REPL 环境的高级用法
  • 理解开发工作流和任务管理
  • 使用 MCP 集成外部系统
  • 实现高级开发模式
  • 应用 Claude Code 最佳实践
  • 解决常见问题和错误
  • 进行大文件分析和处理

快速参考

Claude Code 核心工具(7个)

  1. REPL - JavaScript 运行时环境

    • 完整的 ES6+ 支持
    • 预加载库:D3.js, MathJS, Lodash, Papaparse, SheetJS
    • 支持 async/await, BigInt, WebAssembly
    • 文件读取:window.fs.readFile()
  2. Artifacts - 可视化输出

    • React, Three.js, 图表库
    • HTML/SVG 渲染
    • 交互式组件
  3. Web Search - 网络搜索

    • 仅美国可用
    • 域名过滤支持
  4. Web Fetch - 获取网页内容

    • HTML 转 Markdown
    • 内容提取和分析
  5. Conversation Search - 对话搜索

    • 搜索历史对话
    • 上下文检索
  6. Recent Chats - 最近对话

    • 访问最近会话
    • 对话历史
  7. End Conversation - 结束对话

    • 清理和总结
    • 会话管理

大文件分析工作流

# 阶段 1:定量评估
wc -l filename.md    # 行数统计
wc -w filename.md    # 词数统计
wc -c filename.md    # 字符数统计

# 阶段 2:结构分析
grep "^#{1,6} " filename.md  # 提取标题层次
grep "```" filename.md       # 识别代码块
grep -c "keyword" filename.md # 关键词频率

# 阶段 3:内容提取
Read filename.md offset=0 limit=50      # 文件开头
Read filename.md offset=N limit=100     # 目标部分
Read filename.md offset=-50 limit=50    # 文件结尾

REPL 高级用法

// 数据处理
const data = [1, 2, 3, 4, 5];
const sum = data.reduce((a, b) => a + b, 0);

// 使用预加载库
// Lodash
_.chunk([1, 2, 3, 4], 2);  // [[1,2], [3,4]]

// MathJS
math.sqrt(16);  // 4

// D3.js
d3.range(10);  // [0,1,2,3,4,5,6,7,8,9]

// 读取文件
const content = await window.fs.readFile('path/to/file');

// 异步操作
const result = await fetch('https://api.example.com/data');
const json = await result.json();

斜杠命令系统

内置命令:

  • /help - 显示帮助
  • /clear - 清除对话
  • /plugin - 管理插件
  • /settings - 配置设置

自定义命令: 创建 .claude/commands/mycommand.md

根据需求执行特定任务的指令

使用:/mycommand

开发工作流模式

Read the full file on GitHub · 472 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 472 lines · 0 tokens per session scan A c9d35838f6f9

Subscribe to this mod's changes

claude-code-guide is a skill published in the GitHub repository 2025Emma/vibe-coding-cn (22,897 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,801 tokens. 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

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens