job-setup
Skill60 starsChanged 7 months agoMITView on GitHub
Conversational onboarding for the AI Job Agent. Starts by auto-reading the user's existing files (CLAUDE.md, ~/.brain, Claude Code memory, existing candidate profile, ~/.msmtprc) and scanning for resume PDFs, then offers to search the web for anything else — only asking the user for gaps. Writes all config files and registers the bundled skills. Proactively invoke this skill (do NOT answer conversationally) when the user is setting up the agent for the first time, says "I want to start job hunting", "onboard me", "set this up", "help me get started", "walk me through setup", "read my files to fill this out", asks about their profile/resume/work authorization, says "configure the agent", or invokes /job-setup. Also invoke when the user tries any other job-* skill and the required config files are missing.
- Installs packages
3 other projects use a version of this.
Adopted by
Most recently taken up by
- rockbenben/ai-job-search-cntheir own version, first seen Sep 29, 2026
- ashlesh-t/jobpilottheir own version, first seen Aug 2, 2026
- Edfordshire/claude-job-search-agenttheir own version, first seen Jul 27, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- rockbenben/ai-job-search-cn★ 20same name
- ashlesh-t/jobpilot★ 3same name
- Edfordshire/claude-job-search-agent★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- job-applySkill
- job-coachSkill
- job-cvSkill
- job-dashboardSkill
- job-evaluateSkill
- job-followupSkill
- job-interviewSkill
- job-outreachSkill
- job-patternsSkill
- job-recapSkill
- job-statusSkill
- job-trackSkill
- job-triageSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. About 0 are common, 16 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Before asking anything, print a checklist of what's already configured so we don't re-ask.
- Very specific: line 49
If everything checks, say *"You're already set up.
- Very specific: line 51
If $ARGUMENTS is --reconfigure <section>, jump directly to that section and skip the others.
- Distinctive: line 69
Use Glob for patterns:
- Distinctive: line 76
Read anything that matches.
- Distinctive: line 93
Use Glob on these patterns in order.
- Distinctive: line 107
If you found a candidate resume PDF in the previous step, run:
- Distinctive: line 113
If it returns text (chars > 200), use the extracted text to *additionally* pre-fill:
- Very specific: line 122
If the script returns empty text, skip silently — auto-discovery from ~/CLAUDE.md + ~/.brain/ + memory still produces enough for most users.
- Very specific: line 124
Don't fail Step 0.5 if Playwright isn't installed (npx playwright install chromium) — emit a soft "tip: install Playwright Chromium for …
- Very specific: line 128
Search all the files you just read for linkedin.com/in/* URLs.
- Distinctive: line 158
If the user gave you a LinkedIn URL or you found one, offer — don't auto-run — a WebFetch to pull their current role/headline:
- Distinctive: line 178
Ask these in one message (numbered list).
- Very specific: line 198
Use AskUserQuestion (this is a locked-choice field and drives the sponsorship flags):
- Very specific: line 213
Use AskUserQuestion with an explicit "Prefer not to say" + "Skip" option.
- Distinctive: line 220
Ask for the path to the resume PDF.
- Distinctive: line 226
If MISSING: loop, tell the user to drag-and-drop into the terminal.
- Distinctive: line 228
If they have both a software-focused and an EE-focused resume (as Akbar does — see the repo's README), ask for both paths.
- Very specific: line 242
If one exists, show it and ask "use this path?
- Distinctive: line 246
Ask: *"Want to set up cold email sending too?
- Distinctive: line 248
If no → skip to Step 8.
- Distinctive: line 252
Check msmtp is installed:
- Distinctive: line 258
If MISSING, print the right install command for the platform and stop until the user confirms they've installed it:
- Very specific: line 263
Check ~/.msmtprc exists. If yes, ask "Use existing config?
- Very specific: line 282
Write ~/.msmtprc via the Write tool:
- Very specific: line 310
If ok: true, say "cold email is live."
- Very specific: line 314
Use the Write tool for each.
- Distinctive: line 425
If the user is in a non-English-speaking context (Uzbek, Spanish, etc.), ask them in that language for the free-text fields — it tends to …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Job Setup
The onboarding skill. Replaces bash wizard.sh with an in-chat conversation — same questions, same outputs, but Claude asks them and writes the files directly.
Repo location
$AI_JOB_AGENT_ROOT → ~/.claude/skills/ai-job-agent/ → REPO_PATH marker file → ~/ai-job-agent/. If none of these exists, the user hasn't cloned the repo yet — tell them to paste this into their Claude Code session:
Install ai-job-agent: run
git clone --single-branch --depth 1 https://github.com/AkbarDevop/ai-job-agent ~/.claude/skills/ai-job-agent && cd ~/.claude/skills/ai-job-agent && bash skills/install.shthen tell me it's done and run /job-setup.
and rerun /job-setup after the install finishes.
Philosophy — don't ask what you can find
Before asking the user anything, try hard to fill it in from what's already on their machine. Users hate retyping their name into the 200th form; they really hate retyping it into an onboarding wizard when Claude already knows it from memory. Always auto-discover first, then surface a pre-filled confirmation table, then only ask for what's genuinely missing.
State inspection (always first)
Before asking anything, print a checklist of what's already configured so we don't re-ask. Check:
| Item | Path | Exists? |
| LinkedIn config | config/linkedin-config.json | ✅ / ⬜ |
| Candidate profile | config/candidate-profile.md | ✅ / ⬜ |
| Answer bank | config/answer-bank.md | ✅ / ⬜ |
| Application tracker | application-tracker.csv | ✅ / ⬜ |
| Outreach log | outreach-log.csv | ✅ / ⬜ |
| Resume file | (read from linkedin-config.json → resumePath) | ✅ / ⬜ |
| msmtp installed | command -v msmtp | ✅ / ⬜ |
| msmtp config | ~/.msmtprc (check with test -f) | ✅ / ⬜ |
| Skills installed | ~/.claude/skills/job-apply is a symlink to this repo | ✅ / ⬜ |
If everything checks, say "You're already set up. Run /job-setup --reconfigure <section> to change one thing, or /job-setup --reconfigure all to redo from scratch." and stop.
If $ARGUMENTS is --reconfigure <section>, jump directly to that section and skip the others.
Otherwise, walk the auto-discovery step first, then only the missing sections.
Steps
Step 0.5 — Auto-discover from the user's files (runs before every other step)
Read these files one by one. Each read is "best-effort" — if it doesn't exist, skip and move on. Don't ask the user for permission; these are all files Claude Code already has access to and that the user effectively opted into by running /job-setup.
Personal config + memory:
~/CLAUDE.md— the user's own CLAUDE.md. Often has their name, school, current role context.~/.brain/context/akbar.md(or whatever~/.brain/context/<name>.mdexists) — shared-brain user profile.~/.brain/agents/jobhunt.md— the jobhunt agent file. Stats, tracker paths, historical context.~/.claude/projects/*/memory/MEMORY.md— Claude Code's auto-memory index.~/.claude/projects/*/memory/user_profile.md— the user memory itself (often has role, school, project context).
Use Glob for patterns:
~/.claude/projects/**/memory/user_*.md
~/.claude/projects/**/memory/MEMORY.mdRead anything that matches.
Email (from the msmtp config if it exists):
grep -E '^(from|user)' ~/.msmtprc 2>/dev/nullThis is the easiest email to find — .msmtprc already has it.
Existing candidate profile (partial migrations):
<repo>/config/candidate-profile.md— if present but stale<repo>/config/linkedin-config.json— if present but incomplete
Resume PDFs (scan common paths):
Use Glob on these patterns in order; stop at the first 5 hits:
~/Desktop/**/*[Rr]esume*.pdf
~/Desktop/**/*CV*.pdf
~/Documents/**/*[Rr]esume*.pdf
~/Documents/**/*CV*.pdf
~/Downloads/**/*[Rr]esume*.pdfFor each candidate PDF, capture path + mtime. The most recently modified one is likely the live resume.
Resume content extraction (best-effort):
If you found a candidate resume PDF in the previous step, run:
node "$AI_JOB_AGENT_ROOT/scripts/parse-resume.mjs" "$PDF_PATH"If it returns text (chars > 200), use the extracted text to additionally pre-fill:
- Education — look for university names ("University of …", "Mizzou", a known institution), graduation year (most recent "20XX–20YY" near education lines), GPA (the number after "GPA")
- Major / degree type — "Bachelor of Science in …" / "Master's" / "PhD" patterns
- Years of experience — count distinct work entries; if all post-graduation, use that as YoE
- Key projects + skills — pull the bulleted "Projects" section and the "Skills" line; Claude can paraphrase into
projectPitchfield oflinkedin-config.json - LinkedIn URL — search for
linkedin.com/in/...in the text (if not already known) - GitHub URL — search for
github.com/...
If the script returns empty text, skip silently — auto-discovery from ~/CLAUDE.md + ~/.brain/ + memory still produces enough for most users.
Don't fail Step 0.5 if Playwright isn't installed (npx playwright install chromium) — emit a soft "tip: install Playwright Chromium for resume auto-extract" and continue.
LinkedIn URL (from whatever source):
Search all the files you just read for linkedin.com/in/* URLs. The first match is almost always the user's own profile.
Build the discovery report:
Render a table of what you found. Every field should be either:
- a concrete value pulled from the files (show the source file path in dim text)
<ask user>if nothing credible found
| Field | Value found | Source |
|--------------------|------------------------------------|-------------------------------|
| First name | Akbarjon | ~/CLAUDE.md |
| Last name | Kamoldinov | ~/.brain/context/akbar.md |
| Preferred name | Akbar | memory/user_profile.md |
| Email | k.akbarme@gmail.com | ~/.msmtprc |
| Phone | <ask user> | — |
| City, State | Columbia, Missouri | inferred from "junior at Mizzou" |
| School | University of Missouri (Mizzou) | ~/.brain/context/akbar.md |
| Major | Electrical Engineering | memory/user_profile.md |
| Expected graduation| <ask user> | — |
| GPA | <ask user> | — |
| Degree type | Bachelor's | inferred |
| LinkedIn URL | linkedin.com/in/akbarjon-kamoldinov | memory/MEMORY.md |
| Country of origin | Uzbekistan | ~/.brain/context/akbar.md |
| Resume PDF (best) | ~/Desktop/Akbar_Resume_2026.pdf | mtime 2026-04-12 |
| Resume PDF (alt) | ~/Documents/akbar-resume-EE.pdf | mtime 2026-03-28 |Offer one round of web research (optional):
If the user gave you a LinkedIn URL or you found one, offer — don't auto-run — a WebFetch to pull their current role/headline:
Want me to fetch your LinkedIn profile to pick up anything else (headline, current role, recent projects)? (y/n)
On y: WebFetch linkedin.com/in/<handle> and enrich the discovery table. On n: skip.
Similarly, if the user asks or if key fields are still <ask user>, offer a web search:
Want me to search the web for more about you (e.g. your public GitHub, personal site)? I'll only use it to fill this profile. (y/n)
Confirmation gate:
Show the enriched table. Ask:
I've auto-filled what I could from your files. Anything wrong, or fields I should fill in? Either say "looks good" or paste corrections like "phone: 555-123-4567, graduation: May 2027".
Process corrections. Then walk any remaining <ask user> fields through the normal Step 1–6 flow below, skipping anything that's already filled. Do NOT re-ask fields that came back looks good.
Step 1 — The Basics (skip if linkedin-config.json exists)
Ask these in one message (numbered list). Accept "skip" per-field.
- First name
- Last name
- Phone (e.g.
(555) 123-4567) - City, State (e.g.
Columbia, Missouri)
Validate: email has @, phone has at least 10 digits.
Step 2 — Education
- University
- Major
- Expected graduation (e.g.
May 2027) - GPA (e.g.
3.5) - Degree type (use
AskUserQuestionwith choices: Bachelor's / Master's / PhD / Associate's)
Step 3 — Work Authorization
Use AskUserQuestion (this is a locked-choice field and drives the sponsorship flags):
| Answer | authorizedToWork | requireCurrentSponsorship | requireFutureSponsorship | visaStatus |
| US Citizen | Yes | No | No | N/A |
| Permanent Resident (Green Card) | Yes | No | No | Permanent Resident |
| F-1 Student Visa (CPT/OPT) | Yes | No | Yes | F-1 student visa |
| H-1B Visa | Yes | No | Yes | H-1B |
| Other visa | Yes | No | Yes | (ask for the type) |
| Not authorized to work in US | No | Yes | Yes | None |
For every answer except "US Citizen", also ask for country of citizenship.
Step 4 — EEO Demographics (optional)
Use AskUserQuestion with an explicit "Prefer not to say" + "Skip" option. Skip → empty string.
- Gender: Male / Female / Non-binary / Prefer not to say / Skip
- Race: Asian / Black or African American / Hispanic or Latino / White / Two or more races / Native American / Pacific Islander / Prefer not to say / Skip
Step 5 — Resume
Ask for the path to the resume PDF. Validate with Bash:
test -f "$RESUME_PATH" && echo OK || echo MISSINGIf MISSING: loop, tell the user to drag-and-drop into the terminal.
If they have both a software-focused and an EE-focused resume (as Akbar does — see the repo's README), ask for both paths. Write both into the candidate-profile.md under "Resume files".
Step 6 — Chrome cookies
Auto-detect:
# macOS
test -f "$HOME/Library/Application Support/Google/Chrome/Default/Cookies" && echo MAC_DEFAULT
# Linux
test -f "$HOME/.config/google-chrome/Default/Cookies" && echo LINUX_DEFAULTIf one exists, show it and ask "use this path? (y/n)". On n or neither detected, ask for a custom path.
Step 7 — Cold email (optional, for /job-outreach + /job-followup)
Ask: "Want to set up cold email sending too? It uses Gmail + msmtp. You'll need a Gmail App Password (2-Step Verification must be on). (y/n)"
If no → skip to Step 8.
If yes:
Check msmtp is installed:
command -v msmtp && echo INSTALLED || echo MISSINGIf MISSING, print the right install command for the platform and stop until the user confirms they've installed it:
- macOS:
brew install msmtp - Debian/Ubuntu:
sudo apt install msmtp msmtp-mta - Arch:
sudo pacman -S msmtp
- macOS:
- Check
~/.msmtprcexists. If yes, ask "Use existing config? (y/n)". If yes, skip to 4. Walk the Gmail App Password flow:
- Open https://myaccount.google.com/apppasswords (the user does this in their browser)
- Generate a password labeled "msmtp"
- Paste the 16-char password when prompted in chat
Ask for:
- Gmail address (e.g.
you@gmail.com) - App password (16 chars)
Resolve the right
tls_trust_filefor the platform:test -f /etc/ssl/cert.pem && echo "/etc/ssl/cert.pem" \ || test -f /opt/homebrew/etc/openssl@3/cert.pem && echo "/opt/homebrew/etc/openssl@3/cert.pem" \ || test -f /etc/ssl/certs/ca-certificates.crt && echo "/etc/ssl/certs/ca-certificates.crt"Write
~/.msmtprcvia the Write tool:defaults auth on tls on tls_trust_file {{resolved_path}} logfile ~/.msmtp.log account gmail host smtp.gmail.com port 587 from {{email}} user {{email}} password {{app_password}} account default : gmailThen
chmod 600 ~/.msmtprc— msmtp refuses to run otherwise.Smoke-test with the bundled sender (dry-run only, no real send):
echo "{\"from\":\"$EMAIL\",\"to\":\"test@example.com\",\"subject\":\"msmtp test\",\"body\":\"hello\"}" \ | node "$AI_JOB_AGENT_ROOT/scripts/send-cold-email.js" --dry-runIf
ok: true, say "cold email is live."
Step 8 — Generate config files
Use the Write tool for each.
config/linkedin-config.json — use the exact schema from wizard.sh lines 298-342 (don't invent fields, the form fillers expect specific keys). Fill from collected answers. Key fields:
{
"firstName": "...",
"lastName": "...",
"preferredName": "<same as firstName>",
"email": "...",
"phone": "...",
"phoneNational": "<digits only>",
"phoneCountryLabel": "United States (+1)",
"location": "...",
"city": "<first comma-part of location>",
"state": "<second comma-part of location>",
"country": "United States",
"postalCode": "",
"address": "",
"currentCompany": "<school>",
"website": "",
"linkedin": "",
"github": "",
"citizenship": "...",
"visaStatus": "...",
"compensation": "",
"startDate": "",
"expectedGraduation": "...",
"school": "...",
"major": "...",
"gpa": "...",
"gpaRange": "",
"degreeType": "...",
"degreeCompleted": "No",
"yearsExperience": "0",
"authorizedToWork": "Yes|No",
"requireCurrentSponsorship": "Yes|No",
"requireFutureSponsorship": "Yes|No",
"pursuingAdvancedDegree": "No",
"eeoGender": "...",
"eeoRace": "...",
"eeoVeteran": "No",
"projectPitch": "",
"resumePath": "<absolute path>",
"chromeCookiePath": "<absolute path>",
"name": "<firstName lastName>",
"autoSubmit": false
}config/candidate-profile.md — use the structure from wizard.sh lines 347-383 but do not include any invented data. Include real data collected and explicit TODO: add-markers for the free-fill sections.
config/answer-bank.md — if missing, cp config/answer-bank.template.md config/answer-bank.md.
application-tracker.csv — if missing, cp templates/tracker.template.csv application-tracker.csv.
outreach-log.csv — only if msmtp was set up in Step 7. cp templates/outreach-log.template.csv outreach-log.csv.
Step 9 — Install deps + register skills
cd "$AI_JOB_AGENT_ROOT"
command -v npm && npm install --silent 2>/dev/null
command -v pip3 && pip3 install -q browser-cookie3 2>/dev/null || true
bash skills/install.shReport which dependencies installed and how many skills got registered.
Step 10 — Summary table
| Field | Value |
| 👤 Name | ... |
| 🏫 School | ... |
| 🎓 Grad | ... |
| 🛂 Auth | ... |
| 📄 Resume | ... |
| 🍪 Cookies | ... |
| ✉️ Cold email | ✅ configured / ⬜ skipped |
| 🧩 Skills registered | N of 9 |
Step 11 — Chain into /job-coach (the real entry point)
Profile setup alone isn't useful — the user needs a plan and a search loop. End by offering to kick straight into /job-coach intake:
All set. The agent knows who you are now. Next: we run
/job-coach intake— a 5-minute interview about what you're looking for (roles, target companies, geography, timeline), I'll research the market in real time, and come back with a ranked list of concrete moves. Go? (y/n)
On y → chain directly into /job-coach intake.
On n → print the manual-command list as a fallback and end:
Next (if you'd rather drive yourself):
/job-coach # or just say "help me find a job"
/job-apply https://… # or just paste a job URL
/job-outreach "VP at Acme" # or just say "email the VP at Acme"
/job-dashboard # or just say "how am I doing"Reconfigure flow
$ARGUMENTS = --reconfigure basics → only redo Step 1 and regenerate linkedin-config.json + candidate-profile.md with the new values, keeping everything else from the existing files (read the old JSON first, merge).
Sections: basics · education · auth · eeo · resume · cookies · msmtp · all.
Rules
- Never overwrite
candidate-profile.mdorlinkedin-config.jsonsilently if they exist and we didn't--reconfigure. Ask the user "overwrite the existing config? (y/n)" first. - Never commit these files — they're gitignored. Don't run
git addon anything inconfig/or the root-level trackers. - Show the values back to the user before writing — they spot typos faster than I do. One confirmation gate.
- The candidate's truthful work authorization drives downstream form-filling. Don't coach them into lying.
- If the user is in a non-English-speaking context (Uzbek, Spanish, etc.), ask them in that language for the free-text fields — it tends to be more accurate.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

