Agent skill

New Module

by ranxi2001 in ranxi2001/zero2Agent

在 zero2Agent 项目中创建新的学习模块。当用户说"新建模块"、"添加模块"、"创建一个新的学习章节"、"我想增加一个关于X的模块"时触发。负责创建模块目录结构、index.md,并同步更新主页 index.html 和 layouts/default.html 的导航。即使用户只是说"我想增加一个讲XX的章节",也应当触发此技能。

MITAuto-check passed

Install New Module

skills CLI
$ npx skills add ranxi2001/zero2Agent --skill new-module -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ranxi2001/zero2Agent new-module --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ranxi2001/zero2Agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/new-module .claude/skills/new-module && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
new-module
GitHub stars
690
Token cost
~489 tokens
SKILL.md length
68 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

在 zero2Agent 项目中创建新的学习模块。当用户说"新建模块"、"添加模块"、"创建一个新的学习章节"、"我想增加一个关于X的模块"时触发。负责创建模块目录结构、index.md,并同步更新主页 index.html 和 layouts/default.html 的导航。即使用户只是说"我想增加一个讲XX的章节",也应当触发此技能。

  • Works in 3 steps: _layouts/default.html — 顶部导航 → _layouts/default.html — 侧边栏 → index.html 主页 — 模块卡片
  • SKILL.md covers 现有模块结构(参考), 模块 index.md 结构, 需要同步更新的位置 and 执行步骤
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

New Module is an agent skill from ranxi2001/zero2Agent. 在 zero2Agent 项目中创建新的学习模块。当用户说"新建模块"、"添加模块"、"创建一个新的学习章节"、"我想增加一个关于X的模块"时触发。负责创建模块目录结构、index.md,并同步更新主页 index.html 和 layouts/default.html 的导航。即使用户只是说"我想增加一个讲XX的章节",也应当触发此技能。

Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 面向大厂Agent研发岗位求职的agent教程网站,涵盖技术路线与面试八股文. The licence is MIT.

Example prompts

  • “创建一个新的学习章节”
  • “我想增加一个关于X的模块”
  • “我想增加一个讲XX的章节”
  • “/new-module”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. _layouts/default.html — 顶部导航
  2. _layouts/default.html — 侧边栏
  3. index.html 主页 — 模块卡片

What it can do on your machine

Read from SKILL.md and the folder at commit 472ce78. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are html, markdown and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

New Module loads about 489 tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 68 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~489

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ranxi2001/zero2Agent at commit 472ce78, republished under its MIT licence (© ranxi2001). 68 words, ~489 tokens.

