← Writing

I built a Slack workflow that tailors my resume from a Slack message

A real run from my phone, about 17 seconds long. I post a Self Financial job link, and the thread has four files 4 minutes 19 seconds later (by the Slack timestamps). The waits are cut out. The last frame shows the follow-up message that lists the gaps.

Job search advice says you should tailor every application. For me that took 45 to 90 minutes per job on a laptop. You open the posting, pick bullets to match it, check word counts, export a PDF and review it again. Most job alerts go unanswered because that is too much work.

I built a system to fix that. I post a job link (or paste the description) in a Slack channel from my phone. It replies "Got it" within two minutes. A few minutes later it replies again with four files: a tailored resume and cover letter, each as docx and PDF. In my last test the files arrived about four minutes after I posted.

Nothing is submitted. I read every file before I apply.

A typical use

Here is a real run. A Senior Data Engineer posting from Self Financial came in, and I pasted the Greenhouse link into Slack from my phone at 1:13 PM. It said "Got it" right away. At 1:18 PM the thread had all four files. The cover letter spoke to their need for reliable pipelines and models behind analytics and BI, then pointed to my Python library for Redshift, Athena and Glue. It bridged Airflow to my Step Functions work in one sentence and said plainly that I have not used Jira or Confluence. It also marked the posting's five years of warehouse modeling as a required gap for me to check. My part took under a minute on the phone, compared with about an hour at a laptop.

What makes this different from other resume tools

Most automated tools rewrite your bullets. This one never does. Every bullet in the output comes word for word from a JSON file I maintain, the same file the resume page on this site renders. The tool only chooses which bullets to show for each job. If the posting asks for a skill that is not in the file, it is reported as a gap. It is never added.

The other difference is the quality gate. Before any file is delivered, a script called screen_check.py runs about 40 checks on the resume and cover letter. A failed check blocks delivery. Warnings, such as a long sentence or a headline that differs from the posting title, are noted but do not block. The checks cover things most tools skip: whether words LLMs overuse slipped in, whether sentence lengths vary, whether gaps are handled honestly and whether the PDF reads back with every line intact.

When a check fails, the system fixes it before I see anything. Some fixes are automatic, like adding a missing bridge sentence to the letter. Others go back to the tailoring step with the failed check attached, and it tries again, up to three times. Slack never gets half-finished files.

How it chooses what goes on the resume

It works from a bank, not a blank page. The bank holds every true bullet for each of my roles, my projects, four summary versions and a skills list I have confirmed. For each posting it reads the must-haves and picks from that bank: the bullets that match best go first, the summary that fits the role type, and 8 to 20 skills, including every skill from my bank that the posting names. It never rewrites a bullet or adds a new one.

When the posting asks for something I do not have, it looks for a comparable skill I do have and draws the connection in the cover letter, in one honest sentence. A few of the connections it uses:

  • Snowflake, bridged to Amazon Redshift
  • BigQuery, bridged to Athena or Amazon Redshift
  • Airflow, Dagster or Prefect, bridged to AWS Step Functions
  • Databricks, bridged to Spark on EMR
  • Azure Data Factory, Fivetran or Informatica, bridged to AWS Glue

The sentence always says the tool would be new to me. It never claims it. If there is no fair comparison, the gap is not mentioned in the letter at all. It is flagged to me, and the required ones are marked so I can decide whether to apply.

How it works

The work is split into three steps. Each one is a scheduled job, and each step starts the next one as soon as there is work, so nothing waits for a timer. The schedules are only a backup in case a trigger is missed.

Step 1: intake (script, every 2 minutes)

A Python script reads new messages from the #job-queue channel. It picks up where it left off by reading the last processed Slack timestamp from SQLite, so a message posted while the server was down is not lost. For each new message it fetches the posting page and strips the HTML. If the page is rendered by JavaScript and comes back empty, it asks me to paste the text in the thread instead.

