--- name: career-ops description: AI job search command center -- evaluate offers, generate CVs, scan portals, track applications arguments: mode user_invocable: true user-invocable: true argument-hint: "[scan | deep | pdf | latex | cover | email | add | eu-swe | oferta | ofertas | apply | batch | tracker | agent-inbox | pipeline | contacto | training | project | interview-prep | interview | interview/plan | interview/practice | interview/debrief | patterns | followup | update]" license: MIT --- # career-ops -- Router career-ops is a multi-CLI job-search command center. The routing below is shared across supported agent CLIs even when the invocation surface differs. ## Invocation Notes - CLIs with slash-command registration can expose this router as `/career-ops`. - Interactive Codex sessions use `codex` in the repo root. Slash commands are not guaranteed in Codex, so ask Codex to run the same mode by name if `/career-ops` is unavailable. - Headless Codex workers use `codex exec "prompt"`. - The routing semantics below stay the same regardless of whether the entrypoint is a slash command or a natural-language prompt. Codex prompt examples that map to the same router semantics: ```text Evaluate this JD with career-ops auto-pipeline: https://company.com/jobs/123 Run the career-ops scan mode and summarize new matches. Run the career-ops pipeline mode for data/pipeline.md. Run the career-ops pdf mode for the latest evaluated role. Run the career-ops tracker mode and summarize the current statuses. ``` ## Mode Routing Determine the mode from `$mode`: | Input | Mode | |-------|------| | (empty / no args) | `discovery` -- Show command menu | | JD text or URL (no sub-command) | **`auto-pipeline`** | | `oferta` | `oferta` | | `ofertas` | `ofertas` | | `contacto` | `contacto` | | `deep` | `deep` | | `interview-prep` | `interview-prep` | | `interview` | `interview` | | `eu-swe` | `regional/eu-swe` | | `interview/plan` | `interview/plan` | | `interview/practice` | `interview/practice` | | `interview/debrief` | `interview/debrief` | | `pdf` | `pdf` | | `latex` | `latex` | | `email` | `email` | | `training` | `training` | | `project` | `project` | | `tracker` | `tracker` | | `agent-inbox` | `agent-inbox` | | `inbox` | `agent-inbox` | | `pipeline` | `pipeline` | | `apply` | `apply` | | `scan` | `scan` | | `batch` | `batch` | | `patterns` | `patterns` | | `followup` | `followup` | | `update` | `update` | | `cover` | `cover` | | `add` | `add` | **Auto-pipeline detection:** If `$mode` is not a known sub-command AND contains JD text (keywords: "responsibilities", "requirements", "qualifications", "about the role", "we're looking for", company name + role) or a URL to a JD, execute `auto-pipeline`. If `$mode` is not a sub-command AND doesn't look like a JD, show discovery. --- ## Discovery Mode (no arguments) If your CLI supports `/career-ops`, show this menu. In Codex, surface the same options in plain text and map the requested mode the same way. Concrete equivalents for Codex prompt-driven sessions: ```text /career-ops {JD} ↔ "Evaluate this JD with career-ops auto-pipeline: {JD or URL}" /career-ops scan ↔ "Run the career-ops scan mode and summarize new matches." /career-ops pipeline ↔ "Run the career-ops pipeline mode for data/pipeline.md." /career-ops pdf ↔ "Run the career-ops pdf mode for the latest evaluated role." /career-ops email ↔ "Run the career-ops email mode for the latest evaluated role." /career-ops tracker ↔ "Run the career-ops tracker mode and summarize the current statuses." ``` Show this menu: ``` career-ops -- Command Center Available commands: /career-ops {JD} → AUTO-PIPELINE: evaluate + report + PDF + tracker (paste text or URL) /career-ops pipeline → Process pending URLs from inbox (data/pipeline.md) /career-ops oferta → Evaluation only A-F (no auto PDF) /career-ops ofertas → Compare and rank multiple offers /career-ops contacto → LinkedIn power move: find contacts + draft message /career-ops deep → Deep research prompt about company /career-ops interview-prep → Generate company-specific interview prep doc /career-ops interview → Interactive profile/CV onboarding interview /career-ops eu-swe → Calibrate a European SWE application before CV/apply/interview /career-ops interview/plan → Time-blocked prep plan for an upcoming interview /career-ops interview/practice → Practice interview, one question at a time with feedback /career-ops interview/debrief → Post-interview debrief: close gaps, predict next round /career-ops pdf → PDF only, ATS-optimized CV /career-ops latex → Export CV as LaTeX/Overleaf .tex /career-ops cover → Cover letter: standalone JD paste or /career-ops cover {slug} /career-ops email → Formal application email draft (draft-only; never sends, submits, or clicks) /career-ops add → Add a project/paper/role to your CV (fetch + preview + confirm) /career-ops training → Evaluate course/cert against North Star /career-ops project → Evaluate portfolio project idea /career-ops tracker → Application status overview /career-ops agent-inbox → Queue/drain requests for the next session (data/agent-inbox.md) /career-ops apply → Live application assistant (reads form + generates answers) /career-ops scan → Scan portals and discover new offers /career-ops batch → Batch processing with parallel workers /career-ops patterns → Analyze rejection patterns and improve targeting /career-ops followup → Follow-up cadence tracker: flag overdue, generate drafts /career-ops update → Update career-ops system files with diff preview + compat check Inbox: add URLs to data/pipeline.md → /career-ops pipeline Or paste a JD directly to run the full pipeline. ``` --- ## Context Loading by Mode After determining the mode, load the necessary files before executing: ### Modes that require `_shared.md` + their mode file: Read `modes/_shared.md` + `modes/{mode}.md` Applies to: `auto-pipeline`, `oferta`, `ofertas`, `pdf`, `contacto`, `apply`, `pipeline`, `scan`, `batch` ### Standalone modes (only their mode file): Read `modes/{mode}.md` Applies to: `tracker`, `agent-inbox`, `deep`, `interview-prep`, `interview`, `regional/eu-swe`, `interview/plan`, `interview/practice`, `interview/debrief`, `latex`, `training`, `project`, `patterns`, `followup`, `cover`, `email`, `add` ### Modes delegated to subagent: For `scan`, `apply` (with Playwright), and `pipeline` (3+ URLs): launch as a worker/subagent with the content of `_shared.md` + `modes/{mode}.md` injected into the worker prompt. If your CLI exposes an `Agent(...)` primitive, the call looks like this: ``` Agent( subagent_type="general-purpose", prompt="[content of modes/_shared.md]\n\n[content of modes/{mode}.md]\n\n[invocation-specific data]", description="career-ops {mode}" ) ``` Execute the instructions from the loaded mode file.