Resume Tailor
name: resume-tailor
by 26048608982lp-ai · published 2026-04-01
$ claw add gh:26048608982lp-ai/26048608982lp-ai-jd-resume-tailor---
name: resume-tailor
description: Generate job-specific tailored resumes from a base profile and job description. First collects structured user info (personal details, work history, side projects, education, skills, certificates), then reads a target JD to produce a polished HTML resume customized to match. Outputs print-optimized HTML that exports cleanly to PDF via browser print. Use when user wants to create/rewrite/tailor a resume for a specific job posting, optimize a resume for ATS, build a resume from scratch, or says "make me a resume" / "tailor my resume" / "customize resume for this job". Supports Chinese and English resumes.
security: Uses --headless browser (msedge/chrome) for PDF export only. No network requests, no credential access, no file system operations outside workspace/resumes/.
---
# Resume Tailor
Generate a polished, job-specific HTML resume. Two-phase workflow: collect profile → match JD.
Phase 1: Profile Collection
On first run (no base profile exists), collect user info in this structured order. Ask one section at a time, confirm before moving to next. Save completed profile to `resume-profile.md` in workspace.
**Before collecting, confirm preferences:**
1. **Accent color** — Ask user to pick a theme color (default: `#6b4c9a` purple). Accept hex, color name, or "default". This applies to all generated resumes unless overridden per-JD.
2. **Language** — Chinese (中文) or English resume? Default based on user's communication language.
3. **Target region/culture** — e.g., mainland China (include birth date, photo slot), overseas (exclude).
1.1 Personal Information (个人信息)
1.2 Education (教育背景)
1.3 Work Experience (工作经历)
For each role, collect:
1.4 Side Projects / Personal Projects (个人项目)
For each project:
1.5 Skills (技能)
Group into categories:
1.6 Certificates & Awards (证书 & 荣誉)
1.7 Save Profile
After collecting all sections, save as `resume-profile.md`:
# Resume Profile: [Name]
> Last updated: YYYY-MM-DD
## Personal
[structured data]
## Education
[structured data]
## Work Experience
[per-role structured data with bullets]
## Projects
[per-project structured data]
## Skills
[categorized list]
## Certificates
[list]On subsequent runs, read `resume-profile.md` first. Ask only: "Profile loaded. Anything to update?" If changes needed, edit specific sections.
Phase 2: JD Match & Resume Generation
2.1 Collect Job Description
**Always ask the user to provide the JD.** Accept via:
After reading the JD, confirm with user:
📋 JD确认:
- 岗位:[Job Title]
- 公司:[Company]
- 核心要求:[3-5 key requirements]
- 加分项:[preferred qualifications]
以上提取正确吗?有补充或修正吗?Only proceed after user confirms the JD parsing is correct.
2.2 Match Analysis (show to user before generating)
🎯 Target: [Job Title] at [Company]
📊 Match: [High/Medium/Low]
✅ Strong matches:
- [match 1: profile strength → JD requirement]
- [match 2]
- [match 3]
⚠️ Gaps (be honest):
- [gap 1: JD wants X, profile has limited Y]
- [gap 2]
📝 Tailoring strategy:
- Emphasize: [what to highlight and expand]
- Reframe: [how to position existing experience]
- Downplay: [what to shorten or combine]
🎨 Accent color: [using default / user's choice / suggest per JD tone]Wait for user confirmation or adjustments before generating.
2.3 Generate HTML Resume
Produce a single self-contained HTML file with all CSS inline. Reference `references/html-template-guide.md` for detailed template specs.
**Content rules:**
**Style defaults (overridable per user preference):**
2.4 Auto Export PDF
After saving the HTML file, automatically export to PDF using headless browser.
**Edge (preferred, Windows built-in):**
& "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --headless --print-to-pdf="$outputPath" --no-margins --disable-gpu "$htmlPath"**Chrome fallback:**
& "C:\Program Files\Google\Chrome\Application\chrome.exe" --headless --print-to-pdf="$outputPath" --no-margins --disable-gpu "$htmlPath"Rules:
2.5 Deliver Result
Save both files to `resumes/`:
Tell user:
> ✅ Resume generated! PDF saved to `resumes/[Name]-[JobTitle].pdf`
>
> Verify before sending:
> - [ ] Contact info correct
> - [ ] Dates accurate
> - [ ] No typos in company/project names
> - [ ] Achievements not overstated
> - [ ] PDF formatting looks correct (open and scroll through)
File Structure
workspace/
├── resume-profile.md # Base profile (created on first run)
├── resumes/
│ ├── [Name]-[JobTitle].html
│ ├── [Name]-[JobTitle].pdf
│ └── ...
└── skills/
└── resume-tailor/
├── SKILL.md
└── references/
└── html-template-guide.mdSee `references/html-template-guide.md` for the complete HTML template structure with all sections, CSS classes, and print optimization details.
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...