find-roles
Inputs
profile/prefs.yml: roles,role_keywords, seasons,locations(cities / countries / remote_in), exclusions.profile/boards.yml(copy fromresources/boards.example.yml).- A pasted posting or URL, if the user gives one: skip to step 4 with it.
Steps
- ATS boards. Run
python <this skill dir>/scripts/ats_fetch.py profile/boards.yml profile/prefs.yml > output/roles-<date>.json. It keeps student-level, on-target titles in the user's locations and includes JD text. Read its stderr counts; a board that errors is reported, not retried. - LinkedIn Jobs. Run
linkedin-browserinjobsmode with the user's roles and locations (or ask the user to paste a LinkedIn search results page). For each card prefer the original ATS link: if it's a Greenhouse/Lever/Ashby URL, it's the same vacancy as any ATS row with that req id. - Other sources. HN: find this month's "Ask HN: Who is hiring?" via
https://hn.algolia.com/api/v1/search?query=who%20is%20hiring&tags=story,author_whoishiringand keep comments mentioning intern / new grad / junior. JobRight: only ifjobright: true, perresources/jobright.md. - Location check. Keep a role when it names one of
cities, a city incountries, or is remote and open to aremote_incountry. Bare "Remote" with no country → keep withlocation: unknown — verify. Anything else → drop. - Liveness. API rows are live. For LinkedIn, HN, and pasted URLs, fetch the page; drop 404s, redirects to a generic careers page, and "no longer accepting". Pasted text you can't fetch stays, marked
captured from paste on <date>. - Dedupe by req id / LinkedIn job id / URL alias, never by company + title alone (two internships can share both).
- Record each new role in
profile/roles.md(format below) and show a table: role_id | company | title | location | source | posted | notes (sponsorship text, season, salary if posted). Done when every kept role has aroles.mdsection with its JD text. Offerscore-fit.
profile/roles.md format
## <role_id>
- company: … · title: … · location: … · source: greenhouse|lever|ashby|linkedin|hn|jobright|paste
- url: <original posting> · aliases: [<linkedin url>, …] · req_id: … · posted: … · captured: <date>
- salary: <as posted, or "not posted"> · hiring_team: [<contact_id or name + profile url>]
### JD
<plain text, as captured>
role_id = <company-slug>-<ATS req id | LinkedIn job id | 6-char URL hash>. score-fit appends a ### Fit block; nothing else edits a role section.
Rules
- Public APIs,
linkedin-browser, and the read-only JobRight exception only. - The human applies; this skill never clicks Apply.
- ≤1 request/sec per host.
