Agent skill

Newrelic CLI Nrql

by Kilo-Org in Kilo-Org/kilo-marketplace

This subskill should be used when composing or running ad hoc NRQL queries for New Relic telemetry, facets, time windows, rates, and comparisons.

Apache-2.0Auto-check passedDevOps & Cloud

Install Newrelic CLI Nrql

skills CLI
$ npx skills add Kilo-Org/kilo-marketplace --skill newrelic-cli-nrql -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Kilo-Org/kilo-marketplace newrelic-cli-nrql --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/newrelic-cli-skills/nrql .claude/skills/newrelic-cli-nrql && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
newrelic-cli-nrql
GitHub stars
190
Token cost
~821 tokens
SKILL.md length
93 words
Files
1
Skills in repo
85
Repo updated
First seen
Licence
Apache-2.0

At a glance

This subskill should be used when composing or running ad hoc NRQL queries for New Relic telemetry, facets, time windows, rates, and comparisons.

  • Tasks that involve Monitoring and alerting
  • SKILL.md covers Basic Syntax, Key Event Types, Common Patterns and Time Range Shortcuts, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Newrelic CLI Nrql is an agent skill from Kilo-Org/kilo-marketplace. This subskill should be used when composing or running ad hoc NRQL queries for New Relic telemetry, facets, time windows, rates, and comparisons. Use newrelic-nrql-debug-ladder instead for failing, empty, or schema-mismatched queries.

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Monitoring and alerting. It works with New Relic. The repository describes itself as: Kilo Marketplace - A curated collection of Skills, MCP Servers, and Modes for enhancing AI agent capabilities across the Kilo ecosystem—including Kilo Code (VS Code extension)… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Monitoring and alerting

Example prompts

  • “/newrelic-cli-nrql”

What it can do on your machine

Read from SKILL.md and the folder at commit ff51758. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are nrql and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Newrelic CLI Nrql loads about 821 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 93 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~821

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Kilo-Org/kilo-marketplace at commit ff51758, republished under its Apache-2.0 licence (© Kilo-Org). 93 words, ~821 tokens.