Download SKILL.mdSave it as .claude/skills/new-module/SKILL.md (or your agent's skills folder).
name
new-module
description
在 zero2Agent 项目中创建新的学习模块。当用户说"新建模块"、"添加模块"、"创建一个新的学习章节"、"我想增加一个关于X的模块"时触发。负责创建模块目录结构、index.md,并同步更新主页 index.html 和 _layouts/default.html 的导航。即使用户只是说"我想增加一个讲XX的章节",也应当触发此技能。

new-module:创建新学习模块

本技能用于在 zero2Agent 项目中新建一个学习模块,并同步更新所有相关导航。

现有模块结构(参考)

zero2Agent/
├── learn-agent-basic/       # Module 01 — 08 篇文章
├── learn-agent-survey/      # Module 02 — 13 篇文章
├── learn-agent-training/    # Module 03 — 06 篇文章
├── learn-langgraph/         # Module 04 — 07 篇文章
├── learn-claude-code/       # Module 05 — 12 篇文章
├── learn-sdk-frameworks/    # Module 06 — 04 篇文章
├── learn-openclaw/          # Module 07 — 09 篇文章
├── learn-agent-interview/   # Module 09 — 08 篇(维度拆解 + 面经实录)
└── final-project/           # Module 10 — 占位符

每个模块是根目录下的一个子目录,包含 index.md 作为模块入口。

模块 index.md 结构

markdown
---
layout: default
title: {module-dir-name}
description: {模块一句话描述,15–30 字}
eyebrow: Module {NN}
---

# {module-dir-name}

{2–3 句话:这个模块解决什么问题,适合什么阶段的读者}

## 这部分的主线

{3–5 个 bullet,说明核心学习路径}

## 建议阅读顺序

{初始为空,随文章增加而补充}

## 后续可补充的文章

- [ ] {建议文章1}
- [ ] {建议文章2}
- [ ] {建议文章3}

需要同步更新的位置

创建新模块时,必须更新以下 3 处:

1. _layouts/default.html — 顶部导航

在 <nav class="doc-nav"> 中添加链接:

html
<a href="{module-dir}/index.html">{显示名称}</a>
2. _layouts/default.html — 侧边栏

在 <aside class="doc-sidebar"> 中添加链接(按编号顺序):

html
<a href="{module-dir}/index.html">{NN}. {module-dir-name}</a>
3. index.html 主页 — 模块卡片

在主页的模块列表区域添加新卡片。参考现有卡片的 HTML 结构,保持格式一致。

执行步骤

  1. 收集信息:如果用户没有提供,先确认:

    • 模块编号(NN,当前最大为 10)
    • 模块目录名(如 learn-mcp)
    • 模块显示名(如 MCP)
    • 模块描述(一句话)
    • 模块主线(预期涵盖哪些主题)
  2. 创建目录和文件:

    bash
    mkdir -p {module-dir}/

    写入 {module-dir}/index.md。

  3. 更新 _layouts/default.html:

    • 在 <nav class="doc-nav"> 中添加导航链接
    • 在 <aside class="doc-sidebar"> 中添加侧边栏链接
  4. 更新 index.html:在主页模块卡片区域追加新模块的卡片 HTML。

  5. 输出确认:列出创建/修改的所有文件,说明模块编号和导航位置。

© ranxi2001, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/new-module of ranxi2001/zero2Agent.

Open the folder on GitHubat commit 472ce78

Compare with similar skills

New Module next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

New Module compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Module this skillranxi2001/zero2Agent690—~489Automated safety check: PassMIT
Es Modulesthedaviddias/Front-End-Checklist74k—~482Automated safety check: PassMIT
Splitting Oversized ModulesPostHog/posthog40k—~2.2kAutomated safety check: PassCustom licence
Abp Moduleabpframework/abp14k—~1.6kAutomated safety check: PassLGPL-3.0
Extract ModuleJetBrains/intellij-community21k—~5.2kAutomated safety check: PassCustom licence
Module DependenciesJetBrains/intellij-community21k—~2.3kAutomated safety check: PassCustom licence

Similar skills

  • Es Modules

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing scripts, client components, bundles, or runtime behavior related to Use ES modules (import/export).

    74k GitHub stars~482 tokensUpdated 2 days ago
    Auto-check passed
  • Official

    Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior.

    40k GitHub stars~2.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Abp Module

    abpframework/abp

    ABP reusable Module solution template - EF Core + MongoDB dual support, virtual methods for extensibility, DbTablePrefix, module options pattern, entity extension, separate connection string.

    14k GitHub stars~1.6k tokensUpdated today
    DatabasesAuto-check passed
  • Extract Module

    JetBrains/intellij-community

    Official

    Extract optional plugin dependencies into IntelliJ content modules.

    21k GitHub stars~5.2k tokensUpdated today
    MobileAuto-check passed
  • Module Dependencies

    JetBrains/intellij-community

    Official

    Add or modify IntelliJ module dependencies in .iml files. An agent skill from JetBrains/intellij-community.

    21k GitHub stars~2.3k tokensUpdated today
    MobileAuto-check passed
  • HTML Ppt Course Module

    nexu-io/open-design

    A first-30-days onboarding module for new hospitality hires — the behaviors, the practice, the checks, and the manager follow-up.

    100k GitHub stars~1.4k tokensUpdated today
    Documents & OfficeAuto-check passed

More from ranxi2001/zero2Agent

All 8 skills in this repo
  • Drawio Skill

    ranxi2001/zero2Agent

    A skill your agent uses when user requests diagrams, flowcharts, architecture charts, or visualizations.

    690 GitHub stars~6.6k tokensUpdated yesterday
    Auto-check passed
  • Classify Interview Questions

    ranxi2001/zero2Agent

    将批量面经或零散面试题逐题去重并分发:Agent/LLM/AI工程题写入 zero2Agent 的 learn-agent-interview,传统后端八股写入相邻 zero2Leetcode 的夏季八股。大批量输入使用 gpt-5.6-luna API 逐篇并发抽题和语义召回,再审查、去重和写答案;不新建面经实录文章。

    690 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Chinese Quotes Fix

    ranxi2001/zero2Agent

    Check and fix Chinese quote pairing in Markdown files generated by ClaudeCode or other agents, while preserving Markdown syntax and protected blocks.

    690 GitHub stars~735 tokensUpdated yesterday
    Auto-check passed
  • New Article

    ranxi2001/zero2Agent

    在 zero2Agent 项目中创建新的学习文章。当用户说"写一篇新文章"、"创建文章"、"新建文章"、"在某模块下添加一篇关于X的文章"、"帮我起草一篇讲XX的内容"、"整理面经"时触发。适用于所有模块下新建内容,包括面试维度拆解文章和面经实录。即使用户没有明确说"文章",只要涉及给 zero2Agent 项目增加教学内容,也应当触发此技能。

    690 GitHub stars~693 tokensUpdated yesterday
    Auto-check passed
  • Scrape Nowcoder

    ranxi2001/zero2Agent

    基于 CDP 原生 WebSocket 抓取牛客网面经文章。当用户说"抓牛客"、"爬牛客面经"、"nowcoder 抓取"、"抓取面经列表"时触发。通过 Chrome 调试端口直接连接已登录的浏览器会话,支持首页、话题、搜索分页和详情全文抓取,输出 Markdown。

    690 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Content Review

    ranxi2001/zero2Agent

    审查 zero2Agent 项目中的文章内容质量。当用户说"审查文章"、"review内容"、"检查这篇文章写得怎么样"、"看看这篇符不符合项目风格"、"帮我看看内容质量"时触发。负责对照项目风格标准进行结构化评审,输出具体的改进建议。即使用户只是说"帮我看看写得怎么样",只要涉及 zero2Agent 的 Markdown 文章,也应当触发此技能。

    690 GitHub stars~385 tokensUpdated yesterday
    Auto-check passed

Questions about New Module

What does New Module do?

在 zero2Agent 项目中创建新的学习模块。当用户说"新建模块"、"添加模块"、"创建一个新的学习章节"、"我想增加一个关于X的模块"时触发。负责创建模块目录结构、index.md,并同步更新主页 index.html 和 layouts/default.html 的导航。即使用户只是说"我想增加一个讲XX的章节",也应当触发此技能。. New Module is an agent skill from ranxi2001/zero2Agent.

How do I install New Module in Claude Code?

Run `npx skills add ranxi2001/zero2Agent --skill new-module -a claude-code`. Or copy the skill folder (.agents/skills/new-module in ranxi2001/zero2Agent) into .claude/skills/new-module in your project. Claude Code loads it when a task matches its description.

How do I install New Module in Codex?

Run `npx skills add ranxi2001/zero2Agent --skill new-module -a codex`. Or copy the skill folder (.agents/skills/new-module in ranxi2001/zero2Agent) into .agents/skills/new-module in your project. Codex loads it when a task matches its description.

Can I use New Module in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ranxi2001/zero2Agent --skill new-module -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-module, .gemini/skills/new-module, .github/skills/new-module and .opencode/skills/new-module in your project.

What does New Module need to run?

SKILL.md names no scripts, command-line tools or credentials: New Module is instructions for the agent only.

Does New Module access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is New Module safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does New Module use?

New Module is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Module use?

About 489 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to New Module?

Skills that share tags, products or a category with New Module: Es Modules (thedaviddias/Front-End-Checklist, 74k stars), Splitting Oversized Modules (PostHog/posthog, 40k stars), Abp Module (abpframework/abp, 14k stars) and Extract Module (JetBrains/intellij-community, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Module?

ranxi2001 (a GitHub user) maintains it in ranxi2001/zero2Agent, which has 690 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.

Source: ranxi2001/zero2Agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.