How mosabutey/career-ops-lifesci works
1. Overall shape
- This is a local-first career operating system, not a hosted SaaS app.
- The repo combines prompt-driven agent workflows, Node/Playwright automation, and a small Go terminal dashboard around a shared career data model.
2. Local user data boundary
- Personal inputs live outside the public system layer: config/profile.yml, cv.md, article-digest.md, local interview-prep notes, and generated application artifacts.
- The public repo supplies the reusable logic, templates, and prompts; the user’s identity, CV content, and application defaults are meant to stay machine-local.
3. Agent command surface
- The main operational interface is the set of mode prompts in modes/, mirrored by command wrappers in .opencode/commands/ and skill files under .agents/skills/ and .claude/skills/.
- These define reusable workflows such as apply, compare, evaluate, scan, tracker, batch, pdf, patterns, and interview prep.
- The repo is designed to work with Claude Code, OpenCode, and Codex as the execution environment for those commands.
4. Opportunity intake and evaluation flow
- A job description or URL enters the system through the command layer.
- The system then classifies the opportunity by role pack and career stage, evaluates fit, and produces structured outputs: a report, a recommended resume variant, and tracker updates.
- This is the core decision-support path that turns raw opportunities into ranked, actionable candidates.
5. Document generation subsystem
- Resume/PDF generation is template-driven via templates/cv-template.html and scripts such as scripts/generate-pdf.mjs.
- The intent is ATS-safe, tailored output rather than generic document export.
- Example source material in examples/ shows how different candidate archetypes are represented and transformed.
6. Application tracking and data integrity
- The tracker is a first-class subsystem, with merge, deduplication, status normalization, and contract validation scripts in scripts/.
- DATA_CONTRACT.md and scripts/tracker-contract.mjs indicate that tracker data has a defined schema and integrity rules.
- Outputs from evaluation and application flows are consolidated into reports, TSV/tracker artifacts, and summary views rather than scattered notes.
7. Browser-assisted application layer
- Live application support is handled by Playwright-based scripts under scripts/, including Workday- and Phenom-specific probes and handoff flows.
- This layer is explicitly human-in-the-loop: it can inspect, prefill, and stage applications, but the candidate is expected to review before final submission.
- The browser automation depends on local profile defaults, portal-specific configuration, and saved file paths for uploadable documents.
8. Batch and pipeline processing
- batch/ supports parallel or grouped processing of multiple opportunities, with logs and merged tracker additions.
- This is the throughput-oriented layer for handling many roles without losing the same evaluation and tracker discipline used in single-role workflows.
- scripts/verify-pipeline.mjs, scripts/merge-tracker.mjs, and related helpers keep batch output consistent with the main system.
9. Observability and local UI
- dashboard/ is a Go-based terminal application that reads career data and presents pipeline/viewer screens.
- It depends on dashboard/internal/data, model, theme, and ui/screens, which suggests a read-oriented UI over existing tracker/report artifacts rather than a separate backend service.
- This dashboard is the repo’s lightweight operational view into the application pipeline.
10. Configuration, localization, and extensions
- The repo supports multiple role packs and career stages, plus localized command sets in modes/de, modes/fr, and modes/pt.
- templates/portals.example.yml and config/profile.example.yml show that portal behavior and profile defaults are configurable rather than hardcoded.
- Supporting docs in docs/ define the operational rules, privacy boundaries, and validation process; GitHub Actions in .github/workflows/validate.yml provide automated repo checks.
Main entry points: career-ops.md Ops command · pipeline.md Pipeline · apply.md Apply · evaluate.md Evaluate
Components 22
Command surface
Mode prompts, command wrappers, and skills that define the agent-facing workflows.
- Apply · Primary application workflow prompt.
modes/apply.md - Evaluate · Fit analysis and opportunity ranking workflow.
modes/evaluate.md - Batch · Multi-opportunity processing workflow.
modes/batch.md - Pipeline · End-to-end opportunity processing workflow.
modes/pipeline.md - Tracker · Tracker update and consolidation workflow.
modes/tracker.md - Ops command · Unified command entry surface for agent runtimes.
.opencode/commands/career-ops.md - Career skill · Shared skill definition for the career operations workflows.
.agents/skills/career-ops/SKILL.md
Workflows
Core opportunity intake, evaluation, batch, and tracking flows.
- Verify pipe · Validates the evaluation-to-tracker pipeline.
scripts/verify-pipeline.mjs - Merge tracker · Combines tracker additions into merged outputs.
scripts/merge-tracker.mjs
Document generation
Resume and PDF output pipeline plus representative examples.
- Generate PDF · Creates ATS-safe tailored PDF outputs.
scripts/generate-pdf.mjs - CV template · Template used to render tailored resume documents.
templates/cv-template.html - Example report · Representative generated report and transformation example.
examples/sample-report.md
Browser automation
Playwright-assisted live application flows and portal handoff scripts.
- Workday probe · Playwright probe for live application flow inspection.
scripts/probe-workday-fill-myinfo.mjs - Phenom handoff · Human-in-the-loop review handoff for portal applications.
scripts/assist-phenom-review-handoff.mjs
Dashboard
Go terminal UI for reading career data and pipeline state.
- Dashboard main · Entry point for the terminal dashboard.
dashboard/main.go - Pipeline view · Pipeline screen for reading local career artifacts.
dashboard/internal/ui/screens/pipeline.go - Career data · Dashboard data loading and normalization layer.
dashboard/internal/data/career.go - Career model · Shared career state and presentation model.
dashboard/internal/model/career.go
Data and contracts
Local profile defaults, tracker schema, and integrity rules.
- README · Top-level orientation for the career operations system.
README.md - Tracker contract · Enforces tracker data rules and schema integrity.
scripts/tracker-contract.mjs - Profile defaults · Example local profile boundary for personal defaults.
config/profile.example.yml - Data contract · Defines tracker and artifact integrity rules.
DATA_CONTRACT.md
Connections 24
- Ops command → Apply: dispatches to · Command wrapper exposes the apply workflow.
- Ops command → Evaluate: dispatches to · Command wrapper exposes the evaluate workflow.
- Ops command → Batch: dispatches to · Command wrapper exposes the batch workflow.
- Ops command → Pipeline: dispatches to · Command wrapper exposes the pipeline workflow.
- Ops command → Tracker: dispatches to · Command wrapper exposes the tracker workflow.
- Career skill → Apply: encodes · Skill pack mirrors the reusable operational workflows.
- Career skill → Evaluate: encodes · Skill pack mirrors the reusable operational workflows.
- Apply → Verify pipe: uses · Apply flow depends on pipeline verification and checks.
- Evaluate → Data contract: constrains · Evaluation output must respect the shared data contract.
- Batch → Merge tracker: feeds · Batch runs accumulate tracker additions for merging.
- Tracker → Tracker contract: validates against · Tracker workflow enforces schema integrity.
- Merge tracker → Tracker contract: checks · Merged tracker output is validated after consolidation.
- Generate PDF → CV template: renders · PDF generation is driven by the HTML resume template.
- Pipeline → Generate PDF: invokes · Pipeline flow can generate tailored document artifacts.
- Pipeline → Merge tracker: updates · Pipeline flow writes consolidated tracker outputs.
- Workday probe → Profile defaults: reads · Browser automation relies on local profile defaults.
- Workday probe → Data contract: stages · Portal actions are bounded by document and tracker rules.
- Phenom handoff → Profile defaults: reads · Handoff automation uses local profile defaults.
- Dashboard main → Career data: loads · Dashboard entry point reads career data artifacts.
- Career data → Career model: maps to · Loaded artifacts are normalized into the shared model.
- Pipeline view → Career model: renders · UI screens present the career model state.
- README → Ops command: orients · Repository overview points to the command surface.
- README → Dashboard main: documents · Top-level docs reference the dashboard view.
- Example report → CV template: illustrates · Example output demonstrates template-driven generation.