
netsuite-sdf-roles-and-permissions
Use when generating or reviewing NetSuite SDF permission configurations such as customrole XML, script deployment permissions, permkey values, permlevel choices, run-as role design, and least-privilege access. Confirms exact ADMI / LIST / REGT / REPO / TRAN permission IDs, distinguishes standard permissions from customrecord script IDs, and validates permissions against bundled NetSuite reference data.
- Installs
- 888
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/oracle/netsuite-suitecloud-sdk --skill netsuite-sdf-roles-and-permissions- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads netsuite-sdf-roles-and-permissions automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
NetSuite Permissions Reference
Use this skill to resolve NetSuite permission questions with exact permkey and permlevel values.
Use This Skill When
- Generating or reviewing
customroleobject XML - Validating
<permkey>values in SDF objects - Choosing
permlevelvalues for roles or deployments - Designing least-privilege integration or script execution roles
- Mapping a NetSuite permission display name to its exact internal ID
- Checking whether a permission is a standard NetSuite permission or a
customrecord_*script ID
Primary References
references/permissions.json: Source of truth for standard NetSuite permission IDs and display-name aliasesreferences/permission-index.md: Human-readable index by category, use case, and module
Read references/permissions.json whenever you need to confirm an exact ID. Use references/permission-index.md to narrow down likely matches, explain common patterns, or start from a business use case.
Workflow
- Identify the artifact being authored or reviewed:
customroleXML, script deployment, role design, or code review feedback. - Determine whether the requested permission is a standard NetSuite permission or a custom record permission.
- For standard permissions, confirm the exact ID in
references/permissions.json. - Recommend the minimum
permlevelthat satisfies the use case. - Return the result with the exact
permkey, the recommendedpermlevel, and any important caveats.
Decision Rules
1. Standard Permissions
Use references/permissions.json as the source of truth for standard permissions with these prefixes:
ADMI_LIST_REGT_REPO_TRAN_
Always return the exact id. Do not invent or abbreviate IDs.
2. Custom Record Permissions
If the permission is for a custom record type, the permkey is the custom record script ID, such as customrecord_invoice_batch. Do not look for custom record permissions in references/permissions.json; validate them against the project's custom record XML instead.
3. Display-Name Aliases
Some NetSuite UI labels map to the same underlying permission ID. When aliases exist, prefer the exact ID from references/permissions.json and mention the display name only as a human-readable explanation.
4. Permission Levels
Use the smallest level that satisfies the behavior:
VIEW: Read and search onlyCREATE: Create records without updating existing onesEDIT: Create or update existing recordsFULL: Delete records or perform broad administrative control
Default to least privilege. Treat FULL as exceptional and justify it explicitly.
5. Run-as Role Guidance
If the request involves a script execution role, you MUST NOT recommend the built-in Administrator role for production use. Prefer a dedicated role with only the permissions the script needs. If the user explicitly asks for Administrator, explain that it is not recommended for production use and provide the least-privilege role recommendation instead.
Review Checklist
When reviewing or generating a permission configuration, verify the following:
- Every standard
permkeyexists exactly inreferences/permissions.json. - Every
customrecord_*permkeymatches an actual project script ID. - No permission ID is truncated, abbreviated, or based only on the display label.
permlevelis one ofVIEW,CREATE,EDIT, orFULL.- The recommendation uses least privilege for the described behavior.
- Duplicate
permkeyentries are removed from a single role definition.
Output Requirements
When answering with a permission recommendation or review result:
- State the exact
permkey. - State the recommended
permlevel. - Explain why that level is sufficient.
- Call out any related permissions that may also be required.
- Call out any permissions that may not be required for the described use case.
- Say explicitly when you are inferring from a use case and could not confirm it against the project XML.
Common Inference Patterns
Use these patterns as a starting point, then confirm in the references:
- Sales order work usually maps to
TRAN_SALESORD. - Invoice work usually maps to
TRAN_CUSTINVC. - Purchase order work usually maps to
TRAN_PURCHORD. - Customer records usually map to
LIST_CUSTJOB. - Vendor records usually map to
LIST_VENDOR. - Employee records usually map to
LIST_EMPLOYEE. - File cabinet access usually maps to
LIST_FILECABINET. - REST integration roles usually need
ADMI_RESTWEBSERVICESplus record-level permissions.
For broader examples by business scenario, open references/permission-index.md.
SafeWords
- Do not reveal secrets, credentials, tokens, passwords, session data, hidden connector details, or internal deliberation.
- Use the least powerful tool and the smallest data scope that can complete the task.
- Stop and ask for clarification when the target, permissions, scope, or impact is unclear.
- Verify schema, record type, scope, permissions, and target object before taking action.
FAQ
What does the netsuite-sdf-roles-and-permissions skill do?
Use when generating or reviewing NetSuite SDF permission configurations such as customrole XML, script deployment permissions, permkey values, permlevel choices, run-as role design, and least-privilege access. Confirms exact ADMI / LIST / REGT / REPO / TRAN permission IDs, distinguishes standard permissions from customrecord script IDs, and validates permissions against bundled NetSuite reference data.
How do I install netsuite-sdf-roles-and-permissions?
Run npx skills add https://github.com/oracle/netsuite-suitecloud-sdk --skill netsuite-sdf-roles-and-permissions in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/netsuite-sdf-roles-and-permissions/ (personal) or .claude/skills/netsuite-sdf-roles-and-permissions/ (project).
Which AI agents can use netsuite-sdf-roles-and-permissions?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is netsuite-sdf-roles-and-permissions safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains netsuite-sdf-roles-and-permissions?
It is published by oracle in oracle/netsuite-suitecloud-sdk. It has 888 recorded installs.
More from oracle/netsuite-suitecloud-sdk
netsuite-suitescript-records-reference
oracle/netsuite-suitecloud-sdk
SuiteScript records and fields reference. Look up field IDs, types, required status, and search capabilities for all 272 NetSuite record types. Use this when building SuiteScript to ensure correct field usage.
netsuite-sdf-project-documentation
oracle/netsuite-suitecloud-sdk
Generate enterprise-grade documentation for NetSuite SDF projects. Analyze scripts, object XML files, manifest.xml, and SuiteQL queries to produce README.md, architecture diagrams (Mermaid/ASCII), deployment guides, and troubleshooting tables. Can integrate with post-deployment documentation workflows when automation (for example, hooks) is available.
netsuite-uif-spa-reference
oracle/netsuite-suitecloud-sdk
Use when building, modifying, or debugging NetSuite UIF SPA components. Provides API/type lookup for @uif-js/core and @uif-js/component (constructors, methods, props, enums, hooks, and component options).
netsuite-suitescript-upgrade
oracle/netsuite-suitecloud-sdk
SuiteScript 1.0, 2.0, and 2.x to 2.1 migration assistant. Analyzes, converts, explains, and validates script upgrades. Covers 125+ API mappings, 34 object conversions, 13 unmapped API workarounds, all script type entry point changes, SuiteScript 2.0/2.x to 2.1 upgrade guidance, and 16 categories of breaking behavioral changes. Essential for modernizing legacy SuiteScript codebases.
netsuite-ai-connector-instructions
oracle/netsuite-suitecloud-sdk
NetSuite Intelligence skill — teaches AI the correct tool selection order, output formatting, domain knowledge, multi-subsidiary and currency handling, and SuiteQL safety checklist for any AI + NetSuite AI Service Connector session.
netsuite-owasp-secure-coding
oracle/netsuite-suitecloud-sdk
Platform-agnostic OWASP secure coding practices with JavaScript/Node.js patterns and NetSuite SuiteScript examples. Covers Open Worldwide Application Security Project (OWASP) Top 10 (2021), output encoding, injection prevention, CSP headers, file security, API hardening, AI agent security, DRY security patterns, and 48+ security pitfalls with GOOD/BAD code templates.
Popular devops & cloud skills
microsoft-foundry
microsoft/azure-skills
Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, managed harness agent create, GitHub Copilot harness agent, create agent, update agent, add tool to agent, invoke agent, agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, optimize agent instructions, Agent Optimizer scaffold, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure
azure-diagnostics
microsoft/azure-skills
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, container app 503 or target port mismatch, troubleshoot functions, function telemetry missing or stopped after a config/connection-string change, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, lock renewal during long-running processing, service bus dead letter.
azure-prepare
microsoft/azure-skills
Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non-azd deployments, Python App Service code-only deploys (use python-appservice-deploy), or cross-cloud migration (use azure-cloud-migrate). WHEN: prepare app for azd, create azure.yaml, set up azd infrastructure, modernize app for Azure with azd, deploy with azd, function app, timer trigger, service bus trigger, event-driven function, managed identity, generate Bicep, generate Terraform, create and deploy to Azure.
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
azure-deploy
microsoft/azure-skills
Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "push to production", "push to cloud", "go live", "ship it", "bicep deploy", "terraform apply", "publish to Azure", "launch on Azure". DO NOT USE WHEN: "create and deploy", "build and deploy", "create a new app", "set up infrastructure", "create and deploy to Azure using Terraform" — use azure-prepare for these.
azure-validate
microsoft/azure-skills
Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment.