Skills as XML Definitions
This topic describes functionality available in NetSuite Next. NetSuite Next is being made available to customers in phases, so these features may not yet be available in your account. You'll receive in-app notifications when your account is eligible for NetSuite Next.
Use SuiteCloud Development Framework (SDF) to define and deploy a custom skill by adding an agentskill SDF custom object to a SuiteCloud project. The object identifies the skill and points to a File Cabinet folder that contains a SKILL.md file.
Custom Skill Definition
An SDF custom skill has two related components:
-
An
agentskillXML definition -
A skill content folder that contains
SKILL.md
The skillfolder element in the XML definition must refer to the skill content folder. The folder and its files must exist when you validate and deploy the SuiteCloud project.
The final name of the skill content folder must match the <name> value exactly, including capitalization. Store SKILL.md directly in that folder. The folder must be private, even if the skill is public. For more information, see the Folder Attributes section in Modifying SuiteCloud Project File and Folder Attributes in an XML Definition.
The following table lists the XML items that define the custom skill.
|
XML Item |
Description |
|---|---|
|
|
Identifies the |
|
|
Specifies the skill name. It must match the |
|
|
Specifies the user-facing name of the skill. If omitted, the |
|
|
Specifies the skill description. It must match the |
|
|
Specifies the File Cabinet folder that contains |
|
|
Limits the skill availability to selected internal roles. It can be set only by users with the Administrator role. It requires that the |
|
|
Indicates whether the skill is inactive. Use |
|
|
Indicates whether the skill is public. Users other than the owner can see a public skill only if they have the Agent Skill permission assigned to their role. It can be set to |
Skill Content in the Project
The location of the skill content folder depends on the SuiteCloud project type, as indicated in the following table.
|
Project Type |
Skill Content Location |
|
|---|---|---|
|
SuiteApp project |
The SuiteApp's directory |
|
|
account customization project (ACP) |
The |
|
The skill content folder must include a file named SKILL.md. The file must contain a Markdown instruction body for the skill that's not empty.
Skill Definition Validation
The skill is validated for the following during SuiteCloud project deployment:
-
The
skillfolderreference identifies an existing folder in the project. -
The final folder name matches the
namevalue exactly, including capitalization. -
The folder is private, even if the skill is public.
-
SKILL.mdis located directly in the referenced folder. -
The
nameanddescriptionvalues in the XML definition match the correspondingSKILL.mdfront-matter values exactly. -
The
SKILL.mdfile contains the instructions for the skill.
Skill XML Example
The following example defines an active custom skill in a SuiteApp project:
<agentskill scriptid="customskill_simple_test_skill">
<name>simple-test-skill</name>
<description>Tiny deterministic test skill for confirming skill discovery and invocation.</description>
<skillfolder>[/SuiteApps/com.netsuite.sdfskills/simple-test-skill/]</skillfolder>
<isinactive>F</isinactive>
<ispublic>F</ispublic>
</agentskill>
Here is the corresponding SKILL.md file for the preceding example:
---
name: simple-test-skill
description: Tiny deterministic test skill for confirming skill discovery and invocation.
---
Use this skill to confirm skill discovery and invocation.
Referencing Ask Oracle Core Skills in SDF Agent Definitions
Core skills are designed for NetSuite Next and may not be available or work as expected in the current NetSuite experience.
To associate a core skill with a custom SuiteAgent in an SDF project, add a skill entry to the skills element of the agent XML definition. In the definition element, use the uppercase SDF value of the core skill's script ID (which are listed in the table later in this section). For a custom skill, use a reference to its agentskill script ID in the form [scriptid=customskill_example]. If the custom skill is defined in the same project, include its agentskill XML definition and skill content folder when validating and deploying the project. A referenced core skill must be available in the target account.
For example, the following entries associate one core skill and one custom skill with an agent:
<skills>
<skill>
<definition>STDSKILL_PAYMENT-PRIORITIZATION</definition>
</skill>
<skill>
<definition>[scriptid=customskill_simple_test_skill]</definition>
</skill>
</skills>
The following table lists the available core skills and their script IDs. For more information about core skills, see Core Skills.
|
Core Skill Name |
Script ID |
|---|---|
|
Accounts receivable reconciliation |
|
|
Custom agent configuration |
|
|
Customer revenue segmentation churn |
|
|
Financial services industry overlay |
|
|
Fulfillment performance insights |
|
|
Inventory balance viewer |
|
|
Inventory exceptions review |
|
|
Inventory impact review |
|
|
Inventory movement insights |
|
|
Inventory optimization risk analysis |
|
|
Inventory optimization segmentation distribution |
|
|
Item creation assistant |
|
|
Match vendor credits to bills |
|
|
Narrative insights records |
|
|
Narrative insights reports |
|
|
Overdue customer analysis |
|
|
Payment prioritization |
|
|
Period close management |
|
|
Period close template planner |
|
|
Pricing configuration review |
|
|
Reconciliation file routing |
|
|
Review liquidity evidence |
|
|
Skill creator |
|
|
Supply chain persona based responses |
|
|
Vendor bill processing time |
|
|
Vendor concentration |
|
|
WO deviations |
|
|
Workflow manipulation |
|