From real-estate-broker
Update an opportunity or deal in Qobrix CRM. Use when the user says "update the deal", "move opportunity to next stage", "update CRM", "change deal status", "add notes to opportunity", "update the pipeline", "mark deal as", or wants to modify any aspect of an existing opportunity in Qobrix.
How this skill is triggered — by the user, by Claude, or both
Slash command
/real-estate-broker:update-opportunityThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Modify an existing opportunity/deal in the Qobrix CRM pipeline — change stage, add notes, update amount, set next actions, or reassign.
Modify an existing opportunity/deal in the Qobrix CRM pipeline — change stage, add notes, update amount, set next actions, or reassign.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/qobrix-api.sh" METHOD "/api/v2/ENDPOINT" '[BODY]'
If the script returns "error":"not_configured", tell the user to run /setup to configure their API credentials.
Identify the opportunity. If the user mentions a customer name or property, search:
By customer name:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/qobrix-api.sh" GET "/api/v2/contacts?search=first_name%20contains%20%22{name}%22&limit=10"
Then filter opportunities by contact:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/qobrix-api.sh" GET "/api/v2/opportunities?search=contact_id%20%3D%3D%20%22{contact_id}%22&limit=10"
By stage:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/qobrix-api.sh" GET "/api/v2/opportunities?search=stage%20%3D%3D%20%22{stage}%22&limit=25"
If multiple matches, present a numbered list and ask the user to choose.
Fetch current state.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/qobrix-api.sh" GET "/api/v2/opportunities/{id}"
Show current details: stage, amount, contact, property, notes, last activity.
Determine changes. Based on the user's request, identify what needs updating. Common updates:
Confirm and update. Show the user what will change (before > after) and get confirmation.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/qobrix-api.sh" PUT "/api/v2/opportunities/{id}" \
'{"stage":"{new_stage}","notes":"{updated_notes}"}'
Create follow-up task if needed.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/qobrix-api.sh" POST "/api/v2/tasks" \
'{"title":"{next_action}","due_date":"{date}","opportunity_id":"{id}","type":"follow_up"}'
| Stage | Description | Typical Next Actions |
|---|---|---|
| new | Fresh lead/inquiry | Contact customer, qualify interest |
| contacted | Initial contact made | Schedule viewing, send properties |
| viewing | Viewing scheduled or completed | Get feedback, send more options |
| offer | Offer submitted | Wait for response, negotiate |
| negotiation | Active negotiation | Counter-offer, legal review |
| closed_won | Deal completed | Process paperwork |
| closed_lost | Deal lost | Record reason, follow up later |
references/qobrix-search-expressions.md — Search expression syntax referencenpx claudepluginhub index-cy/index-ai --plugin real-estate-brokerCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.