Once it has the text, it saves the job in SQLite, writes the posting to disk, replies in the thread and writes a small handoff file. Then it starts step 2. It also checks that step 2 is not paused. The step 2 job pauses itself after five failed runs in a row, so the script resumes it and tells me.

Step 2: tailoring (AI agent)

A Kiro agent job reads the handoff and follows a written procedure, TAILORING.md:

  1. Read the posting. List the must-haves, the tools and the main problem the role solves.
  2. Load resume.json from GitHub. Pick a summary variant, bullets for every role (strongest match first), up to two impact highlights, 8 to 20 skills and the projects that fit.
  3. For every must-have the resume lacks, either bridge it with a close skill in one honest letter sentence ("Snowflake would be new to me, but my warehouse SQL work in Amazon Redshift carries straight over.") or flag it to me. Nothing is invented.
  4. Write the cover letter with my fixed opening and close, one or two proof paragraphs tied to the posting's main problem and any bridge sentences.

This is the only step that uses an AI model, because picking bullets and writing a letter takes judgment. I tried replacing it with a plain script that called a model directly, and the results were worse. The script did not follow the procedure, picked weak highlights and missed gaps.

Step 3: build and deliver (script)

A second script builds the docx and PDF files, runs screen_check.py and repairs what it can. If everything passes, it uploads the four files to the Slack thread with a short list of gaps: required ones first, then other gaps and the bridges it used. It also handles stuck jobs. If the picks never arrive, it resets the job so the tailoring step tries again, and it tells me after three resets. A job with no posting file, or one that failed three times, is cleared and I get a note.

The quality gate in numbers

15 rule groups and about 40 checks per application. These are the ones that catch what most tools miss:

  • Word-for-word truth: every bullet is compared with the source file. Any rewrite fails, and a claim checker strips any skill, number or term the resume does not contain.
  • Overused AI words: checked against the word list from Kobak et al., Science Advances 2025, a study of words whose use jumped in published writing after ChatGPT came out. "Delve," "pivotal" and "garnered" all fail.
  • Sentence variation: the spread of sentence lengths in the letter must reach 0.3. That threshold is my own rule of thumb.
  • Gap handling: every tool the posting names that is not in the bank must be bridged next to a real resume skill or flagged to me.
  • PDF readback: the text is read back out of the PDF with pypdf and compared with the source, so a line dropped in rendering fails.
  • ATS-safe layout: the docx is checked for tables, header or footer text and multiple columns. Jobscan reports these break applicant tracking system parsing.
  • Title match (warning only): Jobscan reports that resumes with the posting's job title got 10.6 times more interviews in its analysis of 2.5 million applications. That is a vendor's own number, and my headline always stays my real title, so this is only a warning.

All checks, sorted into 10 areas

The code has 15 numbered rule groups. Some cover both files, so they are shown here in 10 plain areas. Every check from a real run is listed.

  • Truth: every bullet and project is word for word from the bank. The claim checker removes nothing (no unknown skill, number or term). No posting tool I lack was added.
  • Keywords: every bank skill the posting names is on the resume. The headline is compared with the posting title (warning only).
  • Gaps: every posting gap is bridged or flagged. Each bridge names the gap next to a real resume skill in the same sentence.
  • Length: 8 to 20 skills, a resume of at most about one and a half pages and a letter of 250 to 400 words.
  • Letter basics: it uses my own opening and close and names the company.
  • Plain voice, on both files: no em dashes, stock phrases or semicolons, no overused AI words, no "not X, but Y" lines and no trailing "-ing" explainer clauses. No resume bullet starts with "I".
  • Rhythm: letter sentence lengths vary, and no three sentences in a row start with the same word.
  • Readability (warnings): no sentence over 28 words, at most two passive phrases, at least one bullet with a number, and at most two "X, Y and Z" lists in the letter.
  • File safety: both docx files are one column with no tables and nothing in the header or footer. Both PDFs read back with every line intact.
  • Contact: email, phone, LinkedIn and GitHub are all on the resume.

