claude-code-handbook AGENTS.md

claude-code-handbook AGENTS.md is an instructions file for Codex, OpenCode from vitoworleone/claude-code-handbook. It costs 2,147 tokens per session, scanned A, original, MIT.

A repository guide for maintaining claude-code-handbook, a practical knowledge base and workshop for building and using Claude Code agents. It defines the project’s purpose, folders, and naming rules.

In plain words
What is it for?
Use it when adding or reorganising documentation, examples, configuration, skills, or other repository content.
Why use it?
It gives human maintainers and AI agents shared rules before they change the repository, reducing misplaced files and inconsistent structure.

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/vitoworleone/claude-code-handbook/agents-md
Clone the repo
git clone --depth 1 https://github.com/vitoworleone/claude-code-handbook

Made for: Codex, OpenCode.

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-handbook AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/vitoworleone/claude-code-handbook/agents-md.svg)](https://agentmods.dev/instructions/vitoworleone/claude-code-handbook/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/vitoworleone/claude-code-handbook/agents-md"><img src="https://agentmods.dev/badge/instructions/vitoworleone/claude-code-handbook/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,147 This file is loaded in full into every session.
When invoked 2,147 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.02147 $0.02147
Opus 5 $0.01073 $0.01073
Sonnet 5 $0.00429 $0.00429
Haiku 4.5 $0.00215 $0.00215

Measured 5d ago against content hash eb5eb3a76d48, 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-handbook 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 5d 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 · 197 lines

How it starts

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

AGENTS.md — claude-code-handbook 仓库维护指南

本文件供 AI Agent(包括 Claude Code)和人类维护者参考。修改仓库结构前请先读此文件。


1. 项目定位

本仓库是 Claude Code 的实战知识库 + Agent Runtime 工坊,面向想"用得好"和"造得出" Claude Code 类 Agent 的开发者。

包含四条主线:

  • 使用手册 — 从安装配置到高级技巧的完整实战指南
  • 实践配方 — 可直接复用的代码、配置、Skill 模板和参考对照
  • Agent Runtime 工坊 — 手把手从零实现 Coding Agent 的教程与参考实现
  • Harness 笔记 — Agent Harness 架构学习与整理

不是学术论文集,也不是官方文档复读。内容是实战经验沉淀,长期可更新,随认知迭代持续补充。


2. 目录结构规范

2.1 顶层目录

claude-code-handbook/
├── docs/                          # 全部文档
│   ├── assets/                    # 静态资源
│   │   ├── avatar.png
│   │   ├── banner.png
│   │   └── xiaomi-images/         # 小米实践插图
│   ├── manual/                    # 使用手册
│   │   ├── README.md              # 手册总览
│   │   ├── part-01-overview/      # 认识 Claude Code
│   │   ├── part-02-basics/        # 基础配置
│   │   ├── part-03-workflow/      # 核心工作流
│   │   ├── part-04-context/       # 记忆与上下文
│   │   ├── part-05-extension/     # 扩展与自动化
│   │   ├── part-06-parallel/      # 并行与协作
│   │   ├── part-07-security/      # 安全与规范
│   │   └── part-08-advanced/      # 高级技巧
│   ├── recipes/                   # 实践配方
│   │   ├── agents/                # Agent 示例代码
│   │   ├── docs/                  # 中英学习文档
│   │   │   ├── en/
│   │   │   └── zh/
│   │   ├── skills/                # SKILL.md 模板
│   │   │   ├── agent-builder/
│   │   │   ├── code-review/
│   │   │   ├── mcp-builder/
│   │   │   └── pdf/
│   │   └── source-analysis/       # Agent Harness 对照参考
│   └── workshop/                  # Agent Runtime 工坊
│       ├── README.md              # 工坊总览
│       └── chapters/              # 10 章核心教程
│           └── ch-XX-name/
│               ├── theory.md
│               ├── python-implementation.md
│               ├── hands-on.md
│               └── images/
│
├── harness/                       # Agent Harness 学习笔记
│   └── README.md
│
├── mewcode/                       # Python 版 Agent Runtime 参考实现
│   ├── README.md
│   ├── pyproject.toml
│   ├── mewcode/
│   └── tests/
│
├── .gitignore
├── AGENTS.md                      # ← 本文件
├── LICENSE                        # MIT
└── README.md                      # GitHub 首页

Read the full file on GitHub · 197 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. 5d ago First seen · 197 lines · 2,147 tokens per session scan A eb5eb3a76d48

Subscribe to this mod's changes

claude-code-handbook AGENTS.md is an instructions file published in the GitHub repository vitoworleone/claude-code-handbook (44 stars, last pushed 2d ago), licensed MIT. It adds 2,147 tokens to every session, about $0.0107 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.