# g-h-0-s-t/comet-prompts architecture

> Architecture diagram of the GitHub repository g-h-0-s-t/comet-prompts, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/g-h-0-s-t/comet-prompts
- Repository: https://github.com/g-h-0-s-t/comet-prompts

## Overview

This repository is a small collection of Comet browser-automation prompt templates, not an executable application. Its principal workflow is to customize a prompt with candidate data, give it to Comet in a logged-in browser, and have Comet process job listings or email leads into applications or email drafts. The README documents the two job-application workflows; `fb-unfollow.md` is present in the tree, but its behavior is not described in the available README excerpt, so its connections are omitted.

Main entry points: [`job-list.md`](https://github.com/g-h-0-s-t/comet-prompts/blob/main/job-list.md) (Listing prompt), [`jobs-from-gmail.md`](https://github.com/g-h-0-s-t/comet-prompts/blob/main/jobs-from-gmail.md) (Gmail prompt)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_job_list["Job-list workflow"]
  node_job_prompt["Listing prompt<br/>[job-list.md]"]
  node_skill_match["Skill matching<br/>[job-list.md]"]
  node_job_results["Applied / skipped<br/>[job-list.md]"]
end

subgraph group_gmail["Gmail workflow"]
  node_gmail_prompt["Gmail prompt<br/>[jobs-from-gmail.md]"]
  node_email_mode["Email draft mode<br/>[jobs-from-gmail.md]"]
  node_form_mode["Form-fill mode<br/>[jobs-from-gmail.md]"]
  node_drafts["Application drafts<br/>[jobs-from-gmail.md]"]
end

node_candidate(("Candidate"))
node_comet["Comet browser"]
node_listing_pages["Job listings"]
node_application_forms["Application forms"]
node_gmail_updates["Gmail Updates"]
node_ats_portals["ATS portals"]
node_attachments["Manual attachments"]
node_fb_prompt["Facebook prompt<br/>[fb-unfollow.md]"]

node_candidate -->|"customizes"| node_job_prompt
node_candidate -->|"customizes"| node_gmail_prompt
node_candidate -->|"launches"| node_comet
node_job_prompt -->|"guides"| node_comet
node_comet -->|"browses"| node_listing_pages
node_comet -->|"matches skills"| node_skill_match
node_comet -->|"fills and submits"| node_application_forms
node_comet -->|"tracks"| node_job_results
node_gmail_prompt -->|"guides"| node_comet
node_comet -->|"reads pages"| node_gmail_updates
node_comet -->|"handles email leads"| node_email_mode
node_comet -->|"handles portal leads"| node_form_mode
node_email_mode -->|"generates"| node_drafts
node_comet -->|"fills and submits"| node_ats_portals
node_comet -->|"requests attachments"| node_candidate
node_candidate -->|"attaches files"| node_attachments

click node_job_prompt "https://github.com/g-h-0-s-t/comet-prompts/blob/main/job-list.md"
click node_skill_match "https://github.com/g-h-0-s-t/comet-prompts/blob/main/job-list.md"
click node_job_results "https://github.com/g-h-0-s-t/comet-prompts/blob/main/job-list.md"
click node_gmail_prompt "https://github.com/g-h-0-s-t/comet-prompts/blob/main/jobs-from-gmail.md"
click node_email_mode "https://github.com/g-h-0-s-t/comet-prompts/blob/main/jobs-from-gmail.md"
click node_form_mode "https://github.com/g-h-0-s-t/comet-prompts/blob/main/jobs-from-gmail.md"
click node_drafts "https://github.com/g-h-0-s-t/comet-prompts/blob/main/jobs-from-gmail.md"
click node_fb_prompt "https://github.com/g-h-0-s-t/comet-prompts/blob/main/fb-unfollow.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_job_prompt,node_skill_match,node_job_results,node_comet toneBlue
class node_gmail_prompt,node_email_mode,node_form_mode,node_drafts toneAmber
class node_candidate,node_listing_pages,node_application_forms,node_gmail_updates,node_ats_portals,node_attachments toneIndigo
class node_fb_prompt toneTeal
```

## Components

### Job-list workflow

- [Listing prompt](https://github.com/g-h-0-s-t/comet-prompts/blob/main/job-list.md): `job-list.md`
- [Skill matching](https://github.com/g-h-0-s-t/comet-prompts/blob/main/job-list.md): `job-list.md`
- [Applied / skipped](https://github.com/g-h-0-s-t/comet-prompts/blob/main/job-list.md): `job-list.md`

### Gmail workflow

- [Gmail prompt](https://github.com/g-h-0-s-t/comet-prompts/blob/main/jobs-from-gmail.md): `jobs-from-gmail.md`
- [Email draft mode](https://github.com/g-h-0-s-t/comet-prompts/blob/main/jobs-from-gmail.md): `jobs-from-gmail.md`
- [Form-fill mode](https://github.com/g-h-0-s-t/comet-prompts/blob/main/jobs-from-gmail.md): `jobs-from-gmail.md`
- [Application drafts](https://github.com/g-h-0-s-t/comet-prompts/blob/main/jobs-from-gmail.md): `jobs-from-gmail.md`

### Other components

- **Candidate**
- **Comet browser**
- **Job listings**
- **Application forms**
- **Gmail Updates**
- **ATS portals**
- **Manual attachments**
- [Facebook prompt](https://github.com/g-h-0-s-t/comet-prompts/blob/main/fb-unfollow.md): `fb-unfollow.md`

## Connections

- Candidate → Listing prompt: customizes
- Candidate → Gmail prompt: customizes
- Candidate → Comet browser: launches
- Listing prompt → Comet browser: guides
- Comet browser → Job listings: browses
- Comet browser → Skill matching: matches skills
- Comet browser → Application forms: fills and submits
- Comet browser → Applied / skipped: tracks
- Gmail prompt → Comet browser: guides
- Comet browser → Gmail Updates: reads pages
- Comet browser → Email draft mode: handles email leads
- Comet browser → Form-fill mode: handles portal leads
- Email draft mode → Application drafts: generates
- Comet browser → ATS portals: fills and submits
- Comet browser → Candidate: requests attachments
- Candidate → Manual attachments: attaches files
