newrelic-cli-alerts
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "newrelic-cli-alerts" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-47b1620f6239c990efb074ab07203b4e5c27b649f62453a8b6f128046923b857. Verify the upstream source and version against https://github.com/Kilo-Org/kilo-marketplace before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Manage New Relic alert policies, APM or NRQL conditions, notification channels, or unresolved incidents via the New Relic CLI. For setup and routing, use the parent skill newrelic-cli-skills.
Introduction source: third_party · Kilo-Org · 0.0.1 Reference
SkillPi interpretation
- Tasks
- This subskill should be used when managing New Relic alert policies, APM or NRQL conditions, notification channels, or open incidents with the New Relic CLI. Use the parent newrelic-cli-skills skill for setup and routing.
- Testing
- Not tested
Browse files
Frontmatter
name: "newrelic-cli-alerts"
description: "This subskill should be used when managing New Relic alert policies, APM or NRQL conditions, notification channels, or open incidents with the New Relic CLI. Use the parent newrelic-cli-skills skill for setup and routing."
metadata:
category: observability
source:
repository: "https://github.com/vince-winkintel/newrelic-cli-skills"
path: "alerts"
license_path: "LICENSE"Alert Management
Manage alert policies, conditions, and notification channels via CLI.
List Alert Policies
newrelic alerts policy list
Get a Policy
newrelic alerts policy get --policyId <ID>
Create a Policy
newrelic alerts policy create \
--name "My App - Performance" \
--incidentPreference "PER_CONDITION_AND_TARGET"
Incident preference options:
PER_POLICY— one incident per policy breachPER_CONDITION— one incident per conditionPER_CONDITION_AND_TARGET— most granular, one per condition+entity
Alert Conditions
List Conditions for a Policy
newrelic alerts conditions list --policyId <POLICY_ID>
Create an APM Metric Condition
newrelic alerts apmCondition create \
--policyId <POLICY_ID> \
--name "High Response Time" \
--type "apm_app_metric" \
--metric "response_time_web" \
--conditionScope "application" \
--violationCloseTimer 24 \
--threshold 2.0 \
--thresholdDuration 5 \
--thresholdOccurrences "ALL"
Delete a Condition
newrelic alerts conditions delete --conditionId <ID>
NRQL Alert Conditions
newrelic alerts nrqlCondition static create \
--policyId <POLICY_ID> \
--name "Error Rate > 5%" \
--query "SELECT percentage(count(*), WHERE error IS true) FROM Transaction WHERE appName='my-app'" \
--threshold 5 \
--thresholdDuration 5 \
--thresholdOccurrences "ALL" \
--violationTimeLimitSeconds 86400
Notification Channels
# List channels
newrelic alerts channel list
# Create email channel
newrelic alerts channel create \
--name "On-Call Email" \
--type email \
--configuration '{"recipients": "team@example.com", "include_json_attachment": false}'
View Open Incidents
newrelic nrql query --accountId $NEW_RELIC_ACCOUNT_ID --query "
SELECT *
FROM NrAiIncident
WHERE event = 'open'
SINCE 24 hours ago
LIMIT 20
"
Check Entity Alert Severity
newrelic entity search --name "my-app" --type APPLICATION --domain APM | \
jq '.[] | {name, alertSeverity}'
Severity values: NOT_CONFIGURED, NOT_ALERTING, WARNING, CRITICAL
Version history
-
skills-20261103210927-6c1b454
GitHub ↗
Original release notes
Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323
-
skills-20260928190452-ff51758
GitHub ↗
Original release notes
Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505
-
skills-20260924105536-d31110d
GitHub ↗
Original release notes
Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049
-
skills-20260923085113-cea285e
GitHub ↗
Original release notes
Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7
-
skills-20260922193956-97d7333
GitHub ↗
Original release notes
Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供完整的 New Relic 告警管理 CLI 操作覆盖
- 面向运维场景,解决明确的告警策略管理需求
Highlights
- 触发描述清晰,明确区分与父技能的职责边界
- 覆盖告警策略、条件、通知渠道等核心场景
Highlights
- 文档结构清晰,分章节组织
- 每个操作都提供完整命令示例和参数说明
Areas to improve
-
description写错位置 Reported severity: Minor
顶层 frontmatter 中 description 字段为空,实际描述内容写在 skill_body 内部
Recommendation: 建议将 description 内容移至顶层 frontmatter 的 description 字段中
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.