/freehire:freehire-mail-triagefrom freehire
Sorts job application emails into the freehire tracker from any IMAP client (himalaya, mbsync, notmuch, Gmail API). Classifies messages, links them to applications, and advances stages based on replies.
Ships in freehire. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Needs a key: freehire auth login --token fhk_… (or FREEHIRE_TOKEN).
freehire does not fetch mail. You bring your own client — himalaya, mbsync,
notmuch, the Gmail API, anything that can emit JSON — and hand the result over.
In exchange you get the inbox wired into the application tracker without paying for
a mail connector or a classifier.
The loop is four steps, and then two queues that only a human's verdict can empty:
# 1. Your client fetches; you shape it into the batch and push it.
himalaya envelope list --output json | jq '[.[] | {
external_id: .message_id, from_addr: .from.addr, from_name: .from.name,
subject: .subject, received_at: .date }]' | freehire inbox push
# 2. Ask for what still needs judging, with the text to judge.
freehire --json inbox list --unclassified --body --limit 50
# 3. You decide what each message is (and which application it belongs to).
# 4. Record the verdict — one call sets the label, the link, and the stage.
freehire inbox triage 812 rejection --slug go-dev-acme-t35nijto
freehire inbox triage 813 interview_invitation --slug data-eng-globex-9f2k1a0z --confidence 0.9
external_id is the deduplication key — use the message's Message-ID. Pushing
the same id again updates that message rather than storing a copy, so re-running
your sync over an overlapping window is safe and cheap. It never un-reads a message,
never resurrects one the user deleted, and never overwrites a verdict you recorded.
Batches are capped at 100 messages.
Use inbox list --body, not inbox read, when sweeping. Opening a message marks
it read, and read is meant for "the user asked to see this one". Sweeping a backlog
with read would silently zero the user's unread count. The listing returns the same
readable text (HTML-only ATS mail arrives stripped to text) and marks nothing.
Signals — acknowledgement, screening, interview_invitation, assessment,
offer, rejection, info_request, incomplete_application, other. A forward
signal on a linked message advances that application's stage; a settled application
(rejected/accepted/withdrawn) is never dragged back into the pipeline.
These are not hypotheticals. Each cost real damage on a real mailbox.
The sender name is usually the ATS, not the employer. A message reading
From: Workable / Subject: Thanks for applying to Derq is about Derq. Relays
sign mail with their own brand, so read the employer out of the subject and body,
and treat the sender name as the weakest evidence you have. Getting this backwards
once had 23 acknowledgements — for 23 different employers — all attached to a single
application.
An event the user organised is not an interview invitation. Calendar mail from
cal.com, Calendly and friends looks identical whether a recruiter booked it or the
user booked a practice session with a friend. Check who the organiser is and who the
other party is: the user's own name as organiser plus a personal address is a mock
interview, not a hiring step. That is other.
When the employer does not match any of the candidate's applications, link
nothing. --slug is optional for a reason. A classification with no link is
useful; a confident link to the wrong application is worse than none, because it
silently transplants that employer's history onto someone else's. Three messages
from three unrelated companies once landed on one application this way.
Only a deterministic match links mail automatically. Anything the server's own classifier merely believes becomes a suggestion awaiting the user's word — and a suggestion nobody answers is a link that never happens.
freehire inbox list --link suggested # proposals awaiting a verdict
freehire inbox confirm <id> # accept one
freehire inbox reject <id> # dismiss it, leaving the message unlinked
freehire inbox list --link unlinked # mail with no application to attach to
freehire inbox application <id> <slug> # create the application AND link, in one call
--link linked|suggested|unlinked partitions the mailbox: every message is in
exactly one. inbox application is the way out of the second queue — inbox link
cannot help there, because it needs an application to point at and there is none. It
dates the new application by the message, not by now(): the employer replied to
something that already existed.
A message still carrying a suggestion refuses inbox application with a 409.
Confirm or reject the suggestion first, so the resulting link's provenance is never
ambiguous.
The rest of the surface, for corrections:
freehire inbox list --source external --status rejection # filter: source, label, link, --unread, --query
freehire inbox read <id> # one message in full (marks it read)
freehire inbox link <id> <slug> / unlink <id> # fix a link without re-classifying
freehire inbox delete <id> / restore <id> # soft-delete, reversible
freehire inbox read-all --source external # mark the matching unread mail read
read-all honours every active filter, --link included — so it clears the queue
you are looking at, not the whole mailbox.
FREEHIRE_TOKEN, never in a repo or a log. It can be revoked from the web app.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub strelov1/freehire-cli --plugin freehire6 skills in this plugin
/freehire-job-searchUse when finding jobs for someone — searching or filtering the freehire catalogue by keyword, region, seniority, skills, salary or company; reading a posting or a company's open roles; discovering what values a filter accepts; reading the saved job-search profile before asking someone what they want; handing over a job link freehire does not carry yet; or reading the "possibly inactive" signal on a posting. Covers profile, facets, search, job, company and contribute, all with machine-readable `--json` output./freehire-market-fitUse when measuring a set of skills — a CV's stack, or one skill on its own — against live open-vacancy demand on freehire; when telling a candidate which in-demand skills they are missing and what learning each would unlock; or when gauging how much of a filtered market (a role, a region, a seniority) their current stack already covers./freehire-tailor-cvOther plugins' skills for the same job