agentleFS
CodesWhatCodesWhat/careerrat/.agents/skills/sync-status/SKILL.md

sync-status

Skill4 starsChanged 9 days agoMITView on GitHub

Read application status from ATS dashboards, normalize each raw label to the canonical tracker vocabulary, atomically apply verified in-app advances, and route external or candidate-reported outcomes through track-outcomes. User-initiated, read-only at the portal.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If no platform shows allowed: true, tell the operator status polling is turned off, give the command that turns it on, and stop (do not …

    line 31
  2. Very specific:

    Read workspace/tracker.json (applications[]).

    line 43
  3. Distinctive:

    Before reading each application row, snapshot or read the current page state — never rely on hardcoded selectors.

    line 72
  4. Distinctive:

    Read from each visible application row: company name, role title, and the raw status label as it appears on the dashboard.

    line 75
  5. Distinctive:

    If you encounter a login wall, captcha, 2FA prompt, or any unexpected interstitial at any point, halt immediately and ask the user to …

    line 78
  6. Distinctive:

    Do not attempt to bypass or automate around any auth challenge.

    line 80
  7. Distinctive:

    Read the JSON result. The fields that matter:

    line 93
  8. Very specific:

    When the normalization result includes a non-null round field, pass it to track-outcomes as the conversations[].kind for the new …

    line 115
  9. Distinctive:

    Never run on a schedule or unattended.

    line 182
  10. Very specific:

    Use tool-agnostic browser prose: "the session browser," "snapshot or read the page." Keep the provider on auto.

    line 184
  11. Very specific:

    Keep the provider on auto.

    line 185

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

sync-status

Runs under AGENTS.md. These contracts bind without being restated here: Privacy Invariant (current_base never outbound), Honesty Firewall, Placeholder/Bracket Ban, Gate Write-back, Domain-Neutral Rule, Browser Automation Contract, Activity Pulse logging, Tracker verify+snapshot, and Sent-Clears-Draft. Inline reminders at point-of-use are intentional; standalone restatements point back to the relevant AGENTS.md section. Bare candidate/, workspace/, config/, and .internal/ paths below are symbolic; resolve them per AGENTS.md's Path Resolution rule.

STEP 0: Capability check

Run:

careerrat automation status --json

Inspect the capabilities.status_polling entry. The applicable platforms are greenhouse, workday, ashby, and lever. For each platform, allowed: true means neither the capability switch nor that platform's switch is turned off. This is the verdict from mayRun() in src/core/automation/consent.mjs; never hardcode it here. Status polling is on by default.

If no platform shows allowed: true, tell the operator status polling is turned off, give the command that turns it on, and stop (do not open a browser). If readError is set, say the automation settings file can't be read and name it. Skip any single platform that is off and report it as skipped.

  • Capability: careerrat automation enable status_polling --write
  • One platform: careerrat automation enable status_polling <platform> --write

This skill is always user-initiated. Never run it unprompted or on a schedule.

STEP 1 — Identify applications to poll

Read workspace/tracker.json (applications[]). Select rows that meet both criteria:

  • The application's host platform maps to one of the allowed: true platforms from STEP 0. Derive the platform from the channel field or the application URL, using the same host patterns the app's hostnameToPortal mapper uses — boards.greenhouse.io / job-boards(.eu).greenhouse.io → greenhouse, *.myworkdayjobs.com / *.myworkday.com → workday, jobs.ashbyhq.com → ashby, jobs(.eu).lever.co → lever.
  • The application is still in-flight: status is not rejected, withdrawn, or offer (where the offer has already been accepted or closed).

Group the selected rows by platform so you visit each dashboard once. If no rows qualify, report that and stop.

STEP 2 — Open each platform dashboard in the session browser

[DELEGATE: subagent — sequential] Per-platform polling drives the session browser, so platforms are read one at a time (one-browser rule); delegation isolates each platform's context rather than parallelizing. Each subagent reads its platform's rows and returns raw statuses; the orchestrator normalizes (STEP 3) and hands transitions to track-outcomes (the only tracker writer). STEP 0 capability check already cleared on the orchestrator. See the Delegation Contract in AGENTS.md.

For each allowed, in-scope platform, navigate to that platform's candidate portal URL in the session browser. The session browser is Layer 3 per docs/BROWSER.md. Keep the provider on auto unless the user explicitly changes it; CareerRat resolves the current session browser and reuses its signed-in session.

Before reading each application row, snapshot or read the current page state — never rely on hardcoded selectors. Drive the live DOM turn-by-turn.

Read from each visible application row: company name, role title, and the raw status label as it appears on the dashboard.

If you encounter a login wall, captcha, 2FA prompt, or any unexpected interstitial at any point, halt immediately and ask the user to complete it. Do not attempt to bypass or automate around any auth challenge.

Save any screenshot or scraped page body under workspace/ only. Nothing leaves the local machine.

STEP 3 — Normalize each raw status

For each scraped row, run:

careerrat status-map "<raw status label>" --current "<row's current tracker status>" --json

Read the JSON result. The fields that matter:

FieldMeaning
autoApplicable: trueHigh-confidence advance or definitive terminal outcome — eligible to hand off
direction: "regress"Status appears to go backward — surface for user confirmation, do not auto-apply
confidence: "low"Unrecognized label defaulted to awaiting — surface for user confirmation
changed: falseSame canonical status as the current tracker row — nothing to do

The CLI is the source of truth for normalization. Do not hand-map raw labels by eye.

STEP 4 — Hand transitions to track-outcomes

For each row where autoApplicable: true:

Hand off to track-outcomes with the company name, role title, and the new canonical status from the normalization result. track-outcomes executes the tracker write, appends learning entries, and checks reevaluation thresholds. Batch all handoffs before exiting this skill; do not call track-outcomes one row at a time if several transitions are ready.

When the normalization result includes a non-null round field, pass it to track-outcomes as the conversations[].kind for the new conversation entry. The round value is already the canonical Round Vocabulary kind from AGENTS.md (e.g. a portal label "Welcome to your virtual onsite" → onsite, not a numbered or generic interview). Never invent or re-derive a round kind from the raw label by eye — the normalizer in status-map.mjs (ATS_ROUND_RULES) is the SSOT and already mirrors the AGENTS.md Round Vocabulary.

Comm-field write-back (same write as the status advance): For each row being handed to track-outcomes, also read its matching communications[] record. If the portal-detected advance makes any open comm CTA moot (e.g. the recruiter thread was waiting on a portal decision that is now confirmed), instruct track-outcomes to include these field updates in the same tracker.json write that records the status transition:

  • comm.nextActionDue = null
  • comm.nextAction — rewrite to reflect the new state, or clear if no follow-up is needed
  • comm.draft = null if a draft was backing the superseded CTA
  • followUp.due = null if a follow-up chase is no longer appropriate given the advance
  • Append a note-type entry to comm.messages[] (or conversations[]) recording that the status advance was observed via portal poll

A partial write that advances app.status but leaves a stale comm CTA violates the single-write rule from AGENTS.md ("Completed-action clears its CTA (hard)").

track-outcomes is the only writer of workspace/tracker.json. This skill never writes the tracker itself. It also does not log to the Activity Pulse — track-outcomes records the transitions it receives (see Activity Pulse in AGENTS.md).

For rows where autoApplicable is false (low confidence, regress, or unchanged): collect them in a confirmation list for STEP 5. Do not hand them to track-outcomes without an explicit user yes.

STEP 5 — Report

Print a summary in this format:

sync-status complete:
  Platforms polled:         N  (<list of platform names>)
  Application rows checked: M
  Transitions applied:      A  (handed to track-outcomes)
  Awaiting confirmation:    C  (listed below)
  Platforms skipped:        S  (<reason: turned off>)

For each item awaiting confirmation, list: company, role, current status → scraped label → normalized canonical, and the reason it was not auto-applied (low confidence / regress / no change). Ask the user which, if any, to apply. For each confirmed by the user, hand off to track-outcomes now — and apply the same comm-field write-back as STEP 4: in the same write that records the confirmed status transition, set comm.nextActionDue = null, rewrite or clear comm.nextAction, null comm.draft and followUp.due if a draft or chase was backing the now-resolved CTA, and append a note entry to comm.messages[] recording the user-confirmed portal advance. Do not leave the comm thread open after a portal-confirmed transition.


RULES

  • This terminal or external-agent path is read-only at the portal and hands tracker mutations to track-outcomes. The CareerRat in-app path uses the canonical atomic status-sync DB verb described below. Never fabricate a tracker mutation or hand-edit generated workspace/tracker.json.
  • On by default, with an off-switch. Only poll platforms where careerrat automation status --json shows status_polling allowed: true for that platform. The allowed field is the mayRun() verdict (the capability switch and the platform switch are not off); never re-derive it in prose. A turned-off platform is skipped and reported, not asked about.
  • Never run on a schedule or unattended. Always user-initiated with the agent in the loop.
  • Halt and ask on captcha, 2FA, login wall, or any unexpected interstitial. Never attempt to bypass an auth challenge.
  • Use tool-agnostic browser prose: "the session browser," "snapshot or read the page." Keep the provider on auto; never ask the user to choose a CLI, extension, or browser driver, and never name an MCP namespace or vendor tool.
  • Status normalization is deterministic via careerrat status-map. Do not hand-map raw portal labels by eye.
  • Local-only. Scraped bodies and screenshots stay under workspace/. Nothing goes outbound.
  • Domain-neutral. No hardcoded companies, roles, or candidate-specific values. No bracketed placeholder tokens anywhere — if a detail is unknown, omit it or go generic; never emit [Company], [Role], or any bracket.
  • Auto-apply only autoApplicable: true results. Surface direction: "regress", confidence: "low", and changed: false rows for human confirmation before handing anything to track-outcomes.

In-app and terminal paths

CareerRat's in-app path reads Greenhouse, Workday, Ashby, and Lever through its owned browser workflow unless the operator turned status_polling off for that platform. A terminal or external-agent run still follows STEP 0 → 5 exactly as written and hands confirmed transitions to track-outcomes.

  • Requesting a status check (status.sync-request). "Check my application statuses" offers a "Check portal statuses" chip. The handler checks mayRun for status_polling per platform: with every platform off it says it is turned off and offers a "Turn it on" action; otherwise it reports which platforms are on and how many in-flight applications map to it by URL host, then runs the allowed in-app portal reads. Results return in the same Ask thread as applied counts, review rows, or retry blockers.
  • Recording one portal-observed update (status.record-portal, offered as "Record this portal status update"). "Greenhouse says 'phone screen scheduled' for Acme" resolves the application, then runs the same deterministic status-map normalization STEP 3 uses. A confident forward or terminal step (autoApplicable) records immediately through the track-outcomes vocabulary (screen/assessment fold into interview, reviewing into awaiting; round granularity is preserved separately). A regress or low-confidence read never writes: it renders a review card whose Apply button fires status.apply-transition, which re-checks the application's current status and refuses stale proposals. No capability switch applies to these self-reports; the candidate saw the portal themselves. The note on every write says so: Portal status reported by user: "<raw>".
  • Native write boundary. An autoApplicable result uses CareerRat's atomic status-sync writer to update the application, clear matching portal-check actions and drafts, append the portal note and activity event, and refresh analytics in one transaction. Regressions and low-confidence labels stay review-only. track-outcomes remains the owner for candidate-reported outcomes and the follow-up coaching, learning capture, and strategy checks those reports can require; the native poll never invents those learnings.

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.