/job-tracker:inbox-and-calendarfrom Job Tracker
Reads recruiter mail, LinkedIn messages, and calendar via connectors, classifies messages, records outcomes in a tracker, and creates verified Gmail drafts. Use during sweeps or when checking for interview bookings.
Ships in Job Tracker. 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.
Turn incoming mail into tracker events and, where a written answer is needed, a verified Gmail draft.
create_draft, call get_draft with the returned id (or find it in list_drafts), then add_artifact (kind: "gmail_draft") and verify_artifact with the read-back text. Why: create_draft once returned ids for three drafts that did not exist. A hook denies verify_artifact unless a get_draft/list_drafts result in this session contains that draft id.lint_prose yourself first.evidence. Do not paraphrase it.accounts.invite_calendar). If the connected calendar is a different account, say "not visible on the connected calendar, check your calendar". Never call an invite missing or unaccepted on that basis. Absence from a calendar is never proof of no booking (it may sit on another account or calendar): name the calendars you checked.get_profile (accounts, writing), open_items, pipeline_summary. Rules: load inbox, plus writing when you will draft a reply (Reading rules: ${CLAUDE_PLUGIN_ROOT}/templates/rules.md; Hermes: ${HERMES_SKILL_DIR}/../../templates/rules.md). Call source_health and keep checkpoints for step 2.
search_threads over the window below, in the recruiter inbox. Useful terms: ATS sender domains (ashbyhq.com, greenhouse.io, lever.co, workable, teamtailor, personio), "application", "interview", "unfortunately", "next steps", "schedule", plus the domains of companies with live processes.get_conversation). A jobs-search failure is not a logout if the inbox works.Window and coverage. This is the one place these mechanics live; the sweep, the auditor, the calendar step and the board readers point here. Apply it to every source account you scan (the recruiter mailbox, LinkedIn, each calendar, each enabled board).
checked_through in source_health.checkpoints minus 48 hours, to now. No checkpoint: the last 30 days. A historical backfill needs an explicit date range from the user; never say you searched everything. Why: a mail that landed during the last scan, or a late booking, is picked up on the next one.next_page_token or equivalent) to the end before calling the scan complete. Page two failing makes the scan partial.set_source_status: name (gmail, linkedin, calendar, or the board's ID), source_account, coverage, and for complete also status: "ok" and checked_through = the actual end of the window you searched.partial (some pages read) or unavailable (nothing read), with status: "failed" and the verbatim error. Never complete, no checked_through.unavailable with status: "degraded", which does not count as a failure (Capability-aware in source-roles). Report it; never omit a connected source.Identity keys. Every record and add_interview from outside carries source, source_account, source_id and occurred_at together, or none of them. The one exception is a later sighting of an interview you already have the interview_id of: that passes occurred_at alone (see Which key an interview gets).
occurred_at is the real time of the message, application or event (ISO with offset), not now.source: "gmail", source_account = the mailbox, source_id = the immutable message ID of the message that says it (not the thread ID).record a note with the evidence and say what is uncertain; never invent metadata.Which key an interview gets. The server updates the row it resolves by interview_id, then by key, then by a unique pending stage+link match. A row keeps the first key it gets, and a call carrying a different key for it is refused.
open_items interviews_to_book and upcoming_interviews, or get_role) and pass its interview_id on every call about it. Without the id, a replayed booking-link mail adds a second pending row.interview_id: the calendar event's key when you can see the event (it stays the same across reschedules), otherwise the Gmail message ID of the invite.interview_id, the changed fields and that message's own occurred_at, without source, source_account and source_id (the source group is never sent partly). The server compares occurred_at with the newest dated update on the row (last_occurred_at in get_role and open_items), so messages may be read in any order. A stale: true result means a newer update is already applied: do nothing. If the row already shows that time or state, call nothing. Why: without the time, an older mail re-read in the 48-hour overlap would revert a reschedule or cancel a rebooked interview. A refusal saying the interview "keeps the occurrence it came from" means you passed another source's key: drop it.add_interview says the replay baseline is unknown after upgrade, leave the interview unchanged and surface the uncertainty under Needs you for reconciliation. Do not change the key or occurrence time to force a retry. A genuinely newer dated update can establish the baseline; older updates remain stale and local edits remain available. Why: pre-upgrade history cannot always prove the accepted external values.Matching. For each thread: get_thread (full messages), then match it to a company with find_company (sender domain and name, plus the posting url when the mail links one: exact_role_ids then names the role).
get_role to confirm before recording on it.find_company verdict of skip for a tracked posting does not stop you recording external evidence on that existing role.upsert_role with source: "inbound" and the posting url when the mail has one. If it returns possible_role_ids, check them as in Identity in source-roles and record the outcome on the role that is this posting. Why: a URL-less upsert always creates a new role, so an outcome recorded on it would miss the role that holds the application.found role as applied, or clear sourced closure evidence can establish closed with a valid outcome, without backdating discovery or inventing verification, scoring or queue events. Pass the four identity fields and nonblank verbatim evidence. Only initial discovery markers are ignored; substantive local decisions or newer/equal-time conflicting evidence prevent bootstrap. Why: discovering the role now does not change when the external application happened.Classify into one of:
| Class | Tells | Action |
|---|---|---|
| Rejection | "unfortunately", "not moving forward", "position filled" | record with status: "closed", outcome: "rejected" (or role_closed if filled/cancelled), actor: "employer", evidence = feedback verbatim, or the key sentence if no feedback |
| Booking link | you.ashbyhq.com/meeting/..., Calendly, SavvyCal, Google appointment pages, "book a time", "select a time through the link", "direct booking link" | No draft. add_interview with stage, people, link and no starts_at and no key (that marks it "to book"; the role moves to interviewing only when the status machine allows it). Hold the "to book" claim until step 6 has checked the calendars and the full threads for a confirmed time. |
| Invite | Calendar invite or a confirmed time | add_interview with starts_at, tz, stage, people, link, booked_by, interview_id when the round has a row, and the key per Which key an interview gets. Never add a second row for a round. Check it appears on the invite calendar. |
| Cancellation | "cancelled", "need to rebook", a deleted invite | add_interview with state: "cancelled" and the round's interview_id (key per Which key an interview gets). It leaves the to-book list; a new time later is a new update, not a new round. |
| Reply needing an answer | A question in prose, request for CV, availability asked in prose with no link, terms | Reply draft (step 4) |
| Acknowledgement | "we received your application" | For a new receipt, always record actor: "user", status: "applied", regardless of the role's current status, with role_id, reason, verbatim acknowledgement evidence and all four identity fields; occurred_at = when it arrived. For an existing key, follow Stable acknowledgement replay below. This records the external application as it happened, never a new submission. |
| Holding note | "still reviewing", "we'll be in touch" | record note, actor: "employer" |
| Intro or direct conversation | Broker intro in progress, a founder or hiring manager writing directly | Mark the company no-cold-apply (step 5) and record a note |
| Not job-related | Other projects, newsletters, social digests | Ignore |
Stable acknowledgement replay. Before recording a receipt, inspect get_role's events for the same source, source_account and source_id. If already recorded, skip that message or replay its immutable stored payload. For a legacy employer note, keep its stored actor, status, outcome, evidence and occurrence time; omit status/outcome when the stored values are null. Never convert that keyed note to user/applied. Surface a genuine immutable-payload mismatch under Needs you; never invent an id or time to bypass it. Why: replay identity belongs to the message, not the role's current status. Ordering prevents an older receipt from reopening a rejection; reclassifying the same message would instead break replay identity.
Results of record and add_interview.
duplicate: true, or created, updated and stale all false: a replay. A no-op; say nothing new.stale: true: a newer update is already stored. Leave it.status_applied: false with a conflict (for example substantive history blocks bootstrap, an acknowledgement for a verified or scored role, or equal-time statuses): do not retry or force a status. List it under Needs you with the role and the conflict text.status_applied: false with no conflict: older evidence, kept.state: "scheduled" to rebook: do not rebook. List it under Needs you with both sightings.queued or found when an invite arrives: the application happened outside the tracker. record the application evidence (sourced) first, then add_interview; do not skip the evidence. Why: the booking is then attached to a role whose history shows how it got there.get_cv. If it is missing, or exists: false or readable: false, the body must not say the CV is attached, and the draft goes under Needs you with "no saved CV file". Otherwise plan to attach the path. Why: artifacts are insert-only, so the attachment evidence has to exist before the artifact is recorded; deciding after that leaves no place to put it.write-note rules: short, answers the question asked, no gaps volunteered, signature name only, no bare URLs.lint_prose; fix until ok.create_draft in the recruiter inbox, threaded as a reply where the connector supports it. If the CV is to be attached and create_draft (or update_draft) takes an attachment parameter (attachments, attachment, files or similar, taking a file path), pass the get_cv path in it.get_draft with the returned draft id. If not found, check list_drafts. If it is in neither, the draft does not exist: try once more, and if it still fails, report "draft could not be saved" and put the text in a record note. Never report a draft you have not read back./job-tracker:sweep). Attach it in Gmail as in ${CLAUDE_PLUGIN_ROOT}/skills/fill-form/reference.md "Gmail draft attachments" (Hermes: ${HERMES_SKILL_DIR}/../../skills/fill-form/reference.md), then get_draft again. Why: an unattended run is treated as having no browser for this, and it should not drive the user's Gmail. If the run is unattended, or the browser attach fails, remove any claim that the CV is attached: use update_draft, read it back, then list it under Needs you as "Draft for : attach the CV (<path>) before sending."add_artifact with kind: "gmail_draft", ref = draft id, content = body, plus an attachment line only when the CV was meant to be attached: "Attachment: (confirmed by read-back | screenshot)", or "Attachment: none, user must attach " when it is not attached. Then verify_artifact with artifact_id and readback = the text returned by the latest get_draft.get_draft read-back lists the attachment or a screenshot shows the attachment chip, and the artifact's attachment line says so. Why: create_draft once returned ids for drafts that did not exist, so an attachment claim needs the same proof as the draft.A company with an open broker intro, a recruiter-run process, or a direct conversation with a founder or hiring manager must never get a cold application. Call set_no_cold_apply with the company_id (from find_company; upsert_role the company's role first if it is new), on: true and a reason naming the channel (e.g. "broker intro open", "recruiter process", "direct thread with the CTO"). find_company then returns skip and gate_check blocks a submit. When the intro or process closes, call it again with on: false and record a note.
list_events on the connected calendar over the window above and the next 14 days, following every page. Match interviews from open_items: a match is passed with its interview_id, and an invite with no matching row is added with its calendar key.set_source_status for each calendar read (name: "calendar", source_account = account and calendar, per Window and coverage). Its checked_through is the end of the search window (now), not the end of the 14-day lookahead. Why: the server refuses a checked_through more than a day ahead, and events after now were not read as history.accounts.invite_calendar. Different: say so once in the report, and list interviews as "not visible on the connected calendar".create_event is refused (connector read-only), report the slot and ask them to add it.For the report: which sources and calendars were checked, and any partial or unavailable; interviews (time in the user's timezone, stage, people, link), links still to book with free windows, outcomes with feedback quotes, and verified drafts only. Unverified drafts appear under Needs you as "could not confirm draft".
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/fill-formFills an employer's application form in the browser and reads every value back from the page, switching input method per ATS (Ashby, Greenhouse, Lever, Workable, Typeform, plain forms), handling cookie banners, file uploads, comboboxes and CAPTCHAs, then submits according to the saved auto_apply preference or the user's /job-tracker:approve and records the confirmation. Use during /job-tracker:apply, or whenever a browser form for a job application must be filled./interview-prepBuilds an interview prep sheet for one company and stage from the user's own STAR stories, profile and the role's posting, plus research on the company and the interviewers, with questions to ask. Use for /job-tracker:prep, when an interview is booked or a booking link arrives, or when the user asks how to prepare for a specific interview./npx claudepluginhub adamwardecki/job-tracker-mcp --plugin job-trackerOther plugins' skills for the same job