leopu00/job-hunter-team/apply-flow

Claude Code and agent skill by leopu00/job-hunter-team

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

How the CLOSER runs one authorised application with `apply_flow.py` — the checkpointed state machine (detect, fill, upload_cv, screening, review, submit), the mandatory receipt without which `applied` is never written, and what to do on each result, `blocked_human` first of all. Use it for every position taken from the queue. Owned by the CLOSER.

Install

npx vskill@latest install leopu00/job-hunter-team/apply-flow

SKILL.md

The same SKILL.md was published earlier as leopu00/job-hunter-team/apply-flow.

apply-flow — one application, one receipt, no blind retry

bash
python3 /app/shared/skills/apply_flow.py \
--position-id "$PID" \
--url "$URL" \
--profile "$JHT_HOME/profile/candidate_profile.yml" \
--cv "$CV"

Give this command a timeout of at least 10 minutes: a LinkedIn sign-in can wait up to 5 minutes in the browser for the verification code the user sends on Telegram, and a command killed while it waits leaves the code request to expire.

PID, URL and CV come from the latest apply_gate.py queue read (skill apply-authorization), never from memory.

The state machine

detect → fill → upload_cv → screening → review → submit → applied
↘ blocked_human
  • Every completed step is saved to a checkpoint ($JHT_HOME/.cache/apply-flow/<id>.json).

After a crash the flow resumes where it was: filling is replayed, the click is not.

  • submit_started is saved before the click. If a process dies after that

line, the outcome is unknown, and an unknown outcome is never clicked again: the flow checks the page for a confirmation and, without one, blocks with submit_outcome_unknown.

  • The gate is checked at start and immediately before the click. A flag

revoked while the form was being filled stops the submission.

  • Three complete recipes today: Ashby, Greenhouse (only its three public hosts, job-boards.greenhouse.io, job-boards.eu.greenhouse.io, boards.greenhouse.io, over HTTPS; the page is re-checked after every step) and Lever (only jobs.lever.co and jobs.eu.lever.co, over HTTPS, re-checked the same way). LinkedIn: "apply on company website" continues on that site with its recipe; Easy Apply signs in with the user's account (session kept, verification code on Telegram) and walks the dialog. Any other platform blocks for a human.

The receipt

applied is written only when the flow holds both:

  1. a screenshot of the confirmation page, and
  2. a confirmation URL or confirmation text.

Then the flow itself records the application with applied_via = agent_closer, and reads the row back to check the write happened. Nobody else writes that state: not you, not the Capitano.

Reading the result

One JSON line on stdout: status, state, reason, receipt.

statusExitMeaningWhat you do
applied0sent, receipt stored, state recordednext position
dry_run0mode: dry_run: filled, stopped before the button, nothing sentnext position
denied1the gate refused (consent off, flag revoked, already sent)next position; never retry
retry_later5the vacancy page did not answer for now (5xx, timeout); not a stop, nobody notified; the checkpoint holds retry_afternext position; the queue gives this one back after retry_after by itself — never rerun it before
blocked_human3a human is needed; the stop is in the round's summarynext position; never retry
blocked_human missing answers (essential_facts_missing with missing, required_answer_missing with pending_question)3not a stop and nothing was asked: the flow needs answers it does not havework each one out from profile, CV and vacancy and save it (application_answers.py save … --basis …), then run the flow again; only with no basis application_answers.py ask --position-id $PID --key K (CLOSER prompt, CL-08). A question you asked holds the position until the user answers, a day per question at most
email_channel4the application control is a mailto: link, not a form; the checkpoint holds channel: email and the raw mailto_href (reason mailto_application); or, with no application form on the page, reason email_instruction: the page's own text names the one mailbox ("Send your CV to careers@…")run email_application.py send for this position as the email-application-flow skill says: it reads this checkpoint; never fill a web form or write the email by hand
error2profile or CV unreadable, bad argumentsstop: [BLOCKED] to the Capitano

blocked_human — what it means and what you do

The flow stops on anything it cannot do with certainty:

