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.
curl -O https://raw.githubusercontent.com/geekjourneyx/md2wechat-lite/main/AGENTS.mdgit clone --depth 1 https://github.com/geekjourneyx/md2wechat-liteWrote 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.
[](https://agentmods.dev/instructions/geekjourneyx/md2wechat-lite/agents-md)<a href="https://agentmods.dev/instructions/geekjourneyx/md2wechat-lite/agents-md"><img src="https://agentmods.dev/badge/instructions/geekjourneyx/md2wechat-lite/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01032 | $0.01032 |
| Opus 5 | $0.00516 | $0.00516 |
| Sonnet 5 | $0.00206 | $0.00206 |
| Haiku 4.5 | $0.00103 | $0.00103 |
Grade A, and why
md2wechat-lite 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
md2wechat-lite - Agent 工作规范
本文件面向在本仓库内工作的代码智能体(Agent),用于统一开发、测试、文档与发布流程。
1. 项目概述
- 项目名:
md2wechat-lite - CLI 名:
md2wx - 仓库:
https://github.com/geekjourneyx/md2wechat-lite - 语言:Go
1.24+ - CLI 框架:
cobra
2. 项目结构
md2wechat-lite/
├── cli/
│ ├── main.go
│ ├── article-draft.go
│ ├── newspic-draft.go
│ ├── batch-upload.go
│ ├── config.go
│ ├── themes.go
│ ├── pkg/
│ │ ├── api/
│ │ ├── config/
│ │ ├── themes/
│ │ └── output/
│ └── scripts/
├── skills/
│ └── md2wechat-lite/
│ └── SKILL.md
├── AGENTS.md
├── CLAUDE.md
├── CHANGELOG.md
└── README.md
3. 开发前置认知
- 本项目是“薄命令层 + API 客户端”架构,核心业务在服务端,CLI 负责参数校验、请求组装、结果输出。
- 配置文件路径为
~/.md2wx/config.yaml,但文件内容是key=value形式(不是 YAML 结构化对象)。 - 输出格式以 JSON 为主(
cli/pkg/output)。
4. 图片与封面约束(必须遵守)
article-draft --cover-image、newspic-draft --images、batch-upload --images仅支持公网 URL。- 不支持本地图片路径(如
./a.jpg)与通配符(如*.jpg)。 article-draft不支持通过 stdin 管道直接读取 Markdown(如cat a.md | md2wx article-draft ...)。- 为避免服务端
invalid media_id等错误,article-draft建议始终传--cover-image。
5. 提交前检查清单
按顺序执行:
- 编译检查
go build -o md2wx ./cli
- 单元测试与静态检查
go test ./cli/pkg/...
go vet ./cli/...
- 文档一致性检查
- 代码变更与
skills/md2wechat-lite/SKILL.md一致。 README.md示例命令与当前实现一致。- 涉及图片参数时仅使用 URL 示例,不出现本地路径/通配符误导。
- SKILL 规范检查(
skills/md2wechat-lite/SKILL.md)
- 包含 YAML frontmatter(
name+description)。 name为小写连字符格式,长度小于 64。description使用第三人称并覆盖功能与场景。- 主体内容控制在 500 行内,使用渐进式披露。
6. 安全与示例数据规范
- 文档、帮助文案、安装脚本、测试样例中不得使用疑似真实凭据。
- 示例统一使用占位值,例如:
wx_appid_exampleapi_key_examplewx_test_appid_example
- 不提交真实
AppID/AppSecret/API Key。
7. Commit 规范
提交格式:
<type>(<scope>): <subject>
常用 type:
featfixdocsstylerefactortestchore
8. 版本与发版
- 修改功能或文档后,按需更新
CHANGELOG.md的[Unreleased]。 - 发版前确认构建、测试、文档一致性全部通过。
- Tag 与 release 版本号保持一致(示例:
v1.0.x)。
9. 参考链接
- API 文档:
https://md2wechat.app/api-docs - 主题预览:
https://md2wechat.app/theme-gallery - 项目仓库:
https://github.com/geekjourneyx/md2wechat-lite - Skill 仓库:
https://github.com/geekjourneyx/md2wechat-skill
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.
- 8d ago First seen · 116 lines · 1,032 tokens per session scan A 18906b25f9b8
md2wechat-lite AGENTS.md is an instructions file published in the GitHub repository geekjourneyx/md2wechat-lite (87 stars, last pushed 6mo ago), licensed MIT. It adds 1,032 tokens to every session, about $0.0052 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.
Other instructions, from other repositories
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.
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).
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.
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.
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).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.