zero2Agent: Skill for Claude Code

.agents/skills/new-module/SKILL.md

new-module is a skill for Claude Code, Codex from ranxi2001/zero2Agent. It costs 95 tokens per session (871 once invoked), scanned A, original, MIT.

A guide for creating a new learning module in the zero2Agent project, including its folder, entry page, and navigation links.

In plain words
What is it for?
It is for adding a module directory and index page, then updating the site’s top navigation and sidebar in the correct order.
Why use it?
It removes the need to remember every project file that must be updated when adding a new chapter or subject area.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: installed under .agents/ (shared by several agents); built for openclaw.

This is ranxi2001/zero2Agent's own configuration. It tells Claude Code and Codex how to work on zero2Agent 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 zero2Agent configures →

About the project

zero2Agent is a tutorial repository that teaches software developers how to build AI agents, covering core concepts, model APIs, tools, memory, frameworks, implementation, and complete projects. It is intended for programmers learning agent engineering and for candidates preparing for agent-related technical interviews.

ranxi2001/zero2Agent · 1,026 stars · on GitHub · onefly.top

Reuse

Borrowing it

Nothing to install: this file belongs to ranxi2001/zero2Agent. 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/ranxi2001/zero2Agent/main/.agents/skills/new-module/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ranxi2001/zero2Agent

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 new-module

README.md
[![agentmods](https://agentmods.dev/badge/skills/ranxi2001/zero2agent/new-module/github.svg)](https://agentmods.dev/skills/ranxi2001/zero2agent/new-module)
Your own site
<a href="https://agentmods.dev/skills/ranxi2001/zero2agent/new-module"><img src="https://agentmods.dev/badge/skills/ranxi2001/zero2agent/new-module/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 new-module

Your own site · 80×15
<a href="https://agentmods.dev/skills/ranxi2001/zero2agent/new-module"><img src="https://agentmods.dev/badge/skills/ranxi2001/zero2agent/new-module.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 871 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.00095 $0.00871
Opus 5.5 $0.00038 $0.00348
Sonnet 5.5 $0.00019 $0.00174
Haiku 4.5 $0.00010 $0.00087

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

Security

Grade A, and why

new-module 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 2mo 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/new-module/SKILL.md · 97 lines

What it actually says

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 结构

---
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"> 中添加链接:

<a href="{module-dir}/index.html">{显示名称}</a>

2. _layouts/default.html — 侧边栏

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

<a href="{module-dir}/index.html">{NN}. {module-dir-name}</a>

3. index.html 主页 — 模块卡片

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

执行步骤

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

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

    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. 输出确认:列出创建/修改的所有文件,说明模块编号和导航位置。

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. 2mo ago First seen · 97 lines · 95 tokens per session scan A 704ed7c4eaf7

Subscribe to this mod's changes

new-module is a skill published in the GitHub repository ranxi2001/zero2Agent (1,026 stars, last pushed yesterday), licensed MIT. It adds 95 tokens to every session and 871 once invoked, about $0.0004 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

new-module compared with skills from other repositories

new-module next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
new-moduleranxi2001/zero2AgentSkill1.0kyesterdayMITA95Claude Code, Codex
ace-rsi-toolkitPrism-Shadow/penguin-harnessSkill3.2kyesterdayApache-2.0A69Claude Code, Codex
interactive-dashboardginlix-ai/LangAlphaSkill2.2kyesterdayApache-2.0A21Claude Code, Codex
dcf-modelginlix-ai/LangAlphaSkill2.2kyesterdayApache-2.0A56Claude Code, Codex
comps-analysisginlix-ai/LangAlphaSkill2.2kyesterdayApache-2.0A48Claude Code, Codex
company-profileginlix-ai/LangAlphaSkill2.2kyesterdayApache-2.0A68Claude Code, Codex
html-reportginlix-ai/LangAlphaSkill2.2kyesterdayApache-2.0A29Claude Code, Codex