npx skills add ...
npx skills add forcedotcom/sf-skills --skill getting-datacloud-schema
Retrieve Data Lake Object (DLO) and Data Model Object (DMO) schema information from Salesforce Data Cloud using REST APIs. Use this skill when you need to inspect DLO or DMO field definitions, data types, or metadata. Takes org alias and optional DLO/DMO name as parameters.
npx skills add forcedotcom/sf-skills --skill getting-datacloud-schema
This skill retrieves Data Lake Object (DLO) and Data Model Object (DMO) schema information from Salesforce Data Cloud using the SSOT REST API. It can list all DLOs or DMOs in an org, or retrieve detailed schema for a specific DLO or DMO.
First, run sf org list to find out which org is connected and extract the alias to use for all subsequent calls:
Example output:
Extract the Alias value (e.g., myorg) from the output and use it as the <org_alias> for all subsequent calls. Use --all to see expired and deleted scratch orgs as well.
Before making API calls, verify the org is connected:
If not connected, inform user to run:
The Python scripts are bundled with this skill. They live in the scripts/ subdirectory of the same directory that contains this SKILL.md file. Use the absolute path to that directory — do NOT use ./scripts/ as that resolves relative to the current working directory, not the skill directory.
To list all DLOs:
To get specific DLO schema:
To list all DMOs:
To get specific DMO schema:
Parse and present the results in a user-friendly format:
For DLO List:
For DLO Schema:
For DMO List:
For DMO Schema:
After displaying results, suggest relevant follow-up actions:
Response structure:
Response structure (same as individual object in list response, but wrapped in paginated format).
Response structure:
Response structure (same as individual object in list response, but wrapped in paginated format).
Common Issues:
Org not connected
DLO not found
DMO not found
Permission issues
API version mismatch
Example 1: List all DLOs
Example 2: Get specific DLO schema
Example 3: Explore DLOs then get schema
Example 4: List all DMOs
Example 5: Get specific DMO schema
Example 6: Explore DMOs then get schema
__dll suffix__dlm suffix__c suffix