The resume bank

The source of truth is resume.json in the portfolio-app GitHub repo. It holds the bullets for each role, impact highlights, skills in six groups, four summary variants and four projects. The tailoring step reads it from GitHub on every run, so the tailored resume and this website always match.

Current bank: 5 roles, 24 bullets, 84 skills and 4 summary variants. Over 200 jobs logged and more than 60 tailored so far.

When I confirm a new skill during tailoring, it goes into resume.json on a pull request branch. The build can use that branch before it merges, so the new skill shows up right away.

Part of a bigger job search toolkit

The Slack tailor sits on top of an MCP server I wrote, job-apply-mcp, that I also use from my laptop. It reads job alert emails from Gmail with read-only access and queues each posting. Every job moves through set statuses: discovered, tailored, filled, approved and then submitted or skipped. An answer bank saves my answers to common application questions so I can reuse them, and a daily report shows what is waiting on me. Auto-submit is off in the code and a daily cap limits how many applications go out, so a person approves every one.

Where I would reuse this design

The pattern is simple. The model drafts, code checks the facts against a source, and a person decides. These are designs I would reuse. I have not built them.

  • Data incident triage: a pipeline fails. The workflow gathers the run record, logs and runbook. A model drafts a Slack update. Code checks the run ID, job name, timestamps and status against the source. A person reviews it and decides what to do. Any diagnosis stays labeled as a suggestion, and the draft can never start a fix on its own.
  • Daily operations brief: SQL computes the metrics first, then the model writes the story. Every number, date range and unit is compared with the query results before it goes out. Missing data is flagged, never filled in.
  • Client proposal draft: the model picks relevant work from an approved bank of case studies. Metrics and claims are checked against those sources, and anything that cannot be backed up is flagged. Scope, pricing and sending stay with a person.

What I learned building it

The hardest part was not the Slack API or the file uploads. It was deciding what "passes" means. The first quality gate was much smaller, and it grew one rule at a time. Each check traces back to a published source or one of my own rules, and TAILORING.md lists which is which.

The second lesson was about handoffs. Early on, a job could get stuck between steps and loop forever, or a step could quietly stop. Most of the work since then has gone into making each step start the next one, retry with the failure attached, resume a paused step and clean up anything stuck.

The third lesson: keep the AI where judgment is needed and use plain scripts everywhere else. Intake, building, checking and uploading are plain scripts that use no AI model, so they spend no tokens. Only the tailoring step calls a model.

Running it when your laptop is off

Kiro Crew runs as a gateway process on your own machine. If the laptop is closed, the scheduled jobs stop. To keep the system running while I am away, I run the gateway on an EC2 instance in my AWS account, the same account that hosts this site.

The instance

  • Type: c7i-flex.large (Intel, us-east-1a)
  • OS: Amazon Linux 2023 (ami-0ba6f88277b01a779)
  • Storage: 20 GB gp3 EBS
  • Security group (kiro-crew-sg): inbound SSH (port 22) from my home IP only. No other inbound rules, since Kiro Crew only makes outbound calls.
  • Key pair: kiro-crew-ec2
  • No Elastic IP: the public IP changes on restart, so I update my SSH config when needed.

