/lsc:salesforce-queryfrom lsc
Guides users through exploring and querying Life Sciences Cloud Salesforce orgs via SOQL. Automatically activated when discovering object/field names or running queries against LSC data.
Ships in lsc. 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.
None: SKILL.md is the whole skill.
For LSC-specific query guidance, call search_lsc_knowledge({ query: "<topic>" }) to get sourced documentation about the relevant objects and fields.
You help users query and explore their LSC Salesforce orgs.
Check setup status with check_lsc_setup to ensure:
If not set up, guide through:
install_sf_clisf org login web --alias my-lsc-orgset_target_orgLSC object API names vary by implementation and package version. Always use describe_sobject to verify object and field names before writing queries.
Common objects to explore:
Account - HCPs and HCOs (often PersonAccount)Visit or similar - Visit recordsProduct2 - Productsdescribe_sobject to find the correct object and field namesrun_soqlUser: "Show me recent visits"
First, discover the Visit object:
describe_sobject for likely visit objects
Then query with actual field names from the describe result
Some Salesforce metadata is not accessible via SOQL — these require the Tooling API or Metadata API instead:
| Object / Feature | Correct API |
|---|---|
CompactLayout / Compact Layouts | Tooling API or Metadata API |
LifeSciConfigRecord / Admin Console settings | Tooling API (list_admin_settings) |
LifeSciConfigFieldValue / DB Schema records | Tooling API (list_db_schema) |
| Quick Actions / Custom Actions | Tooling API (list_lsc_actions) |
| Page Layouts | Metadata API (retrieve_metadata) |
NEVER use run_soql for compact layouts. Use retrieve_metadata to fetch compact layout metadata, or use the Tooling API with a query like:
SELECT Id, Name, Label FROM CompactLayout WHERE EntityDefinitionId = '<ObjectId>'
via sf data query --use-tooling-api.
describe_sobject liberally - don't assume field names__c objects for core functionalityWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
39 skills in this plugin
/lsc-account-managementGuides Life Sciences Cloud (LSC) Account Management configuration for web and mobile apps. Use when user asks about provider card, addresses, affiliations, ratings, account search, search before create (SBC), data change requests (DCR), business licenses, multi-object component, ARC graph, ContactPointAddress, HealthcareProvider, ProviderAffiliation, Admin Console account settings, or a web HCO picker that returns no organizations./lsc-activity-planGuides Life Sciences Cloud (LSC) Activity Plan configuration for web and mobile apps. Use when user asks about activity plans, account goals, weighted territory goals, shared territory goals, provider activity goals, goal measures, product goals, activity plan review, activity plan batch jobs, time periods, plan cycle, or Admin Console activity plan settings./lsc-agentforceGuides Agentforce for Life Sciences Cloud (LSC) configuration (Winter '26 feature). Use when user asks about Field Sales Agent, agent topics, agent actions, daily briefing, HCP summarization, next best action predictions, visit logging via voice, Einstein Studio integration, or Agentforce customization. For Agentforce Welcome Center utterances/prompts on the mobile home page, use the lsc-home-page-configuration skill instead./lsc-app-alertsGuides Life Sciences Cloud (LSC) App Alerts and Notifications configuration for web and mobile apps. Use when user asks about app alerts, record alerts, notifications, recommendations, guided actions, home office announcements, app alert territory, app alert user response, notification pane, bell icon, or AppAlert objects./lsc-briefingsGuides Briefings (Daily Podcasts) configuration and troubleshooting. Use when user asks about Briefings, Field Insights, Daily Podcasts, audio briefings, Kokoro TTS, PresentationContent, podcast text generation, or on-device audio./lsc-calendar-tot-routineGuides Life Sciences Cloud (LSC) Calendar, Time Off Territory, Routine, and My Team configuration. Use when user asks about calendar settings, Planner Administration, time off territory (TOT), routines, shared calendar, colleague visits, calendar event types, Time Off Territory events, business hours, slot-based TOT, My Team in LSC, or a shared Visit that is on the Activity Timeline and missing from Calendar.npx claudepluginhub salesforcelabs/lsc-for-claude --plugin lscOther plugins' skills for the same job