job-phase-salary
Skill3 starsChanged 4 months agoMITView on GitHub
JobPilot pipeline phase 8 of 11 — research the real market salary range for top matches and compute what to ask for. Invoked by the orchestrator as /job-phase-salary; not meant to be run directly.
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- jobpilotSkill
- job-feedbackSkill
- job-phase-discoverSkill
- job-phase-intelSkill
- job-phase-relevanceSkill
- job-phase-scoreSkill
- jobpilot-clearSkill
- job-searchSkill
- job-setupSkill
- job-tailorSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Run fully autonomously. Optional phase: if research fails, leave the fields blank and finish cleanly.
- Very specific: line 33
Run one WebSearch per job, using the job's own exp_req_years (fall back to the profile's experience_years if the job doesn't state one):
- Distinctive: line 42
Read the result snippets (AmbitionBox, Glassdoor, Levels.fyi, Naukri and similar salary aggregators show up directly in these searches — no …
- Very specific: line 56
Never invent a number: Leave the field blank and set salary_source: "not-found" when you're unsure.
- Distinctive: line 60
Write the results back into the artifact.
≈ “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
Phase: Salary research
Carved verbatim out of /job-search step B4.
Contract
- Input:
scored.json - Output:
scored.json— rewritten in place with salary fields added. - Run fully autonomously. Optional phase: if research fails, leave the fields blank and finish cleanly.
The orchestrator appends a RUN CONTEXT block with the exact absolute paths for this run.
Which jobs
The top ~20 by score with score >= 55 and experience_gate_drop != true.
Gate on score, not effective_score — a score-72 job in a second-choice city still
deserves the research, and effective_score has location weighting baked into it.
How
This phase always runs on the fast model tier (Haiku-class) — a market-CTC lookup is simple search-and-read work, not judgment, and a heavier model answers it no better for a much higher cost. The orchestrator enforces this; it isn't something to second-guess in the run.
Run one WebSearch per job, using the job's own exp_req_years (fall back to the
profile's experience_years if the job doesn't state one):
Average CTC <company> <role>, <years> years of experienceExample: Average CTC Swiss Re Software Engineer, 2 years of experience
Read the result snippets (AmbitionBox, Glassdoor, Levels.fyi, Naukri and similar salary aggregators show up directly in these searches — no separate actor call needed) and extract the range they report. If the first search returns nothing usable, one retry with the role's seniority dropped (e.g. "Software Engineer" instead of "Senior Software Engineer II") is fine; don't keep querying past that.
What to write
market_salary— the observed range, e.g."8–14 LPA"your_demand— round to the nearest 0.5 LPA: the top of the observed range ifscore >= 80, the midpoint if65 <= score < 80, the low end otherwise — but never belowtarget_ctc_min_lpafrom preferences, regardless of what the range sayssalary_source— one ofweb-search/not-found
Never invent a number. Leave the field blank and set salary_source: "not-found" when
you're unsure. A blank cell is honest; a fabricated range walks the user into a negotiation
with a wrong anchor.
Write the results back into the artifact.
Print: "Salary: N researched, M found a real range".
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.

