m2w CLAUDE.md

m2w CLAUDE.md is an instructions file for coding agents from huangwb8/m2w. It costs 413 tokens per session, scanned A, a copy of ChineseResearchLaTeX CLAUDE.md, MIT.

Project instructions for m2w, a tool that converts Markdown documents into WordPress content. WordPress is a system for publishing and managing websites.

In plain words
What is it for?
Use them when changing m2w, managing its tasks, linking files, or updating its project documentation.
Why use it?
They explain how to reference files, track tasks, edit code, and keep project instructions and change records in sync.

Instructions file

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/huangwb8/m2w/claude-md
Clone the repo
git clone --depth 1 https://github.com/huangwb8/m2w

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 m2w CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/huangwb8/m2w/claude-md.svg)](https://agentmods.dev/instructions/huangwb8/m2w/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/huangwb8/m2w/claude-md"><img src="https://agentmods.dev/badge/instructions/huangwb8/m2w/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 413 This file is loaded in full into every session.
When invoked 413 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 88% copy Near-identical to another mod 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.00413 $0.00413
Opus 5 $0.00206 $0.00206
Sonnet 5 $0.00083 $0.00083
Haiku 4.5 $0.00041 $0.00041

Measured 5d ago against content hash 6b85b7546f3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

m2w CLAUDE.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.

Origin

This is a copy

88% identical to ChineseResearchLaTeX CLAUDE.md — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 42 lines

What it actually says

m2w: Markdown to WordPress - Claude Code 项目指令

核心指令

@./AGENTS.md

Claude Code 特定说明

文件引用规范

在 Claude Code 中引用文件时,使用 markdown 链接语法:

  • 文件[filename.md](路径/filename.md)
  • 特定行[filename.md:42](路径/filename.md#L42)
  • 行范围[filename.md:42-51](路径/filename.md#L42-L51)
  • 目录[目录名/](路径/目录名/)

任务管理

  • 使用 TodoWrite 工具跟踪复杂任务的进度
  • 完成任务后及时标记为 completed
  • 拆分大任务为可管理的小步骤

代码变更规范

  • 修改代码前先使用 Read 工具阅读文件
  • 优先使用 Edit 工具进行精确修改
  • 避免不必要的格式化或重构

与 AGENTS.md 的关系

  • AGENTS.md:跨平台通用项目指令(Single Source of Truth)
  • CLAUDE.md:通过 @./AGENTS.md 自动引用 + Claude Code 特定适配
  • 维护流程
    1. 修改 AGENTS.md(唯一需要手动维护的项目指令文件)
    2. CLAUDE.md 会自动读取最新的 AGENTS.md 内容
    3. 无需运行任何同步命令
  • 参考文档

提示:修改 AGENTS.md 后,请立即在 CHANGELOG.md 中记录变更。这是项目管理的强制性要求,不是可选项。

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 · 42 lines · 413 tokens per session scan A 6b85b7546f3a

Subscribe to this mod's changes

m2w CLAUDE.md is an instructions file published in the GitHub repository huangwb8/m2w (44 stars, last pushed 7mo ago), licensed MIT. It adds 413 tokens to every session, about $0.0021 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to ChineseResearchLaTeX CLAUDE.md, differing in 5 lines, and is treated as a copy.