zero2Agent AGENTS.md

A repository guide for zero2Agent, a Chinese-language tutorial site about building, evaluating, and interviewing for AI agent systems.

In plain words
What is it for?
It guides task setup, checking the worktree, reading related articles and skills, updating navigation, and verifying changing project facts.
Why use it?
It keeps content and navigation changes focused while directing developers to the repository's current structure and rules.

Instructions file for CodexOpenCode

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 instructions/ranxi2001/zero2agent/agents-md
Clone the repo
git clone --depth 1 https://github.com/ranxi2001/zero2Agent

Made for: Codex, OpenCode.

Per session 1,535 This file is loaded in full into every session.
When invoked 1,535 The same file — it is already loaded in full.
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.01535 $0.01535
Opus 5 $0.00767 $0.00767
Sonnet 5 $0.00307 $0.00307
Haiku 4.5 $0.00153 $0.00153

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

Security

Grade A, and why

zero2Agent AGENTS.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 2d 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.md · 153 lines

How it starts

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

zero2Agent Repository Guide

Purpose

This repository owns the zero2Agent tutorial site at https://onefly.top/zero2Agent/. It is a Chinese-language, engineering-focused learning path for developers building, evaluating, and interviewing for AI Agent systems.

Keep repository changes focused on one coherent content, navigation, design, or publishing outcome. Preserve unrelated user edits and check the worktree before and after every task.

Start Every Task

  1. Run git status --short --branch and identify the exact files in scope.
  2. Read the relevant repository Skill under .agents/skills/ before editing.
  3. Inspect the current module index, neighboring articles, and _data/nav.yml; examples or article counts in a Skill may be older than the repository.
  4. For facts about fast-moving tools, APIs, models, prices, or projects, verify them against current primary sources and distinguish fact from inference.
  5. Keep generated output, credentials, browser profiles, and scraped raw data out of Git.

Source Of Truth

  • _data/nav.yml drives the article header navigation, sidebar, and previous/ next pager through _layouts/default.html.
  • Each module directory owns its landing index.md and article directories.
  • An article lives at <module>/<NN>-<slug>/index.md.
  • index.html owns the homepage module cards, headline metrics, and primary entry links.
  • README.md owns the public repository overview, module table, totals, and local-run instructions.
  • _config.yml owns the Jekyll URL, base path, included content, and plugins.
  • _layouts/default.html and assets/ own the shared article shell and client behavior. Avoid article-specific fixes in shared code unless the behavior is intentionally site-wide.
  • .github/workflows/jekyll-gh-pages.yml is the production build and deploy contract. A push to main publishes the site.

When these sources disagree, use executable site behavior and current files as evidence, then update every affected summary or count in the same change.

Read the full file on GitHub · 153 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. 2d ago First seen · 153 lines · 1,535 tokens per session scan A e0ec979185cc

Subscribe to this mod's changes

zero2Agent AGENTS.md is an instructions file published in the GitHub repository ranxi2001/zero2Agent (367 stars, last pushed 2d ago), licensed MIT. It adds 1,535 tokens to every session, about $0.0077 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-30.