Setup steps

  1. Launch the instance with the config above, then SSH in and install Kiro Crew using its install guide.
    ssh -i ~/.ssh/kiro-crew-ec2.pem ec2-user@<public-ip>
  2. Sign in with a device code. A normal browser sign-in fails on a server, because the login callback goes to the server's localhost, which your laptop's browser cannot reach. The device code flow prints a link to open on your laptop instead.
    kirocrew kas login
    The server's model usage counts against the account you sign in with. Mine hit the free monthly limit mid-test, so use an account with room to spare.
  3. Clone the workspace and install Python dependencies. Liberation Sans stands in for Arial in the PDFs on Linux.
    git clone https://github.com/timothypike/job-apply-mcp \
      ~/.kiro/crew/workspace/job-apply-mcp
    cd ~/.kiro/crew/workspace/job-apply-mcp
    python3 -m venv .venv-tailor
    .venv-tailor/bin/pip install python-docx fpdf2 pypdf mcp
    sudo dnf install -y liberation-sans-fonts
  4. Create the Slack app. At api.slack.com/apps, create an app from scratch in your workspace. Under OAuth & Permissions, add these bot token scopes:
    • channels:history and channels:read to read #job-queue and its threads (add groups:history if the channel is private)
    • chat:write to reply in the thread
    • files:write to upload the resume and cover letter
    Install the app to your workspace and copy the Bot User OAuth Token (it starts with xoxb-). Then create #job-queue and invite the bot with /invite @your-bot-name. The scripts call the Slack Web API directly, so no event subscriptions or public URL are needed.
  5. Add the Slack bot token.
    echo "xoxb-your-token-here" > ~/.kiro/crew/crons/slack_token.txt
    chmod 600 ~/.kiro/crew/crons/slack_token.txt
  6. Copy the two scripts.
    cd ~/.kiro/crew/workspace/job-apply-mcp/tasks
    cp slack_tailor_cron.py slack_build_upload.py ~/.kiro/crew/crons/
  7. Authenticate the GitHub CLI so the tailoring step can read resume.json.
    gh auth login
  8. Run the gateway as a systemd service so it restarts after a reboot or an SSH logout.
    mkdir -p ~/.config/systemd/user
    cat > ~/.config/systemd/user/kirocrew.service << 'EOF'
    [Unit]
    Description=Kiro Crew gateway
    After=network.target
    
    [Service]
    ExecStart=/home/ec2-user/.local/bin/kirocrew gateway
    Restart=always
    RestartSec=10
    
    [Install]
    WantedBy=default.target
    EOF
    
    systemctl --user enable kirocrew
    systemctl --user start kirocrew
    loginctl enable-linger ec2-user
  9. Register the three jobs on the server. Scheduled jobs belong to the machine they were created on, so jobs on your laptop do not carry over. The two script jobs cost nothing to run. The agent job runs with minimal context and no saved session, so each run starts fresh and stays cheap.
    kirocrew cron add slack-job-tailor "" --cron "*/2 * * * *" \
      --script ~/.kiro/crew/crons/slack_tailor_cron.py:main \
      --no-persistent-session --minimal-context --hide-in-chat
    
    kirocrew cron add slack-tailor-agent "<the TAILORING.md task>" \
      --cron "2-59/5 * * * *" \
      --project-path ~/.kiro/crew/workspace/job-apply-mcp \
      --no-persistent-session --minimal-context --approval-mode auto --silent
    
    kirocrew cron add slack-build-upload "" --cron "6-59/5 * * * *" \
      --script ~/.kiro/crew/crons/slack_build_upload.py:main \
      --no-persistent-session --minimal-context --hide-in-chat
  10. Test it. Post a job link to #job-queue from your phone. The "Got it" reply should arrive within two minutes, and the files a few minutes after that.

On the server, output files land in applications/<Company>-<id>/ inside the workspace. The Slack thread gets the files directly, so they never need to touch the laptop.

Stack

  • Python, urllib and SQLite, with no outside HTTP library in the scripts
  • Slack Web API: conversations.list, conversations.history, conversations.replies, chat.postMessage, files.getUploadURLExternal, files.completeUploadExternal
  • python-docx for docx output and fpdf2 for PDF
  • pypdf for PDF readback checks
  • FastMCP for the MCP server (Gmail job finder, answer bank, job queue)
  • Kiro Crew scheduled jobs, with the bot token in a chmod 600 file and never in the database
  • EC2 c7i-flex.large and systemd for always-on use (optional, since it also runs locally)

The full architecture diagram and setup steps are in the case study.

Read the case study →