agentleFS
azizu06azizu06/job-agent/skills/status-sync/SKILL.md

status-sync

Skill9 starsChanged 25 days agoMITView on GitHub

Update job-agent tracker statuses from new email (Gmail MCP by default, or the local mock inbox in the test rig). Reads recent mail for online assessment invites, interview invites, offers and rejections, matches each message to its tracker row by company and requisition ID, and updates the status without creating duplicates. Use when the user asks to sync application statuses or check for responses.

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. Very specific:

    Write the messages you found to a JSON file as a list of {id, from, subject, date, body} (date as ISO time).

    line 20
  2. Distinctive:

    Never create a row from this skill.

    line 26
  3. Distinctive:

    Use the newest message per row.

    line 27
  4. Very specific:

    Do not move Offer or Withdrawn to anything else without asking.

    line 29
  5. Very specific:

    Add the message date and a short reason to notes, after what is already there.

    line 30
  6. Distinctive:

    Never reply to, send, delete, archive or label email.

    line 37

≈ “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

status-sync

Python: commands below say python3. Use python_cmd from profile/preferences.yaml instead when it is set (setup writes py -3 on Windows).

Inputs

  • Email, per email.receipts in preferences: the Gmail MCP (default, read only for this skill), or with mock the folder in email.mock_inbox (the e2e rig).
  • scripts/sync_status.py from this skill's folder applies the rules below to a CSV tracker and prints a JSON plan.
  • Tracker per the tracker skill. Last sync time in <workspace>/state/status-sync.json ({"last_sync": "ISO time"}); default to 14 days ago.

Steps

  1. Gmail: search with in:anywhere (Inbox, Promotions and Spam; never -category:promotions) from last_sync, and never less than newer_than:2d, plus terms such as assessment OR "coding challenge" OR HackerRank OR CodeSignal OR interview OR "next steps" OR offer OR "unfortunately" OR "not moving forward" OR "other candidates". Also run a bare company-name search for each company with an open row, since status mail often has none of those words. If the user keeps a second inbox (a school or work account) open in a browser tab, read its message list there read-only, both tabs of a Focused/Other split, and add what you find; never click, reply or move mail in it. Write the messages you found to a JSON file as a list of {id, from, subject, date, body} (date as ISO time). Mock inbox: skip the search and pass --inbox <email.mock_inbox> instead of --messages.
  2. Preview: python3 scripts/sync_status.py --tracker <csv_path> --messages <file> --state <workspace>/state/status-sync.json. It classifies, matches and applies steps 3 to 5, and lists skipped messages with a reason. Read the plan; if a classification is wrong, drop that message from the file and run it again. Then run the same command with --apply, which saves last_sync only when every update succeeded. For Notion or Sheets, apply the printed plan by hand with the same rules. The rules the script follows (and that you follow by hand for Notion or Sheets):
  3. Classify each message: Assessment, Interview, Offer, Rejected, or ignore (newsletters, job alerts, receipts already stored).
  4. Match to a row: req ID in the message first, then company plus role, then company alone only if the company has exactly one open row. When the match is ambiguous, list it for the user instead of guessing.
  5. Update rules:
    • Never create a row from this skill. An unmatched message goes in the report.
    • Use the newest message per row. A later rejection on the same req overrides an older assessment invite, and a later interview overrides an older rejection only if it clearly refers to the same req.
    • An assessment or interview invite proves the req was live on that date, nothing more. Before reporting one as waiting on the user, follow the chain forward on that req ID for a later rejection, and check for a completion email ("Completed", "thank you for completing") and the user's own notes on assessments already done or skipped (state/assessments.md, one line per req, kept by you when the user tells you).
    • Do not move Offer or Withdrawn to anything else without asking.
    • Add the message date and a short reason to notes, after what is already there. Never drop earlier notes: apply-fill keeps the path of the pre-submit read-back there.
  6. Save the new last_sync only after all updates succeed.

Report

Rows changed (company, role, old status, new status, message date), unmatched or ambiguous messages, and any deadline mentioned in an assessment or interview email. The script's alerts lists new Assessment, Interview and Offer changes: the only status changes job-run sends a notification for. Rejections and receipts are reported, never pinged.

Never reply to, send, delete, archive or label email.

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.