reason (examples)Typical cause
required_answer_missing / required_profile_field_missing / required_field_unanswereda required field has no saved answer; pending_question names it (key, label, type, options, scope). Nothing is sent to the user until you run ask; a saved answer resumes the flow from the checkpoint A pending_question with purpose: contact_form_application is the Message of a company contact form the vacancy's Apply led to (topic set to the application option by the flow, no CV field): write a short letter for this vacancy that says the CV is available on request.
essential_facts_missing / essential_facts_unavailablebefore the first run of a position, a fact almost every form asks for is unknown (start date, notice period, work authorisation, sponsorship, salary, relocation, phone); missing lists the keys. Nothing was asked and nothing is held
required_answer_missing with key location searcha location field only takes one of its own suggestions, and the profile's location names no place to look up ("remote", "worldwide") or found nothing near it. Save where the candidate lives as City, Country from the profile or the CV (--basis profile or cv); the flow types it and picks the matching suggestion, or gives you the suggestions near it as options. Never the work preference, never a guess
captcha / two_factorthe site wants to verify a human
vacancy_closedthe vacancy is no longer open: a page with no form, no Apply control and no email channel says so, or the URL redirected to the job list, careers or home page; nothing was filled and nothing was sent. A final stop: a rerun does not reopen the page until the user authorises the position again. A screenshot of the page is saved next to the checkpoint (stop_screenshot)
unknown_required_control / answer_type_unknown / answer_option_unknown / answer_not_accepteda field the recipe cannot fill with a saved answer
upload_rejected / resume_field_missing / cv_missingthe CV cannot be attached
upload_widget_unavailableGreenhouse's upload widget did not start (a script error under Resume/CV, tried twice): the file was not refused; a later run tries again
greenhouse_verification_failedGreenhouse sent a verification code after Submit and it could not be used (no email or Telegram reply in time, or the code was refused): the application did not go out and is never submitted again by itself
greenhouse_verification_lostthe verification code screen of a started submit is gone (a new browser, a lost session): no second submit in the same run; after the user authorises the position again, only a submit that recorded the code screen when it saw it and typed no code starts over once, in a new browser
cv_pdf_layout_badthe CV PDF failed the visual check (pdf_layout_check.py: text squeezed into a narrow column, a nearly empty page, more than 2 pages, fonts not embedded, body font too small): nothing was attached and nothing was sent. The Writer must render it again; never attach it by hand. The preview of page 1 is saved next to the checkpoint: look at it
cv_pdf_check_unavailablethe CV PDF could not be measured (poppler missing in the container, file unreadable): nothing was attached and nothing was sent — an unmeasured CV is not a pass. The remedy is on the box, not the Writer: report it to the Capitano
ats_unsupported / ats_conflict / ashby_dom_unrecognised / greenhouse_dom_unrecognised / ashby_form_missing / ashby_apply_ambiguous / greenhouse_form_missing / greenhouse_form_ambiguous / lever_dom_unrecognised / lever_form_missing / lever_apply_ambiguous / lever_form_ambiguous / generic_dom_unrecognisedno recipe for this page yet, or the form is not the one the recipe knows
greenhouse_redirect_untrustedthe Greenhouse page left its three trusted hosts during the flow
lever_redirect_untrustedthe Lever page left jobs.lever.co / jobs.eu.lever.co during the flow
linkedin_dom_unrecognised / linkedin_form_missing / linkedin_form_ambiguous / linkedin_step_unrecognised / linkedin_apply_control_missing / linkedin_apply_ambiguous / linkedin_session_unavailable / linkedin_login_unrecognisedthe LinkedIn vacancy or its Easy Apply dialog is not the one the recipe knows
linkedin_credentials_missing$JHT_HOME/credentials/linkedin.json (email, password) is missing, not a regular 0600 file of this user, or empty: the user creates it with the credentials script. Never ask for the password in a chat
linkedin_session_expiredthe LinkedIn session the user made by hand (linkedin_apply.py login --interactive, e.g. signed in with Google) expired or LinkedIn no longer accepts it: the user signs in by hand again, then authorises the position again. Never try a Google sign-in yourself
workday_dom_unrecognised / workday_apply_start_unrecognised / workday_apply_flow_missing / workday_apply_control_missing / workday_account_form_unrecognisedthe Workday posting, its "Start Your Application" dialog or its account form is not the one the recipe knows
account_email_missing / account_email_in_use / account_exists / account_credentials_unsafe / account_secret_unhidden / workday_account_refused / workday_account_not_accepted / workday_terms_not_accepted / workday_account_verification_requiredthe candidate account on the employer's portal: the profile has no email, the portal says that email already has an account (the CLOSER never resets a password), an account is already saved, its file is not a private 0600 file of this user, a password field could not be hidden before a screenshot, or the portal refused the account, stayed on its account step, would not take the terms box, or wants the email verified. Only the account step's terms box is ever ticked
workday_step_unsupportedthe Workday application passed its account step and the CLOSER does not fill the steps after it yet: nothing was sent
linkedin_login_failedLinkedIn refused the sign-in twice: nothing is tried again until the user writes new credentials
linkedin_login_code_missing / linkedin_login_code_undeliveredthe LinkedIn verification code was asked on Telegram and did not arrive in time (or the request did not reach Telegram, or LinkedIn did not accept the code — this never counts as a failed sign-in): a new run asks for a new code
linkedin_challengeLinkedIn shows a captcha or security check: the user solves it on the live screen, then authorises the position again
linkedin_redirect_untrusted / application_redirect_untrustedthe LinkedIn page left LinkedIn (www.linkedin.com or a country page such as es.linkedin.com), or the company address it gives is not an HTTPS page outside LinkedIn (or a second handoff)
oracle_ce_step_unrecognised / oracle_ce_dom_unrecognised / oracle_ce_code_field_missingthe Oracle Recruiting Cloud candidate site shows a step the recipe does not know (the stop names it), or the code screen has no field to type the code in: nothing was typed there
oracle_ce_honeypot_filledthe hidden anti-bot field of the Oracle page arrived already filled in: from that page nothing is typed and nothing is sent
oracle_ce_code_unavailableOracle asks for the one-time code (6 digits) it emails the candidate and it could not be had in time: the application did not go out
oracle_ce_dry_run_identitydeferred, not blocked: a dry run never types the candidate's email on Oracle — the site would email them a code for an application nobody asked for. The

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
50
Repository forks
7
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/leopu00/job-hunter-team/apply-flow/badge)](https://verified-skill.com/skills/leopu00/job-hunter-team/apply-flow)

Something wrong with this skill or its page? Tell us.