跳到正文
DEV Community· krammer liu·· 1 小時前AI 評分50

AI Job Search 如何以一個 portal folder 加入 Google Jobs 搜尋

Add Google Jobs to AI Job Search with one portal folder

AI 導讀

作者為基於 Claude Code 的開源 AI Job Search 編寫了 Google Jobs portal,讓 /scrape 搜尋 Google Jobs 彙整的多個招聘來源職位。

正文

AI Job Search is an open-source job search framework that runs on Claude Code. Its /scrape command finds postings through "portals": small search CLIs that live in .agents/skills/. The community-portals repo has portals for LinkedIn, freehire and four Danish boards.

I wrote a portal for Google Jobs. One Google Jobs search shows postings from LinkedIn, Indeed, Glassdoor, company career pages, recruiters and agency boards together. Many recruiter and contract postings appear only on those aggregators, so a search there finds jobs that company-board portals miss.

The portal is proposed to community-portals in PR #74. You do not have to wait for it: the same folder is in my examples repo, and installing a portal is a copy.

Disclosure: the portal calls an Apify Actor I built (Google Jobs Scraper). It is a paid Actor, billed per Google results page; prices are on the Actor page. For that reason the portal ships switched off (enabled: false).

1. Copy the portal

git clone https://github.com/krammer0/google-jobs-scraper-examples
cp -r google-jobs-scraper-examples/ai-job-search/google-jobs-search <your ai-job-search>/.agents/skills/

It has zero runtime dependencies. It runs with bun.

2. Add your Apify token

Create an Apify account and copy an API token from Apify Console → Settings → API & Integrations. Export it where the agent runs:

export APIFY_API_TOKEN=your_token_here

The portal reads the token only from this variable and sends it only to api.apify.com as a bearer header. It never requests google.com itself.

3. Read the two warnings, then switch it on

.agents/skills/google-jobs-search/SKILL.md has a "Metered" section and a "Terms" section (Google's terms on automated access, quoted with their date). Read them, then set this in the file's front matter:

enabled: true

/scrape discovers every .agents/skills/*/SKILL.md, so nothing else needs wiring.

4. Try it by hand

This is the same command /scrape runs. My run on 2026-11-27:

$ bun run .agents/skills/google-jobs-search/cli/src/cli.ts search -q "data engineer" -l "Seattle, WA" --jobage 7 --limit 5 --format table
ID                         TITLE                                    COMPANY                  LOCATION               DATE
qZqTbgZ8ZST7BTqhz:0        Data Engineer III (6399)                 itD Tech                 Seattle, WA            2026-11-26
qZqTbgZ8ZST7BTqhz:1        engineer I, Operations Data Engineering  Starbucks Corp           Seattle, WA            2026-11-21
qZqTbgZ8ZST7BTqhz:2        Azure Databricks / Cloud Data Engineer   UST                      Seattle, WA            2026-11-26
qZqTbgZ8ZST7BTqhz:3        Data Engineer - Lululemon - Seattle, WA  Akt LLC                  Seattle, WA            —
qZqTbgZ8ZST7BTqhz:4        Project Engineer - Data Center Innovatio McKinstry                Seattle, WA            2026-11-25

Two of the five look like staffing-firm postings (itD Tech, and Akt LLC for a Lululemon role). To read one posting in full, with every apply link Google shows:

bun run .agents/skills/google-jobs-search/cli/src/cli.ts detail qZqTbgZ8ZST7BTqhz:1 --format plain

detail reads the finished run's dataset again. It does not start a new run, so it has no Actor fee.

Flags

  • -q query (required), -l location, --country us|gb|in|de
  • --jobage <days>: 1 means the last 24 hours; up to 30
  • --remote: remote jobs only
  • --limit <n> and --page <n>. The Actor has no offset, so page N runs a search for N × limit results. Keep --page at 1 unless you need more.
  • --format json|table|plain. The JSON has title, company, location, date, url, the full description, parsed salary (salaryMin, salaryMax, salaryCurrency, salaryPeriod), workMode, jobTypes and all apply_options.

One thing to know about "posted" dates

Google's "posted 13 hours ago" is not always the first time the job was posted. In a small check of mine, a posting Google showed as 13 hours old was first published on the company's Greenhouse board 22 days earlier. Use --jobage to cut old results, but check the date on the company's own page before you treat a job as brand new.

來源:DEV Community · dev.to