md2wechat-lite: Instructions file for Claude Code

CLAUDE.md

md2wechat-lite CLAUDE.md is an instructions file for Claude Code from geekjourneyx/md2wechat-lite. It costs 1,493 tokens per session, scanned A, original, MIT.

Repository instructions for md2wechat-lite, a Go command-line tool that converts Markdown into formats for WeChat articles and posts.

In plain words
What is it for?
Use it when modifying the CLI, API client, configuration, themes, upload commands, or its coding-agent skill.
Why use it?
They define the project structure and the build, test, static-analysis, and skill checks required before submitting changes.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; built for openclaw.

This is geekjourneyx/md2wechat-lite's own configuration. It tells Claude Code how to work on md2wechat-lite 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 md2wechat-lite configures →

Reuse

Borrowing it

Nothing to install: this file belongs to geekjourneyx/md2wechat-lite. 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/geekjourneyx/md2wechat-lite/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/geekjourneyx/md2wechat-lite

Made for: Claude Code.

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 md2wechat-lite CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/geekjourneyx/md2wechat-lite/claude-md/github.svg)](https://agentmods.dev/instructions/geekjourneyx/md2wechat-lite/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/geekjourneyx/md2wechat-lite/claude-md"><img src="https://agentmods.dev/badge/instructions/geekjourneyx/md2wechat-lite/claude-md/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 md2wechat-lite CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/geekjourneyx/md2wechat-lite/claude-md"><img src="https://agentmods.dev/badge/instructions/geekjourneyx/md2wechat-lite/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,493 This file is loaded in full into every session.
When invoked 1,493 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01493 $0.01493
Opus 5 $0.00746 $0.00746
Sonnet 5 $0.00299 $0.00299
Haiku 4.5 $0.00149 $0.00149

Measured 9d ago against content hash 811295abeeb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

md2wechat-lite 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 9d 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.

CLAUDE.md · 198 lines

How it starts

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

md2wechat-lite - 项目记忆

项目概述

md2wechat-lite 是一个轻量级的 CLI 工具,通过 API 服务将 Markdown 转换为微信公众号格式。

项目结构

md2wechat-lite/
├── cli/                    # CLI 源码
│   ├── main.go             # 程序入口
│   ├── article-draft.go    # 图文草稿命令
│   ├── newspic-draft.go    # 小绿书草稿命令
│   ├── batch-upload.go     # 批量上传命令
│   ├── config.go           # 配置管理命令
│   ├── themes.go           # 主题列表命令
│   ├── pkg/                # 内部包
│   │   ├── api/           # API 客户端
│   │   ├── config/        # 配置文件管理
│   │   ├── themes/        # 主题列表
│   │   └── output/        # 输出格式化
│   └── scripts/           # 安装脚本
├── skills/                 # Claude Code Skill 定义
│   └── md2wechat-lite/
│       └── SKILL.md        # Skill 定义文件
├── CLAUDE.md              # 本文件
├── CHANGELOG.md           # 变更日志
└── README.md              # 项目说明

提交前工作流程

每次代码提交前,必须按顺序执行以下步骤:

1. 编译检查

cd /root/md2wechat-lite
go build -o md2wx ./cli

确保编译无错误。

2. 代码检查

go test ./cli/pkg/...
go vet ./cli/...

确保测试通过,无 vet 警告。

3. SKILL.md 规范检查

检查 skills/md2wechat-lite/SKILL.md 符合规范:

  • 包含 YAML frontmatter(name + description)
  • name: 小写+连字符,<64 字符
  • description: 第三人称,包含功能+使用场景
  • 使用动名词形式
  • SKILL.md 主体 < 500 行
  • 使用渐进式披露模式
  • 术语一致
  • 引用仅一层深
  • 无时效性信息
  • Unix 路径格式

参考规范:/root/skill-rules/SKILL-RULE.md

4. 代码与项目一致性检查

  • 代码变更与 SKILL.md 描述一致
  • README.md 与实际功能一致
  • 项目结构文档与实际目录结构一致

5. README.md 检查

检查 README.md 符合最佳排版和阅读习惯:

  • 项目名 md2wechat-lite 与 CLI 名 md2wx 区分清晰
  • SEO 标题:AI Agent 自动排版公众号 —— Markdown 转微信排版 CLI 工具
  • 前置准备:API Key 和主题预览链接
  • 功能亮点简洁明了
  • AI 创作工作流说明
  • 相关项目链接
  • 打赏和作者信息完整
  • OpenClaw 链接:https://openclaw.ai

6. Git Commit 规范

提交信息格式:

<type>(<scope>): <subject>

<body>

<footer>

Type:

  • feat: 新功能
  • fix: 修复 bug
  • docs: 文档变更
  • style: 代码格式(不影响功能)
  • refactor: 重构
  • test: 测试相关
  • chore: 构建过程或辅助工具变更

Read the full file on GitHub · 198 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. 9d ago First seen · 198 lines · 1,493 tokens per session scan A 811295abeeb7

Subscribe to this mod's changes

md2wechat-lite CLAUDE.md is an instructions file published in the GitHub repository geekjourneyx/md2wechat-lite (87 stars, last pushed 6mo ago), licensed MIT. It adds 1,493 tokens to every session, about $0.0075 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.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,737 tokens