/lsc:lsc-briefingsfrom lsc
Guides configuration and troubleshooting of Briefings (Daily Podcasts) including Kokoro TTS, PresentationContent, permission sets, and mobile cache.
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.
Always call MCP tools to get sourced documentation. Do not answer from general knowledge alone.
| User asks about... | Call this tool |
|---|---|
| Briefings overview, setup steps, how it works | search_lsc_knowledge({ query: "Briefings Daily Podcasts setup" }) |
| Briefings documentation | get_lsc_module_docs({ module: "briefings" }) |
| Check if Briefings is configured | check_briefings_config() |
| Check a specific user's access | check_briefings_config({ username: "[email protected]" }) |
| DB Schema / mobile cache for Briefings | list_db_schema({ filter: "PresentationContent" }) |
| Mobile cache status | check_mobile_cache_status() |
| Permission sets for Briefings | list_permission_sets() |
| Troubleshoot why Briefings isn't working | check_briefings_config() then diagnose_lsc_issue({ symptom: "<error>" }) |
When the user asks about Briefings configuration, ask them which mode they prefer:
search_lsc_knowledge({ query: "Briefings setup" }) and present the relevant sectionsDefault to guided setup when connected to an org, or documentation mode if no org is connected.
check_briefings_config()
Present the diagnostic results. Highlight FAIL items that need attention.
For each issue found, use the appropriate tool:
| Issue | Fix With |
|---|---|
| Briefings toggle OFF | Guide user to Setup → Life Sciences for Customer Engagement Setup → Configure Briefings → Toggle ON |
| Missing permission sets | assign_permission_set({ label: "...", usernames: [...] }) |
| Missing Briefings permission (PermissionsStoriesUser/PermissionsStoriesAdmin) | Guide user through clone + enable "Use Briefings" or "Manage Briefings" system permission |
| Account Summarization not configured | Guide to Setup → Configure Account Summarization |
| No Content Definition | Guide to Configure Briefings → Manage Assignments |
| Scheduling flow not cloned | Guide through clone + activate flow |
| Missing DB Schema configs | create_db_schema({ objectName: "PresentationContent" }) etc. |
| Stale mobile cache | generate_mobile_metadata_cache({ profileNames: [...] }) |
Re-run check_briefings_config() to confirm all issues are resolved.
PresentationContent — generated briefing recordsPrstContentDefinition — content definition (NOT PresentationContentDefinition)PrstCntntDefAssignment — profile assignments (NOT PresentationContentDefinitionAssignment)PrstCntntUsageSummary — usage tracking (NOT PresentationContentUsageSummary)PrvdAccountTerritorySummary — account summarization outputThe feature shipped as Briefings in production (262). The API/XML names use the legacy Stories naming — they were not renamed when the feature was rebranded. Both are correct.
| UI Label (Setup) | SOQL field on PermissionSet | XML <name> in metadata | Who needs it |
|---|---|---|---|
| Manage Briefings | PermissionsStoriesAdmin | StoriesAdmin | Admins |
| Use Briefings | PermissionsStoriesUser | StoriesUser | End users (reps) |
SELECT Id, Label FROM PermissionSet WHERE PermissionsStoriesAdmin = true AND IsCustom = trueSELECT Id, Label FROM PermissionSet WHERE PermissionsStoriesUser = true AND IsCustom = trueCloned perm sets can be created via metadata deploy (sf project deploy start). Do NOT include a <license> element — it causes deploy failures.
Admin perm set (StoriesAdmin):
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">
<label>Life Sciences Commercial Admin - Briefings</label>
<hasActivationRequired>false</hasActivationRequired>
<userPermissions>
<enabled>true</enabled>
<name>StoriesAdmin</name>
</userPermissions>
</PermissionSet>
End user perm set (StoriesUser):
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">
<label>Life Sciences [Role] - Briefings</label>
<hasActivationRequired>false</hasActivationRequired>
<userPermissions>
<enabled>true</enabled>
<name>StoriesUser</name>
</userPermissions>
</PermissionSet>
Determining which base role to name the cloned set after:
SELECT Id, Profile.Name FROM User WHERE Username = '<username>'| End User Profile | Base Perm Set (reference) | Suggested Cloned Label |
|---|---|---|
| Field Sales Representative | LifeSciencesFieldSalesRepresentative | "Life Sciences Field Sales Rep - Briefings" |
| Key Account Manager | LifeSciencesKeyAccountManager | "Life Sciences KAM - Briefings" |
| Medical Science Liaison | LifeSciencesFieldMedical | "Life Sciences MSL - Briefings" |
Assignment rules:
These can be created programmatically via the Tooling API (v67+). Use LifeSciConfigRecord and LifeSciConfigFieldValue objects. Each record requires:
LifeSciConfigRecord with LifeSciConfigCategoryId pointing to the "DbSchema" category, Type, IsActive=falseLifeSciConfigFieldValue records for: SObject (DataType=OBJECT, ObjectValue), Type (DataType=PICKLIST, PicklistValue), OneWaySync (DataType=BOOLEAN, HasBooleanValue=true for Unidirectional, false for Bidirectional), WhereSoql (DataType=LONGTEXT, LongTextValue)Status field value: FieldName=Status, DataType=PICKLIST, PicklistValue=Valid — REQUIRED for the record to show as Valid in Admin ConsoleLifeSciConfigRecord.IsActive = true| Config Name | Object | Type | Sync | WHERE Clause |
|---|---|---|---|---|
DbSchema_PresentationContent | PresentationContent | DATA | Unidirectional | (EffectiveStartDate = NULL OR EffectiveStartDate <= TODAY) AND EffectiveEndDate >= TODAY AND (TargetUserId = '{USER.ID}' OR TargetUserId = NULL) AND (TerritoryId = '{USER.TERRITORYID}' OR TerritoryId = NULL) |
DbSchema_PrstCntntUsageSummary | PrstCntntUsageSummary | DATA | Bidirectional | UserId = '{USER.ID}' AND PresentationContentId IN (SELECT Id FROM PresentationContent WHERE (EffectiveStartDate = NULL OR EffectiveStartDate <= TODAY) AND (EffectiveEndDate >= TODAY OR EffectiveEndDate = NULL) AND (TargetUserId = '{USER.ID}' OR TargetUserId = NULL) AND (TerritoryId = '{USER.TERRITORYID}' OR TerritoryId = NULL)) |
DbSchema_PrstCntntDefAssignment | PrstCntntDefAssignment | CONFIGURATION | Unidirectional | IsActive = true |
DbSchema_PrstContentDefinition | PrstContentDefinition | CONFIGURATION | Bidirectional | (none) |
The Briefings icon appears in the mobile app ONLY when BOTH:
PrstCntntDefAssignmentPresentationContent object| Flow ApiName | Type | Expected State |
|---|---|---|
SchdDlyBriefingsOfPrvdAcct | Original scheduling template (managed) | Should exist, NOT active |
| (admin's clone — any name) | Cloned scheduling flow | Should be ACTIVE with Daily frequency |
GenDailyBriefingsText | Text generation flow (managed) | Should exist, ACTIVE |
| Generate Provider Account Territory Summary | Account Summarization | Should exist, ACTIVE |
Important: The scheduling flow clone can have any label/ApiName the admin chooses. Do NOT search for it by name. Verify the pipeline outcome (PresentationContent records being generated) instead.
To generate the mobile metadata cache via API:
LifeSciMobileMetadataRecord with IntegrationStatus=New, Status=NewLifeSciMobileMetadataRecord with ParentMobileMetadataRecId=<parentId>, ProfileId=<profileId>, IntegrationStatus=New, Status=NewStatus=ValidationCompleted/services/data/v67.0/connect/life-sciences/commercial/metadata/actions/generate with body: {"parentMetadataRecordId":"<parentId>","apiVersion":"67.0","prefix":"lsc4ce"}Status=Active (takes 2-5 minutes, poll every 15s)The endpoint returns {"message":"Task enqueued for metadata cache generation."} on success. Status transitions: New → Loading → Processing → Active.
| Symptom | Most Likely Cause |
|---|---|
| Briefings icon not showing | PermissionsStoriesUser not enabled in any assigned perm set, OR profile not in Content Definition Assignment, OR no read access to PresentationContent |
| No audio playing | Scheduled flow hasn't run, or no PresentationContent records generated |
| "sObject type PresentationContent is not supported" | Briefings toggle is OFF OR admin user lacks StoriesAdmin permission. Verify with secondary check: SELECT Id FROM FlowDefinitionView WHERE Label LIKE '%Briefings%' — if flows exist, toggle is ON and the issue is permissions |
| Flow not found | Managed package (lsc4ce) not installed or wrong version |
| Briefings flows missing | Briefings toggle was recently enabled — flows appear after toggle ON |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub salesforcelabs/lsc-for-claude --plugin lsc39 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-Other plugins' skills for the same job