|
| 1 | +--- |
| 2 | +name: career-ops |
| 3 | +description: AI job search command center -- evaluate offers, generate CVs, scan portals, track applications |
| 4 | +user_invocable: true |
| 5 | +args: mode |
| 6 | +argument-hint: "[scan | deep | pdf | oferta | ofertas | apply | batch | tracker | pipeline | contacto | training | project | interview-prep | update]" |
| 7 | +--- |
| 8 | + |
| 9 | +# career-ops -- Router |
| 10 | + |
| 11 | +## Mode Routing |
| 12 | + |
| 13 | +Determine the mode from `{{mode}}`: |
| 14 | + |
| 15 | +| Input | Mode | |
| 16 | +|-------|------| |
| 17 | +| (empty / no args) | `discovery` -- Show command menu | |
| 18 | +| JD text or URL (no sub-command) | **`auto-pipeline`** | |
| 19 | +| `oferta` | `oferta` | |
| 20 | +| `ofertas` | `ofertas` | |
| 21 | +| `contacto` | `contacto` | |
| 22 | +| `deep` | `deep` | |
| 23 | +| `pdf` | `pdf` | |
| 24 | +| `training` | `training` | |
| 25 | +| `project` | `project` | |
| 26 | +| `tracker` | `tracker` | |
| 27 | +| `pipeline` | `pipeline` | |
| 28 | +| `apply` | `apply` | |
| 29 | +| `scan` | `scan` | |
| 30 | +| `batch` | `batch` | |
| 31 | +| `patterns` | `patterns` | |
| 32 | +| `followup` | `followup` | |
| 33 | + |
| 34 | +**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`. |
| 35 | + |
| 36 | +If `{{mode}}` is not a sub-command AND doesn't look like a JD, show discovery. |
| 37 | + |
| 38 | +--- |
| 39 | + |
| 40 | +## Discovery Mode (no arguments) |
| 41 | + |
| 42 | +Show this menu: |
| 43 | + |
| 44 | +``` |
| 45 | +career-ops -- Command Center |
| 46 | +
|
| 47 | +Available commands: |
| 48 | + /career-ops {JD} → AUTO-PIPELINE: evaluate + report + PDF + tracker (paste text or URL) |
| 49 | + /career-ops pipeline → Process pending URLs from inbox (data/pipeline.md) |
| 50 | + /career-ops oferta → Evaluation only A-F (no auto PDF) |
| 51 | + /career-ops ofertas → Compare and rank multiple offers |
| 52 | + /career-ops contacto → LinkedIn power move: find contacts + draft message |
| 53 | + /career-ops deep → Deep research prompt about company |
| 54 | + /career-ops pdf → PDF only, ATS-optimized CV |
| 55 | + /career-ops training → Evaluate course/cert against North Star |
| 56 | + /career-ops project → Evaluate portfolio project idea |
| 57 | + /career-ops tracker → Application status overview |
| 58 | + /career-ops apply → Live application assistant (reads form + generates answers) |
| 59 | + /career-ops scan → Scan portals and discover new offers |
| 60 | + /career-ops batch → Batch processing with parallel workers |
| 61 | + /career-ops patterns → Analyze rejection patterns and improve targeting |
| 62 | + /career-ops followup → Follow-up cadence tracker: flag overdue, generate drafts |
| 63 | +
|
| 64 | +Inbox: add URLs to data/pipeline.md → /career-ops pipeline |
| 65 | +Or paste a JD directly to run the full pipeline. |
| 66 | +``` |
| 67 | + |
| 68 | +--- |
| 69 | + |
| 70 | +## Context Loading by Mode |
| 71 | + |
| 72 | +After determining the mode, load the necessary files before executing: |
| 73 | + |
| 74 | +### Modes that require `_shared.md` + their mode file: |
| 75 | +Read `modes/_shared.md` + `modes/{mode}.md` |
| 76 | + |
| 77 | +Applies to: `auto-pipeline`, `oferta`, `ofertas`, `pdf`, `contacto`, `apply`, `pipeline`, `scan`, `batch` |
| 78 | + |
| 79 | +### Standalone modes (only their mode file): |
| 80 | +Read `modes/{mode}.md` |
| 81 | + |
| 82 | +Applies to: `tracker`, `deep`, `training`, `project`, `patterns`, `followup` |
| 83 | + |
| 84 | +### Modes delegated to subagent: |
| 85 | +For `scan`, `apply` (with Playwright), and `pipeline` (3+ URLs): launch as Agent with the content of `_shared.md` + `modes/{mode}.md` injected into the subagent prompt. |
| 86 | + |
| 87 | +``` |
| 88 | +Agent( |
| 89 | + subagent_type="general-purpose", |
| 90 | + prompt="[content of modes/_shared.md]\n\n[content of modes/{mode}.md]\n\n[invocation-specific data]", |
| 91 | + description="career-ops {mode}" |
| 92 | +) |
| 93 | +``` |
| 94 | + |
| 95 | +Execute the instructions from the loaded mode file. |
0 commit comments