← All runbooks
gooseworks-ai / client-packet-engine

Client Packet Engine

Batch pipeline that takes a list of companies and produces finished GTM pitch packets — intelligence packages, growth strategies, and executed sample work (lead lists, content drafts, email sequences). Designed for prospective client pitches, not live campaign execution. The engi

agent claude-codemodel claude-sonnet-4-6snapshot python312-uveval programmatic9 stepsv1.0.0

Deploy Client Packet Engine to your jetty.io

One-click installs this runbook into a collection on your Jetty account. You can run it from the Spot dashboard, schedule it, or pipe inputs in via the API.

The shape of the run

9 steps · start to finish.

  1. 1
    Step 1

    Environment Setup

    Verify inputs and initialize the output directory structure.

    mkdir -p /app/results/client_packets
    mkdir -p /app/results/work
    
    # Confirm pitch_packet_mode is enabled unless explicitly overridden
    if [ "${PITCH_PACKET_MODE:-true}" = "false" ]; then
      echo "WARNING: pitch_packet_mode=false enables live campaign execution."
      echo "Emails WILL be sent and Apollo credits WILL be spent."
      echo "Confirm with user before proceeding."
    fi
    
    echo "Results dir: /app/results"
    echo "Client packets dir: /app/results/client_packets"
    

    Fail fast if:

    • No company list was provided
    • PITCH_PACKET_MODE is false without an explicit user confirmation recorded in /app/results/work/live_mode_confirmed.txt

  2. 2
    Step 2

    Phase 0 — Intake & Validation

    Parse, validate, and cost-estimate the company list before spending any credits.

  3. 3
    Step 3

    Phase 1 — Research & Strategy Generation (max 3 rounds per company)

    Run the `client-onboarding` playbook (Phases 1–3) for each company to produce intelligence packages and growth strategies.

  4. 4
    Step 4

    Phase 2 — Strategy Selection (Human Checkpoint)

    Present generated strategies for user selection before executing anything in Phase 3.

  5. 5
    Step 5

    Phase 3 — Strategy Execution (Pitch-Packet Mode) (max 3 rounds per strategy)

    Execute selected strategies by routing each to the appropriate skill chain based on its `<!-- execution -->` tag.

  6. 6
    Step 6

    Phase 4 — Packaging

    Run `client-package-local` for each company to produce the final dated deliverable.

  7. 7
    Step 7

    Iterate on Errors (max 3 rounds)

    For any failed skill execution or budget overrun:

  8. 8
    Step 8

    Final Report & Output Files

    Present and write `/app/results/batch_report.md`:

  9. 9
    Step 9

    Final Checklist (MANDATORY — do not skip)

    echo "=== FINAL OUTPUT VERIFICATION ===" RESULTS_DIR="/app/results" for f in \ "$RESULTS_DIR/summary.md" \