/netsuite:suiteql-queriesfrom netsuite
Runs read-only SuiteQL queries against NetSuite data and discovers queryable fields/joins via metadata. Useful for ad-hoc questions not covered by reports or saved searches.
Ships in netsuite. 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.
SuiteQL is NetSuite's SQL-like query language over its record data —
SELECT statements with WHERE, JOIN, ORDER BY, and similar clauses,
scoped to whatever the connected role can see. It's the right tool when a
question needs custom filtering or joins that no existing report or saved
search already provides.
reports-and-saved-searches instead of re-deriving something NetSuite
has already computed.records-and-metadata; ns_getRecord is simpler than a SuiteQL query
for a single record by ID.ns_runCustomSuiteQL is documented by Oracle as accepting read-only
queries only — write statements are not a workaround this skill
supports, or one NetSuite will honor.api-patterns.SuiteQL queries NetSuite's underlying record tables (which broadly mirror
record types like customer, transaction, item) using SQL syntax.
It's a subset of SQL, not full ANSI SQL — some familiar constructs may not
be supported. Query results respect the connected role's view permissions
the same way direct record retrieval and reports do.
The confirmed read tool family for this domain:
ns_runCustomSuiteQL — runs a custom SuiteQL query (Oracle's
documentation states explicitly: read-only queries only)ns_getSuiteQLMetadata — retrieves metadata for records queryable via
SuiteQL, including available fields, data types, and joinable fields;
can be scoped to a specific record typeBoth are documented by Oracle at Available Tools in the MCP Standard Tools SuiteApp.
ns_runCustomSuiteQL with a targeted SELECT id, ... FROM <type> WHERE ...records-and-metadata's ns_getRecord if a
full record retrieval is needed nextns_getSuiteQLMetadata for the record type in question, to confirm
real field names and available joinsreports-and-saved-searches first — don't re-derive what NetSuite
already computes)SELECT * against a large table (e.g.
transaction) is a way to exhaust rate limits and return far more data
than the question needs — prefer explicit columns and a WHERE clause.ns_getSuiteQLMetadata rather than guessing from what a field is called
on screen.ns_runCustomSuiteQL itself is documented as
read-only-queries-only — but this plugin does not independently verify
that constraint; it is Oracle's own stated behavior. See
GOVERNANCE.md.What SKILL.md sets; muted values are Claude Code's defaults
When you need to query NetSuite data with custom criteria that no existing report or saved search covers, or when you need to know what fields and joins a record type supports for SuiteQL. Use when: suiteql, netsuite query, netsuite sql, ad hoc query, netsuite join, or netsuite field metadata.
Three short reads, in order
suiteql, netsuite, sql-queries, ad-hoc-queries, netsuite-metadata
4 skills in this plugin
/api-patternsNetSuite API PatternsNetSuite MCP fundamentals for this plugin: OAuth 2.0 Client Credentials (JWT-bearer) machine-to-machine auth brokered through Conduit, the per-tenant vendor-hosted MCP endpoint model, generic error handling, and how NetSuite's own role-based permissions — not this plugin — enforce the read-only posture.
/records-and-metadataNetSuite Records & MetadataRetrieving individual NetSuite records by type and internal ID, and discovering a record type's available fields via record-type metadata. Read-only — retrieving existing records, not creating or updating them.
/reports-and-saved-searchesnpx claudepluginhub wyre-ai/msp-claude-plugins --plugin netsuiteOther plugins' skills for the same job