skills/newrelic-cli-skills/SKILL.md
Monitor, query, and manage New Relic observability data via the newrelic CLI. Covers NRQL queries, APM performance triage, deployment markers, alert policy and condition management, notification channel setup, infrastructure monitoring, and agent diagnostics. Use when user asks about application performance, error rates, slow transactions, deployment tracking, alert configuration, or New Relic setup.
npx skillsauth add kilo-org/kilo-marketplace newrelic-cli-skillsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Performance issue reported? → apm/SKILL.md
Need to query data with NRQL? → nrql/SKILL.md
Recording a deployment? → deployments/SKILL.md
Alert management? → alerts/SKILL.md
Infrastructure/host issues? → infrastructure/SKILL.md
Agent not reporting? → diagnostics/SKILL.md
# Install (manual or package manager)
# macOS (Homebrew)
brew install newrelic-cli
# Or manually download a release archive from:
# https://github.com/newrelic/newrelic-cli/releases
# Extract it, place the `newrelic` binary on your PATH, then verify with:
newrelic --version
# Configure profile
newrelic profile add \
--profile default \
--apiKey $NEW_RELIC_API_KEY \
--accountId $NEW_RELIC_ACCOUNT_ID \
--region US # or EU
newrelic profile default --profile default
# Verify
newrelic profile list
# Search for an entity by name
newrelic entity search --name "my-app"
# Run a NRQL query
newrelic nrql query --accountId $NEW_RELIC_ACCOUNT_ID \
--query "SELECT average(duration) FROM Transaction WHERE appName='my-app' SINCE 1 hour ago"
# Record a deployment
newrelic apm deployment create \
--applicationId <APP_ID> \
--revision "v1.2.3" \
--description "Feature: user auth"
# Run diagnostics
newrelic diagnose run
Find entity GUIDs (needed for API calls and deployment markers):
# List all APM apps
newrelic entity search --name "" --type APPLICATION --domain APM
# Get specific entity details
newrelic entity get --guid <GUID>
# List all hosts
newrelic entity search --name "" --type HOST
| Variable | Description |
|---|---|
| NEW_RELIC_API_KEY | User key (NRAK-...) |
| NEW_RELIC_ACCOUNT_ID | Numeric account ID |
| NEW_RELIC_REGION | US or EU |
| Sub-skill | When to use |
|---|---|
| apm/ | Performance triage, slow transactions, error analysis |
| nrql/ | Custom queries, dashboards, ad-hoc data exploration |
| deployments/ | Mark releases, correlate deploys with performance |
| alerts/ | Alert policies, conditions, notification channels |
| infrastructure/ | Host metrics, CPU/memory, process monitoring |
| diagnostics/ | Agent health, config validation, connectivity |
The package contains the six sub-skills listed above. It does not bundle helper scripts or a separate references directory. Use the inline CLI and NRQL examples in the relevant sub-skill, inspect newrelic --help for the installed CLI version, and adapt commands to the user's account and region.
development
Oracle Database guidance for SQL, PL/SQL, SQLcl, ORDS, administration, app development, performance, security, migrations, and agent-safe database workflows. Use when the user asks to write, edit, rewrite, review, format, debug, tune, or explain SQL; create or refactor PL/SQL; use SQLcl, Liquibase, ORDS, JDBC, node-oracledb, Python, Java, .NET, or database frameworks; troubleshoot queries, sessions, locks, waits, indexes, optimizer plans, AWR, ASH, migrations, schemas, users, roles, privileges, backup, recovery, Data Guard, RAC, multitenant, containers, monitoring, auditing, encryption, VPD, or safe agent database operations.
documentation
Patterns for reading and writing oleander Iceberg catalog tables in Spark jobs, including naming conventions, write modes, and catalog hierarchy.
data-ai
Integrate Okta for enterprise identity workflows including OIDC login, group claims, and policy-based access controls. Use when implementing workforce or B2B identity scenarios.
documentation
Use when arranging Apache NiFi processors, process groups, ports, comments, numbering, crossing connections, dense fan-in/fan-out, or reusable readable canvas layouts.