add-api-route
Add a new JobPilot API route or module the standard way - contracts schema, controller, service, response schema, optional web hook. Use for "add an endpoint",…
Submit an approved JobPilot proposal draft to Upwork through the Upwork MCP, after showing the user the Connects cost and getting an explicit yes.
$ npx -y skills add suxrobGM/jobpilot --skill upwork-submit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/upwork-submitContext preview
The summary Claude sees to decide when to auto-load this skill.
Submit an approved JobPilot proposal draft to Upwork through the Upwork MCP, after showing the user the Connects cost and getting an explicit yes.
name: upwork-submit description: Submit an approved JobPilot proposal draft to Upwork through the Upwork MCP, after showing the user the Connects cost and getting an explicit yes. argument-hint: "<proposal_id>"
Take a proposal the user already reviewed in JobPilot and submit it to Upwork. **This spends the user's Connects.** Never submit without showing the cost and getting an explicit yes in this conversation.
1. Follow `../_shared/setup.md`. 2. Follow `../_shared/upwork-mcp.md`: confirm the tools are connected and resolve `ORG_UID`.
PROPOSAL=$(curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" "$JOBPILOT_API/api/upwork/proposals/$ARG")
Require `.status == "draft"`. Anything else → stop and say what the status is; a `submitted` proposal must not be sent twice.
Require a non-empty `.proposalText` and a `.jobUrl`. Missing either → tell the user to draft it first with the `upwork-proposal` skill, then stop.
**Mandatory. Never skip.** Upwork rejects a `create` on a job the user was invited to or already applied to, with error `VJ-JA-10`, and the turn is wasted.
1. `list_freelancer_proposals` action `invitations` - is there an invitation for this job? 2. `list_freelancer_proposals` action `list` - is there already a proposal for it?
An existing proposal → stop and tell the user; do not submit again. An invitation → use `manage_proposals` action `accept_invitation` with the invitation's `id` instead of `create`, and confirm with type `proposal_accept_invitation`.
`manage_proposals` action `create` with:
proposal's `jobUrl` via `find_jobs` action `get` if the id is not already in the digest.
ask the user to shorten it rather than truncating their words.
`screening_questions`; if it asks something the stored answers do not cover, stop and ask the user rather than inventing an answer.
This returns a preview. It does **not** submit.
Show the user, always including the first two:
Boosting is a Connects **bid** for a top slot, not a flat fee. Show `boost.current_top_bids` as the real competing bids and `boost.recommended_connects` as the smallest bid that takes a top slot. Let the user pick the number. Never exceed `boost.max_boost_connects`, and pass what they chose as `boost_connects`.
Ask whether they want to attach files or highlight portfolio projects and certificates (`get_profile` action `list_highlights`). Both are optional but must be offered.
Then get an explicit yes. A silent or ambiguous reply is a no.
`confirm_preview` type `proposal` with the `preview_id`.
On success:
NOW=$(date -u +%Y-%m-%dT%H:%M:%SZ)
curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" -X PATCH "$JOBPILOT_API/api/upwork/proposals/$ARG" \
-H 'content-type: application/json' -d "$(jq -n --arg t "$NOW" '{status:"submitted", submittedAt:$t}')"Then refresh the Connects balance so the web app shows what is left:
curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" -X PUT "$JOBPILOT_API/api/upwork/account" \
-H 'content-type: application/json' -d '{"connectsBalance": <new balance>}'Read the new balance from `get_profile` action `connects_balance`, not by subtracting.
If the user declines, leave the proposal as `draft`, say nothing was submitted and no Connects were spent, and stop. Do not start a second preview: a new one silently replaces the pending one.
If Upwork returns an error, leave the proposal as `draft` and report the error text verbatim. An insufficient-Connects error carries a purchase URL - pass it on.
1. **Never submit without an explicit yes** in this conversation, naming the Connects cost. 2. **One submission per proposal.** Status must be `draft` going in. 3. **Never invent a screening answer or a bid.** Both come from the stored proposal or the user. 4. **Never boost by default.** It is a separate Connects spend and a separate decision. 5. A submitted boost cannot be edited or withdrawn here. Verify what Upwork stored with `list_freelancer_proposals` action `get` and report `terms.connectsBid` as the real figure.
An AI agent that applies to jobs for you, on the Claude or Codex subscription you already have.
Repo: suxrobGM/jobpilot
Add a new JobPilot API route or module the standard way - contracts schema, controller, service, response schema, optional web hook. Use for "add an endpoint",…
Review and clean up the given file(s)/folder(s)/module(s): rate organization, find dead code, duplication, coupling, over-engineering, deep nesting, structural…
Create and apply a Prisma migration safely against the remote (tunneled) PostgreSQL. Use for schema changes - "create a migration", "apply migrations", "add a…
Add knip to a TypeScript project and use it to remove dead exports, collapse pass-through barrels, and narrow every export to what another file actually…
Bump the unified JobPilot version (host + plugin), update the changelog, commit, and tag a new release
Rebuild the .NET terminal host, restart it, and wait for /healthz. Use after any C# change under apps/terminal, or when asked to "restart the terminal host".