/small-business:crm-maintenancefrom small-business
Keeps HubSpot current without the owner opening it: creates and updates contacts and deals from email and calendar context, logs notes and calls, and flags stale records. The "stop doing data entry" skill. Use when the user asks to update the CRM, log a call, clean up HubSpot, or add context to a deal.
Ships in small-business. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Lark-native execution (depth core: LARK-PATTERNS, LARK-RECIPES, LARK-FUSION). The CRM can live in Lark Base (P5) — Lark has no separate CRM product, a Base is the database. Two backends:
- HubSpot (external MCP) — keep the steps below as written.
- Lark Base CRM — read records with
lark_base_search(this tool does not supportjq; it requiressearch_fieldsnaming which field(s) to match — narrow withselect_fields/limitinstead. If you don't know the field names, discover them first vialark_api GET /open-apis/bitable/v1/apps/{base}/tables/{table}/fields), write withlark_base_record_upsert(create-or-update,dry_runfirst per P2). To scaffold a CRM Base (Contacts / Deals / Activity tables), don't hand-roll schema — invoke thebase-deployskill; for record/field ops delegate tolark-base. Context inputs are Lark either way: read email threads via Lark Mail, meetings vialark_calendar_agenda, and always resolve people toopen_idwithlark_contact_searchbefore writing (P1). For deeper post-call CRM updates from a meeting, the installeddeal-updateskill (Minutes → Base record → follow-up draft) is a near-drop-in.
Pull context from the referenced email or calendar event, resolve the right contact and deal (HubSpot or Lark Base), log the activity, and surface what changed. For a deal cleanup, audit the deal against recent email/calendar activity and propose updates — never apply them without approval.
User: "log this call to the Acme deal"
→ Read the most recent completed calendar event
→ Confirm attendees map to the Acme deal's contacts
→ Write a call activity on the Acme deal
→ Report: "Logged call to Acme Q2 Expansion. [deal link]"
Identify intent. Decide which of three paths applies from the user's message and context:
Gather context.
jq). Identify the primary external contact.lark_calendar_agenda (title, attendees, time, description). If no event was specified, use the most recent completed meeting in the last 24 hours and confirm with the user before proceeding. If a Minutes recording exists, prefer its AI artifacts via lark_minutes_search (P6) over re-deriving notes.Resolve the contact and deal. For email/call paths:
lark_base_search the Contacts table by email — pass search_fields naming the email field (discover field names via lark_api GET /open-apis/bitable/v1/apps/{base}/tables/{table}/fields if unknown); lark_base_search does not support jq, so narrow output with select_fields/limit. If a contact is missing, create it from email signature or calendar invite data — announce creation in chat before writing (lark_base_record_upsert with dry_run first for the Base backend).lark-base skill.Execute the action. (Lark Base backend: every write is lark_base_record_upsert into the Activity table, dry_run: true first to preview the recipient + payload, then commit on confirm, P2.)
Approval gate — every externally visible write. For contact creation and activity logging, announce before writing and surface the result after. For cleanup edits, do not write anything until the user approves the specific changes.
Report what happened. Tell the user what was written and what's pending. Include a HubSpot link to the affected deal when possible. Keep it short.
reference/cleanup-checklist.md (opens in a new tab)reference/examples/cleanup-deal.md (opens in a new tab)reference/examples/log-call-happy-path.md (opens in a new tab)reference/examples/log-email-happy-path.md (opens in a new tab)reference/gotchas.md (opens in a new tab)reference/hubspot-fields.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin small-business31 skills in this plugin
/business-pulseProduces a one-page cross-functional business snapshot for SMB owners — cash position (QuickBooks), sales trend (PayPal/Square), pipeline movement (HubSpot), this week's commitments (Calendar), urgent watch-list items (Lark Mail/Lark IM), and the single most important thing needing attention today. Proactively tries every available connector and gracefully scopes to whatever is connected — one connector gives a partial pulse; the full stack gives the full picture. Trigger when the user asks how the business is doing, wants a snapshot, a weekly summary, a Monday brief, or says anything like "what am I missing" or "catch me up on the business."
/call-listRanks the top-5 leads most worth calling today, supplies talking points from email history, blocks time on the calendar, and drafts follow-up messages. Accepts optional count and date arguments./canva-creator