Download SKILL.mdSave it as .claude/skills/newrelic-cli-nrql/SKILL.md (or your agent's skills folder).
name
newrelic-cli-nrql
description
This subskill should be used when composing or running ad hoc NRQL queries for New Relic telemetry, facets, time windows, rates, and comparisons. Use newrelic-nrql-debug-ladder instead for failing, empty, or schema-mismatched queries.
metadata.category
observability

NRQL Queries

Run ad-hoc NRQL queries against your New Relic account.


Basic Syntax

bash
newrelic nrql query \
  --accountId $NEW_RELIC_ACCOUNT_ID \
  --query "YOUR NRQL HERE"

Key Event Types

Event TypeWhat it tracks
TransactionWeb/non-web request timings
TransactionErrorExceptions and errors
DatabaseTraceIndividual DB query timings
ExternalTraceOutbound HTTP calls
SystemSampleHost CPU, memory, disk
ProcessSamplePer-process metrics
LogLog lines (if log forwarding enabled)
PageViewBrowser page load events
JavaScriptErrorFront-end JS errors

Common Patterns

Response Time
nrql
SELECT average(duration), percentile(duration, 95, 99)
FROM Transaction
WHERE appName = 'my-app'
TIMESERIES 5 minutes
SINCE 1 hour ago
Error Rate
nrql
SELECT percentage(count(*), WHERE error IS true) AS 'Error %'
FROM Transaction
WHERE appName = 'my-app'
TIMESERIES 5 minutes
SINCE 1 hour ago
Throughput (RPM)
nrql
SELECT rate(count(*), 1 minute) AS 'RPM'
FROM Transaction
WHERE appName = 'my-app'
TIMESERIES
SINCE 1 hour ago
Slowest Endpoints
nrql
SELECT average(duration)
FROM Transaction
WHERE appName = 'my-app'
FACET name
SINCE 1 hour ago
LIMIT 10
ORDER BY average(duration) DESC
DB Bottlenecks
nrql
SELECT average(duration), count(*)
FROM DatabaseTrace
WHERE appName = 'my-app'
FACET statement
SINCE 1 hour ago
LIMIT 10
ORDER BY average(duration) DESC
Compare Two Time Windows
nrql
SELECT average(duration)
FROM Transaction
WHERE appName = 'my-app'
SINCE 1 hour ago
COMPARE WITH 1 day ago
Count Errors by Type
nrql
SELECT count(*)
FROM TransactionError
WHERE appName = 'my-app'
FACET error.class
SINCE 1 hour ago
Host CPU
nrql
SELECT average(cpuPercent)
FROM SystemSample
FACET hostname
TIMESERIES 5 minutes
SINCE 1 hour ago
Host Memory
nrql
SELECT average(memoryUsedPercent)
FROM SystemSample
FACET hostname
TIMESERIES 5 minutes
SINCE 1 hour ago

Time Range Shortcuts

SINCE 30 minutes ago
SINCE 1 hour ago
SINCE 3 hours ago
SINCE 1 day ago
SINCE 1 week ago
SINCE '2026-02-01 00:00:00' UNTIL '2026-02-02 00:00:00'

Useful Clauses

nrql
FACET name          -- group by field
TIMESERIES 5 min    -- time series chart
LIMIT 20            -- max results
ORDER BY count() DESC
COMPARE WITH 1 day ago
WHERE appName = 'x' AND duration > 1

Output Formatting

bash
# Raw JSON
newrelic nrql query --accountId $NEW_RELIC_ACCOUNT_ID \
  --query "SELECT count(*) FROM Transaction SINCE 1 hour ago" \
  --format json

# Pretty table (default)
newrelic nrql query --accountId $NEW_RELIC_ACCOUNT_ID \
  --query "SELECT count(*) FROM Transaction SINCE 1 hour ago"

© Kilo-Org, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/newrelic-cli-skills/nrql of Kilo-Org/kilo-marketplace.

Open the folder on GitHubat commit ff51758

Compare with similar skills

Newrelic CLI Nrql next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Newrelic CLI Nrql compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Newrelic CLI Nrql this skillKilo-Org/kilo-marketplace190—~821Automated safety check: PassApache-2.0
Ops MonitorLifecycle-Innovations-Limited/claude-ops5401 repos~1.5kAutomated safety check: NotesMIT
Sentry Migration Deep Divejeremylongshore/tons-of-skills-marketplace2.8k—~2.6kAutomated safety check: NotesMIT
Sentry Observabilityjeremylongshore/tons-of-skills-marketplace2.8k—~3.7kAutomated safety check: PassMIT
Mz Release SignoffMaterializeInc/materialize6.4k—~7.2kAutomated safety check: PassCustom licence
Axiom Alerting Managementopenclaw/clawhub9.5k—~2.1kAutomated safety check: PassMIT

Similar skills

  • Ops Monitor

    Lifecycle-Innovations-Limited/claude-ops

    OPS on-demand: This skill should be used when the user asks to "datadog", "APM alerts", or…

    540 GitHub starsUsed in 1 repo~1.5k tokens
    DevOps & CloudAuto-check: notes
  • Sentry Migration Deep Dive

    jeremylongshore/tons-of-skills-marketplace

    Migrate to Sentry from other error tracking tools like Rollbar, Bugsnag, or New Relic.

    2.8k GitHub stars~2.6k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Sentry Observability

    jeremylongshore/tons-of-skills-marketplace

    Integrate Sentry with your observability stack — logging, metrics, APM, and dashboards.

    2.8k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Mz Release Signoff

    MaterializeInc/materialize

    Verify a release candidate on the Grafana dashboards and sign off in release.

    6.4k GitHub stars~7.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Creates and manages Axiom monitors and notifiers end to end through the v2 API, with scripts for each CRUD operation and a recommended create-validate-tune workflow.

    9.5k GitHub stars~2.1k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • KubeEye Cluster Inspection

    kubesphere/kubesphere

    Deploys KubeEye on KubeSphere and writes InspectRule and InspectPlan resources to inspect cluster health, then retrieves the inspection reports.

    17k GitHub stars~3.6k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed

More from Kilo-Org/kilo-marketplace

All 85 skills in this repo
  • AzureML Project Scaffolding

    Kilo-Org/kilo-marketplace

    Sets up and maintains AzureML-ready Python projects as uv workspaces with devcontainers, a Makefile and job YAML, so local runs match cloud jobs and experiments stay reproducible.

    190 GitHub stars~3.1k tokensUpdated 10 days ago
    Auto-check: notes
  • Jupyter Notebook Builder

    Kilo-Org/kilo-marketplace

    Creates, inspects, edits and runs Jupyter notebooks, scaffolding experiment or tutorial notebooks from templates and preferring a Jupyter MCP server over raw JSON edits.

    190 GitHub stars~1.3k tokensUpdated 10 days ago
    Auto-check passed
  • Tableau Dashboard Creator

    Kilo-Org/kilo-marketplace

    Takes a plain-language dashboard request through brand setup, data exploration, planning, an interactive HTML mock and a Tableau implementation spec.

    190 GitHub stars~3.8k tokensUpdated 10 days ago
    Auto-check: notes
  • Elasticsearch File Ingest

    Kilo-Org/kilo-marketplace

    Ingest and transform data files (CSV/JSON/Parquet/Arrow IPC) into Elasticsearch with stream processing and custom transforms.

    190 GitHub stars~2.8k tokensUpdated 10 days ago
    Auto-check passed
  • Nifi Flow Layout

    Kilo-Org/kilo-marketplace

    A skill your agent uses when arranging Apache NiFi processors, process groups, ports, comments, numbering, crossing connections, dense fan-in/fan-out, or reusable readable canvas layouts.

    190 GitHub stars~1.5k tokensUpdated 10 days ago
    Auto-check passed
  • Splunk Ingest Processor Setup

    Kilo-Org/kilo-marketplace

    Render Cisco Data Fabric ingest-time routing workflows and Splunk Cloud Platform Ingest Processor setup plans with SPL2 pipelines, source types, destinations, lifecycle handoffs, queue and…

    190 GitHub stars~1.2k tokensUpdated 10 days ago
    Auto-check passed

Works with

Categories

Questions about Newrelic CLI Nrql

What does Newrelic CLI Nrql do?

This subskill should be used when composing or running ad hoc NRQL queries for New Relic telemetry, facets, time windows, rates, and comparisons. Newrelic CLI Nrql is an agent skill from Kilo-Org/kilo-marketplace. This subskill should be used when composing or running ad hoc NRQL queries for New Relic telemetry, facets, time windows, rates, and comparisons.

When should I use Newrelic CLI Nrql?

Newrelic CLI Nrql fits situations like: tasks that involve Monitoring and alerting.

How do I install Newrelic CLI Nrql in Claude Code?

Run `npx skills add Kilo-Org/kilo-marketplace --skill newrelic-cli-nrql -a claude-code`. Or copy the skill folder (skills/newrelic-cli-skills/nrql in Kilo-Org/kilo-marketplace) into .claude/skills/newrelic-cli-nrql in your project. Claude Code loads it when a task matches its description.

How do I install Newrelic CLI Nrql in Codex?

Run `npx skills add Kilo-Org/kilo-marketplace --skill newrelic-cli-nrql -a codex`. Or copy the skill folder (skills/newrelic-cli-skills/nrql in Kilo-Org/kilo-marketplace) into .agents/skills/newrelic-cli-nrql in your project. Codex loads it when a task matches its description.

Can I use Newrelic CLI Nrql in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kilo-Org/kilo-marketplace --skill newrelic-cli-nrql -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/newrelic-cli-nrql, .gemini/skills/newrelic-cli-nrql, .github/skills/newrelic-cli-nrql and .opencode/skills/newrelic-cli-nrql in your project.

What does Newrelic CLI Nrql need to run?

SKILL.md names no scripts, command-line tools or credentials: Newrelic CLI Nrql is instructions for the agent only.

Does Newrelic CLI Nrql access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Newrelic CLI Nrql safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Newrelic CLI Nrql use?

Newrelic CLI Nrql is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Newrelic CLI Nrql use?

About 821 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Newrelic CLI Nrql?

Skills that share tags, products or a category with Newrelic CLI Nrql: Ops Monitor (Lifecycle-Innovations-Limited/claude-ops, 540 stars), Sentry Migration Deep Dive (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Sentry Observability (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Mz Release Signoff (MaterializeInc/materialize, 6.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Newrelic CLI Nrql?

Kilo-Org (a GitHub organization) maintains it in Kilo-Org/kilo-marketplace, which has 190 GitHub stars. The repository holds 85 skills in this directory. The repository was last updated on September 28, 2026.

Source: Kilo-Org/kilo-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.