Borrowing it
Nothing to install: this file belongs to Tsinglung-Tseng/ali-mcp. 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/Tsinglung-Tseng/ali-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/Tsinglung-Tseng/ali-mcpWrote 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/tsinglung-tseng/ali-mcp/claude-md)<a href="https://agentmods.dev/instructions/tsinglung-tseng/ali-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/tsinglung-tseng/ali-mcp/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.
<a href="https://agentmods.dev/instructions/tsinglung-tseng/ali-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/tsinglung-tseng/ali-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.00703 | $0.00703 |
| Opus 5 | $0.00351 | $0.00351 |
| Sonnet 5 | $0.00141 | $0.00141 |
| Haiku 4.5 | $0.00070 | $0.00070 |
Grade A, and why
ali-mcp 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.
What it actually says
ali-mcp Project Guidelines
本地开发规范
- 格式化:每次修改完 Go 源码后自动
gofmt -w/goimports -w。 - 测试/构建中间产物:用完即删,不留残渣。
- 分支开发:所有 feature 变更走分支;未经明确同意不得推送远程。
- Review 流程:本地 review → PR review → 合并。
- 代码风格:不过度设计,保持简洁易读;中文注释简洁明了,专业名词可用英文。
项目专属原则(来自参考项目 xiaohongshu-mcp)
- 优先 go-rod,慎用 JS 注入:PR 中若出现大量 JS 注入,检查是否可用 go-rod 原生 API 替代;不能替代再注入,并注释理由。
- 登录态按域隔离:淘宝/闲鱼账号共用阿里系,但 cookie 按域分文件存放(
cookies/taobao.json、cookies/xianyu.json),避免 scope 污染。 - 电商风控:默认提供
--headless=false选项;headless 模式下务必启用go-rod/stealth。 - 反模式警告:所有"检查不到元素就重试 N 次"的逻辑,必须带超时和 stop 信号,不允许死循环。
配置读取铁律(来自 user global rules)
- 禁止硬编码:API Key / Token、服务地址端口(含内网 IP)、用户路径(
/Users/<name>/...)、数据库连接串一律从 env 或 config 读取,缺失即 fail loud,不静默降级。 - No fallback on config & field reads:读取 env / config / dict / struct 字段时,禁止
or default/.get(k, default)/try/except静默兜底。字段缺失直接 panic,让 bug 立即暴露,不允许下游才爆。 - 例外:用户输入校验、明确文档化的可选字段、外部系统兼容层 —— 就地注释说明为何可容忍缺失。
Go 工具链
- 模块代理:
GOPROXY=https://goproxy.cn,direct(国内网络,走七牛镜像) - 依赖:只添加真实使用的依赖;定期
go mod tidy。 - 测试:关键 action 写
*_test.go,跑go test ./...需 pass。
文档结构(dev-framework 管理)
docs/project/dev-plan.md— 开发计划(活文档)docs/project/CHANGELOG.md— 变更时间线docs/modules/<module>.md— 模块活文档(真相来源)docs/decisions/NNN-<desc>.md— 架构决策记录(只增不改)docs/debug/YYYYMMDD-<desc>.md— 调试记录(一次性)
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.
- 9d ago First seen · 37 lines · 703 tokens per session scan A b187495a1c68
ali-mcp CLAUDE.md is an instructions file published in the GitHub repository Tsinglung-Tseng/ali-mcp (4 stars, last pushed 4mo ago), licensed MIT. It adds 703 tokens to every session, about $0.0035 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-31.
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.
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).
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).
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.
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.