Skip to main content
skill CX Codex

netsuite-sdf-roles-and-permissions — Claude Code skill for NetSuite

Writes and reviews NetSuite SDF role XML and deployment permissions, returning exact permkey and permlevel values.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add oracle/netsuite-suitecloud-sdk --skill netsuite-sdf-roles-and-permissions -a claude-code
Open on GitHub

What netsuite-sdf-roles-and-permissions does

This skill answers NetSuite permission questions with concrete values instead of guesses. While you author customrole XML or review a <permkey> block in an SDF object, it resolves the exact internal ID and picks a matching access level.

Two references ship with it: references/permissions.json holds standard IDs and display-name aliases, and references/permission-index.md indexes them by category and business scenario. Standard permissions carry the prefixes ADMI_, LIST_, REGT_, REPO_ and TRAN_. Custom record permissions work differently — their permkey is a script ID such as customrecord_invoice_batch, so validate it against your project XML rather than the reference file.

Levels are meant to stay small: VIEW for reading and search, CREATE to add records without touching existing ones, EDIT to create and update, FULL to delete or administer broadly. The skill treats FULL as an exception you have to justify. For a script execution role it refuses to recommend the built-in Administrator for production, so any config leaning on that role is worth a second look. Each answer names the permkey, the level, why that level is enough, and flags where the skill inferred from a use case without confirming against project XML.

What it helps with

  • map a NetSuite UI permission label to its exact internal ID
  • pick the smallest permlevel for an integration role
  • tell a standard permission apart from a custom record script ID
  • strip duplicate <permkey> entries from one role definition
  • build a script execution role without the built-in Administrator

Example prompts for the agent

  • Generate customrole XML for a role that only needs to view sales orders
  • Check the <permkey> values in this SDF object and flag any that miss the reference
  • What permlevel does an integration role need to work with customer invoices?

How to install netsuite-sdf-roles-and-permissions

1Skills CLI (Vercel)

npx skills add oracle/netsuite-suitecloud-sdk --skill netsuite-sdf-roles-and-permissions -a claude-code

2Manually: put the files in place

~/.claude/skills/netsuite-sdf-roles-and-permissions/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/netsuite-sdf-roles-and-permissions/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about netsuite-sdf-roles-and-permissions

How do I install netsuite-sdf-roles-and-permissions in Claude?

Run npx skills add oracle/netsuite-suitecloud-sdk --skill netsuite-sdf-roles-and-permissions -a claude-code. The skill file then lands at ~/.claude/skills/netsuite-sdf-roles-and-permissions/SKILL.md.

What does netsuite-sdf-roles-and-permissions do?

It resolves exact permkey and permlevel values for NetSuite SDF roles and deployments, validates them against bundled references, and keeps recommendations at least privilege.

How do custom record permissions differ from standard ones?

Standard permissions live in references/permissions.json and use the ADMI_, LIST_, REGT_, REPO_ and TRAN_ prefixes. A custom record's permkey is its script ID, like customrecord_invoice_batch, so check it against your project XML.

Similar skills

Everything for Security →

From the same set7

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor