linkedin-sourcing
Skill1 starsChanged 3 months agoMITView on GitHub
Source senior-SWE jobs by the candidate's criteria (level + past-24h + target metros), score them against the profile, and surface the ones worth applying to — each with an apply link. Also runs a separate REFERRAL track for big-tech companies the candidate can get referred into. Use when the user says "search LinkedIn", "run my job search", "check for new jobs", "daily job pass", "source jobs", "what's new", "referral companies". Sources via anonymous LinkedIn guest search (server-side, no account risk), dedups every posting in a jobId ledger so re-runs skip what's already seen, analyzes fresh ones with job-analyzer, and presents >6 with an apply URL.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analyze-jobSkill
- application-prepSkill
- interview-prepSkill
- list-sessionsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
auto-flags
referral: when the company is on referral-companies.md. - Very specific: line 95
Run several in parallel, but confirm scope before large fan-outs — and the web_budget_guard hook hard-caps WebSearch/WebFetch per agent as …
- Very specific: line 132
After editing referral-companies.md, run seen.py reflag to re-flag already-ingested rows.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
LinkedIn Sourcing — the daily multi-metro pass
Turn the candidate's search criteria into a short, ranked list of new roles worth applying
to, each with an apply link. Split: LLM does judgment (triage, scoring, apply-URL extraction),
code does mechanics (seen.py: the jobId ledger — dedup, disposition, queries).
Load the profile (profile.local.md at the project root, or ~/dev/resume/profile.local.md)
for the fit bar — level, stack, target metros, comp benchmark, and the scoring guide. Source of truth.
Sourcing engine: anonymous LinkedIn guest search (NOT the console snippet)
Decision (2026-08): source via the public LinkedIn guest jobs endpoint, fetched server-side with
WebFetch. Why this over the alternatives:
- The console snippet is dead for LinkedIn — the logged-in results list now lives in a
cross-origin iframe, unreachable from the DevTools console (only the single open job is
visible). (
linkedin_extract.jsstays in this dir for any other site that renders a normal DOM.) - No authenticated automation (Playwright / headless login) — ToS violation + account-ban risk.
- The candidate doesn't need his exact personalized list — as long as the criteria match (senior + past-24h + his metros), real fitting jobs come back. The guest view is depersonalized (fine) and runs from a server IP → zero account/IP risk.
Guest endpoint, per metro:
https://www.linkedin.com/jobs-guest/jobs/api/seeMoreJobPostings/search?keywords=senior%20software%20engineer&location=<Metro>%2C%20United%20States&f_TPR=r86400&start=<0|10>f_TPR=r86400= past 24h (honored by guest). It ignores the experience-level filter → judge seniority in the analysis and drop non-senior.- ~20 per metro per run: WebFetch
start=0andstart=10(two calls ≈ 20 jobs). Configurable — addstart=20/30…for more coverage. From each response extract every card:jobId | title | company | location | posted-age.
Metros & scoring
Metros: sanjose, nyc, seattle, dallas, remote.
Per-metro scoring is handled by the analyzer — comp is scored against the profile's Dallas $-benchmark adjusted for that city's COL + state tax (NYC / San Jose need a big nominal premium; Seattle / remote-from-Dallas score better at equal nominal). No per-metro config here.
The pass
1 — Fetch + ingest each metro
For each metro: WebFetch the guest URL (start=0 then start=10), collect the cards, convert each
card's age ("11 hours ago") to an absolute posted date (today − age), and ingest — tagging the
metro. Build [{jobId,title,company,location,posted,viewUrl}] and pipe it:
python3 .claude/skills/linkedin-sourcing/seen.py ingest --metro sanjose -i cards.jsoningest upserts by jobId (new → seen; existing → refresh + union metro), stamps posted, and
auto-flags referral when the company is on referral-companies.md.
2 — To-do queue
seen.py todo [--metro M] — postings still seen (new since last time). Anything triaged or
analyzed before is remembered and won't reappear.
3 — Triage
First run seen.py board-dedup — it deterministically cross-checks every seen row against
the full application history (job-scoreboard.md + _pending.md) and the never-apply blocklist
(blocked-companies.md, gitignored): auto-drops blocked companies (🚫), same-company+role
duplicates (✂, even re-posts under a new jobId), and multi-applied companies (✋ — the company
already has ≥2 prior applications — 已投/面试/Offer or rejected (a rejection means he
applied) — the candidate won't stack more (rule 2026-08-11); resurrect one only
if it's clearly a better fit than what he applied to), and prints a ⚠ line per posting whose company has a rejection row (被拒/已挂/已拒) —
those are NOT auto-dropped (different role at the same company is allowed) but weigh the history
in your triage. Never re-implement this check inline.
Then judge the remainder with the Skip rubric — every skip is recorded with its rule code
(mark --status skipped --note "S<n> <一句原因>") so the call is auditable and consistent
across sessions:
- S1 栈硬伤(标题即可判) — title names a stack from the profile's 🔴 gaps as the role's substance: frontend/fullstack-TS、mobile、Node/Go/Rust/C++ 主栈、embedded、CAD/EDI、 Python-expert AI-infra。Title 看不出来的不许猜 → 留给分析。
- S2 猎头/staffing/匿名雇主 →
triaged_out --note "recruiter/anon"(性质是噪音不是取舍, 与 board-dedup 的 🚫/✂ 同级)。 - S3 被拒公司 — company has a rejection row AND the new role is not a clearly better fit than what got rejected → skip;明显更契合的新岗可留(同公司他岗另议)。
- S4 非目标 metro — 不在 profile 目标城市带且非 remote(remote 页常混入加州岗)→ skip。
- S5 定级错位 — sub-senior("Engineer II" 等)或 Staff+ 拉伸,且 fit 无过人之处 → skip。
- S6 域/公司类型不合 — 需 clearance 的 public-sector、临时岗(LTE)、无差异化小型 fullstack startup、candidate 明示回避的行业 → skip。
- 默认留下:不确定就分析,skip 必须能写出一句站得住的理由;单轮分析量仍按
"confirm scope before large fan-outs" 控制。
skipped(看过、决定不投)与triaged_out(从来不是候选)语义不同,别混用。
4 — Analyze survivors (+ apply URL)
One job-analyzer per survivor (⭐ template, location-aware). It WebFetches the view_url for the JD
and determines the apply path: offsite → capture the external ATS URL; easy_apply → the apply
link is the LinkedIn page. Record it:
seen.py mark --job-id 444 --status analyzed --score 7.5 --apply-type offsite \
--apply-url "https://boards.greenhouse.io/acme/jobs/444" --posted 2026-08-06Run several in parallel, but confirm scope before large fan-outs — and the web_budget_guard
hook hard-caps WebSearch/WebFetch per agent as the runaway backstop.
5 — Present
seen.py filter --status analyzed --min-score 6 — for every role >6: its ⭐ analysis + rating +
apply link (external ATS URL when we have one, else the LinkedIn page) + 📍 the job's location
(city + onsite/hybrid/remote if known). Location is a search criterion, so it must be visible at a
glance in the final list — put it in the scoreboard row's 岗位 column (e.g. (Seattle)) AND as a
📍 line next to each apply link; never make the candidate open the analysis to find out where the
job is. Then run seen.py digest and relay it VERBATIM — the full one-line-per-posting
disposition (已投 / ≥6 待投 / <6 / 未分析 / 已剔除+原因), so the candidate sees EVERY posting's
fate and picks extra analyses in the same pass — never make them apply, ask "what else was there",
and apply again. The candidate applies manually.
6 — Close the loop
Candidate applies to all by default and names the skips. mark --status applied / skipped.
Move applied roles into application-prep if they want answers drafted; set board status via scoreboard.py.
The referral track (big-tech the candidate can be referred into)
A separate, bounded pass for companies on referral-companies.md (gitignored;
Name | linkedin_company_id | note). Goal: catch new fitting roles at these companies so the
candidate can decide whether to ask a friend for a referral.
Fully separate from the regular flow (by design). The referral track uses its own ledger
--db .linkedin-referral.db; it never touches the regular.linkedin-seen.db. The regular metro pass ingests with--exclude-referralso referral companies never appear in the regular list — the two flows are disjoint and can't affect each other.
- For each referral company, run one guest search with the company filter
&f_C=<company_id>(precise; keyword fallback if the id is blank) + senior keywords + his metros — widenf_TPRtor604800(past week), since a referral is worth catching a few days late. One guest call per company = naturally bounded (4 companies → 4 calls);web_budget_guardbacks it up. - Ingest (auto-flags
referral=1), triage, analyze new ones. - For ≥6 fits: save the ⭐ analysis to
job-analyses/<Company>-<role>.mdwith the post date, and record it in the ledger. Then regeneratereferral-queue.mdfromseen.py filter --referral --min-score 6 --json(best-fit + newest first, grouped by company). - Every run, show the candidate the latest / best-fit referral role per company so they can
decide on a referral. They say applied / skipped →
mark. After editingreferral-companies.md, runseen.py reflagto re-flag already-ingested rows.
The mechanical CLI — seen.py
python3 .claude/skills/linkedin-sourcing/seen.py <op> (ledger: gitignored .linkedin-seen.db):
ingest --metro M [-i FILE|-]— upsert[{jobId,title,company,location,posted,viewUrl}]; stampsposted, auto-flagsreferral.todo [--metro M] [--json]— new postings needing triage/analysis.board-dedup [--dry-run]— auto-triageseenrows already on the board/pending (company+role match) and rows fromblocked-companies.md; ⚠-warns on rejected-company history without dropping.digest— end-of-run display: every posting one line, grouped 已投(count only, no rows — the candidate doesn't want his application history replayed)/≥6待投/<6/未分析/已剔除(+原因), each with 📍 location. Relay verbatim.mark --job-id ID --status {seen,triaged_out,analyzed,applied,skipped} [--score N] [--apply-type {easy_apply,offsite,unknown}] [--apply-url U] [--posted YYYY-MM-DD] [--note ...]filter [--metro M] [--status S] [--min-score N] [--referral] [--json]— query. Referral review =--referral --min-score 6.reflag— re-apply referral flags from the current list.stats·list [--json]. Show only its one-line stdout — don't paste ledger contents into chat.
Rules
- No authenticated LinkedIn automation, ever. Source via the server-side guest fetch.
- The ledger is the memory —
ingestbefore triaging,markevery disposition, or postings re-surface. Dedup by jobId (ledger) AND company+role (scoreboard) — different cases. - Bounded fan-out — ~20/metro; one guest call per referral company; confirm before large
analyzer batches;
web_budget_guardhard-caps web calls per agent. - Privacy:
.linkedin-seen.db,referral-companies.md,referral-queue.mdare gitignored; runpython3 publish_guard.pybefore any commit. Don't dump ledger/board contents into chat. - 中文 for the analysis (⭐ template); English for titles/URLs.
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.

