Borrowing it
Nothing to install: this file belongs to ailenshen/resume-markdown-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/ailenshen/resume-markdown-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/ailenshen/resume-markdown-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/ailenshen/resume-markdown-mcp/claude-md)<a href="https://agentmods.dev/instructions/ailenshen/resume-markdown-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/ailenshen/resume-markdown-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/ailenshen/resume-markdown-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/ailenshen/resume-markdown-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.00889 | $0.00889 |
| Opus 5 | $0.00445 | $0.00445 |
| Sonnet 5 | $0.00178 | $0.00178 |
| Haiku 4.5 | $0.00089 | $0.00089 |
Grade A, and why
resume-markdown-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 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
resume-markdown-mcp
项目初衷
市面上的简历工具要么是重型 SaaS,要么需要用户手动维护 CSS 和构建流程。这个项目的目标是:让 AI 直接参与简历的撰写、格式转换和导出,用户只需描述自己的经历,AI 负责生成格式规范的 Markdown,并一键导出为 PDF。
核心理念:简历内容归用户,格式和样式归工具。
设计方向
MCP 优先
项目以 MCP 服务器为主要接口,CLI 作为辅助工具保留。AI 客户端(Claude Code / Claude Desktop)通过 MCP 协议调用工具,完成"撰写 → 导出"的完整流程。
CSS 层对用户屏蔽
用户和 AI 只需关注 Markdown 内容。CSS 作为内部实现细节:
- 默认使用内置样式,零配置
- 需要自定义时通过 tool 参数传入(
css_path或css_content),不依赖外部文件约定 - AI 可通过
resume://styleresource 读取默认 CSS,在此基础上帮用户定制
Tool 双输入模式
export_resume_pdf 工具同时支持两种输入,覆盖不同场景:
file_path:用户已有.md文件时直接传路径,不消耗 tokenmarkdown_content:AI 生成或修改后的内容直接传入
AI 应根据内容是否符合格式规范来决定走哪条路径(见 server.py 中的 tool description)。
MCP 接口
| 类型 | 名称 | 说明 |
|---|---|---|
| Tool | export_resume_pdf |
将 Markdown 简历导出为 PDF |
| Resource | resume://template |
内置 Markdown 简历模板,AI 按需读取以了解格式 |
| Resource | resume://style |
内置默认 CSS,AI 读取后可帮用户定制样式 |
Markdown 简历格式约定
本项目依赖以下 Markdown 约定来生成正确样式的 PDF:
# 姓名 ← h1:页面标题 + 姓名显示
- [email protected] ← h1 后紧跟的列表:联系方式(内联显示)
- 电话
- 城市
一句话简介(可选) ← 联系方式后的段落:摘要
## 工作经历 ← h2:章节标题
### <span>职位, 公司</span> <span>2022 – 2025</span> ← h3 + 两个 span:左右弹性布局
- 成就描述
## 教育背景
## 技能
关键:h3 中的两个 <span> 标签是必须的,CSS 用 flexbox 实现标题左对齐、日期右对齐。
技术栈
- Python ≥ 3.12
- mcp ≥ 1.27.0(FastMCP)
- markdown(python-markdown,带
smarty和abbr扩展) - hatch-vcs(git tag 动态版本号)
- headless Chrome / Chromium(运行时依赖,用于 PDF 渲染)
开发命令
# 安装为本地工具
uv tool install --force --reinstall .
# CLI 测试
resume-markdown init
resume-markdown build resume.md
# MCP server 启动(stdio)
resume-markdown-mcp
# 或通过 uvx 运行(无需预安装)
uvx --from . resume-markdown-mcp
文件结构
src/resume_markdown/
__init__.py # 包入口,导出 main 和 mcp_main
__main__.py # CLI:init 和 build 命令
server.py # MCP 服务器:tool + resources
converter.py # 核心转换逻辑:Markdown → HTML → PDF
resume.css # 内置默认样式
resume.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.
- 8d ago First seen · 99 lines · 889 tokens per session scan A 8b75e0598b91
resume-markdown-mcp CLAUDE.md is an instructions file published in the GitHub repository ailenshen/resume-markdown-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 889 tokens to every session, about $0.0044 per session on Opus 5. A static security scan graded it A with 0 findings. It comes from a forked repository.
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.