resume-markdown-mcp: Instructions file for Claude Code

CLAUDE.md

resume-markdown-mcp CLAUDE.md is an instructions file for Claude Code from ailenshen/resume-markdown-mcp. It costs 889 tokens per session, scanned A, original, from a forked repository, MIT.

Repository-specific instructions for resume-markdown-mcp, a tool that lets an AI write or modify a resume in Markdown and export it as a PDF. Markdown is plain text with simple formatting markers, and MCP is the interface used by AI clients to call the tool.

In plain words
What is it for?
Use it to create or edit Markdown resumes, read the built-in template or style, customize formatting when needed, and export the result to PDF.
Why use it?
It keeps resume content separate from styling so users can focus on their experience without maintaining CSS or a build process. It also explains how an AI client should choose between existing files and generated content.

Instructions file for Claude Code

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

This is ailenshen/resume-markdown-mcp's own configuration. It tells Claude Code how to work on resume-markdown-mcp 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 resume-markdown-mcp configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/ailenshen/resume-markdown-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ailenshen/resume-markdown-mcp

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 resume-markdown-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ailenshen/resume-markdown-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/ailenshen/resume-markdown-mcp/claude-md)
Your own site
<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.

agentmods 80×15 button for resume-markdown-mcp CLAUDE.md

Your own site · 80×15
<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>
Per session 889 This file is loaded in full into every session.
When invoked 889 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 fork From a forked repository.
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.00889 $0.00889
Opus 5 $0.00445 $0.00445
Sonnet 5 $0.00178 $0.00178
Haiku 4.5 $0.00089 $0.00089

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

Security

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.

CLAUDE.md · 99 lines

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_pathcss_content),不依赖外部文件约定
  • AI 可通过 resume://style resource 读取默认 CSS,在此基础上帮用户定制

Tool 双输入模式

export_resume_pdf 工具同时支持两种输入,覆盖不同场景:

  • file_path:用户已有 .md 文件时直接传路径,不消耗 token
  • markdown_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,带 smartyabbr 扩展)
  • 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        # 内置简历模板

Read the full file on GitHub · 99 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. 8d ago First seen · 99 lines · 889 tokens per session scan A 8b75e0598b91

Subscribe to this mod's changes

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.

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