agentleFS
MS-JahanMS-Jahan/job-apply-kit/skills/job-apply-core/SKILL.md

job-apply-core

Skill9 starsChanged 57 days agoMITView on GitHub

Shared core for job-apply-kit. Holds the central rules (OPERATIONS.md), config loader, Google and browser helpers used by every apply skill. Invoke to set up or update the kit config from your CV ("set up my job-apply-kit config"), or to validate it.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 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.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the user asks to set up or update the config from their CV:

    line 14
  2. Distinctive:

    Ask for the CV (URL or file path).

    line 19
  3. Very specific:

    Ask for search and filter prefs (or confirm the example defaults): bdjobs_terms, linkedin_queries (one per line), onsite_locations, …

    line 50
  4. Distinctive:

    When updating from a newer CV: show a diff of changed keys and ask before overwriting any non-empty value.

    line 57
  5. Very specific:

    Never print the user's phone number or emails back in full unless they ask.

    line 65
  6. Very specific:

    Every other skill points at {{CORE_DIR}}/OPERATIONS.md (universal rules: accounts, never-submit, naming, truth gates, format, documents, …

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

job-apply-core

Shared dependency of the job-apply-kit skills. Other skills read this skill's OPERATIONS.md for the universal rules and call its scripts through {{CORE_DIR}}/scripts/.

Config setup and update

Config is one markdown file: $JAK_CONFIG, else ~/.config/job-apply-kit/config.md. The template is config.example.md in the kit repository.

When the user asks to set up or update the config from their CV:

  1. Browser first. The CV often lives in Google Docs, which a plain web fetch cannot read (truncated page). Finish docs/BOOTSTRAP.md §3 before asking for the CV: debug browser running, agent-browser connect attached.
  2. Ask for the CV (URL or file path). Route it through the read plan first:
    python3 {{CORE_DIR}}/scripts/cv_fetch.py "<url-or-path>"
    and follow its method: local-file → read directly; google-docs / google-drive-file → open the link in the debug browser (agent-browser open + snapshot, scroll to the last line — the user is already logged in there). For Google Docs, open the plan's mobile_url (.../mobilebasic), never /edit — the canvas snapshots near-empty (agent-browser.md §3b); web → fetch, then confirm the FULL text arrived (contact block to last line), re-reading via the debug browser when truncated or JS-gated. Never build a config from a partial read — when in doubt, re-read through the browser and say so.
  3. Copy config.example.md to the config path if no config exists. Fill name, name_file, contact fields, links and cv_source from the CV. Do not invent values; leave unknowns empty and ask.
  4. Tracker sheet + Drive folder — one ask, right after the CV (never finish a config setup without both; never silently create). Explain both in plain words first: the SHEET ("Application Tracker") is where every application is tracked (one row per job, status Found → Applied); the DRIVE FOLDER ("Application Tracker") is where every generated resume, CV and cover letter is uploaded. Then ask: "Do you already have a tracker sheet or a Drive folder? Paste the URLs — or shall I create both for you?"
    • URLs pasted → save the sheet URL into config sheet_url, then python3 {{CORE_DIR}}/scripts/sheet_init.py --adopt <sheet-url> (matches and saves its columns into sheet_id/sheet_columns) and python3 {{CORE_DIR}}/scripts/sheet_init.py --adopt-folder <folder-url>. Headers that don't match are reported, never guessed.
    • Nothing exists → python3 {{CORE_DIR}}/scripts/sheet_init.py creates the "Application Tracker" folder + templates subfolder + "Application Tracker" sheet in Drive root and writes all ids to config. (A user-made blank sheet works too: paste its URL into sheet_url and adopt it as above.)
    • Either way, end this step with sheet + folder reachable from config — verified by step 7.
  5. For banned_claims and unproven_claims: ask the user, one skill group at a time ("Have you really used X?"). Never decide for them.
  6. Ask for search and filter prefs (or confirm the example defaults): bdjobs_terms, linkedin_queries (one per line), onsite_locations, remote_ok, min_salary / salary_floor_remote / salary_floor_onsite, max_experience_years, plus discord_channels when relevant. If the config is missing keys the example has (older hand-made configs often lack newer ones like discord_channels), run python3 {{CORE_DIR}}/scripts/jak_config.py --sync-keys first — it adds absent keys without touching existing values, then ask the user to fill them.
  7. When updating from a newer CV: show a diff of changed keys and ask before overwriting any non-empty value.
  8. Validate:
    python3 {{CORE_DIR}}/scripts/jak_config.py --check
    python3 {{CORE_DIR}}/scripts/jak_config.py --show
    Fix every ERROR. Explain every WARN to the user.

Never print the user's phone number or emails back in full unless they ask; --show masks them.

Rules

Every other skill points at {{CORE_DIR}}/OPERATIONS.md (universal rules: accounts, never-submit, naming, truth gates, format, documents, batches, tracking, browser order). Read it before acting on any job, and follow its anchors when a skill references them.

Scripts (run with python3 {{CORE_DIR}}/scripts/<file>)

ScriptUse
jak_config.py--check, --show, --get KEY, --need KEY [--optional] (missing-key gate), --sync-keys (add keys missing vs the example)
jak_google.pythe one Google interface: draft (never sends), drive-upload, drive-mkdir, drive-share-anyone, sheet-get, sheet-append, sheet-create, backend, accounts. Backend gog or python, chosen from config
sheet_append.pyappend ONE tracker row (15 columns, RAW writes, header check; honors adopted sheet columns)
sheet_update.pyfind a row by company+position, set cells on it (Found→Drafted→Staged→Applied; hand-set statuses refuse)
sheet_snapshot.pyread-only tracker snapshot into JDs/tracker/
sheet_init.pyone-time: create Drive folder, templates subfolder and tracker sheet; writes ids to config (--adopt keeps your own sheet, --adopt-folder your own folder — ask first, never silently create)
google_verify.pypost-auth proof (read-only): newest Gmail, Drive files, spreadsheets — show the user
gmail_draft.pydraft with attachments (wrapper over jak_google.py draft)
google_setup.pypython-backend OAuth: --account, --client-secret, --auth-url, --auth-code, --import-token, --check
browser_setup.pydetect Chromium browsers (--list), generate default-profile debug launchers + desktop shortcuts (--browser chrome,brave --create; --profile/--isolated only for opt-in separate profiles), pre-launch running check + guarded start (--check-running, --launch)
cv_fetch.pyclassify a CV source and print its read plan (<url-or-path>; google-docs/drive → debug browser, never plain fetch)
tool_paths.pyrecord tool binary paths to tools.json (--record), add user-local bin dirs to the user PATH without admin (--ensure-path)
google_api.pygeneral Google tool for agents: gmail search/get/labels, calendar, drive, contacts, sheets, docs (no mail send)
cdp.py, picker_upload.pyraw CDP driver and Google Picker upload (last resort browser tools)

References: references/tracker-columns.md, references/shared-caches.md, references/agent-browser.md, references/cdp-tools.md.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.