From co-dev
Query New Relic observability data or manage monitoring. Use when the user wants to run NRQL queries, check alerts, view incidents, analyze logs, get golden metrics, inspect entity health, check dashboards, view SLIs/SLOs, track deployments, monitor synthetics, check error rates, view throughput, or query any New Relic data.
npx claudepluginhub cloud-officer/claude-code-plugin-dev --plugin co-devThis skill is limited to using the following tools:
Query observability data, alerts, and application health.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Query observability data, alerts, and application health.
Prefer MCP tools (mcp__newrelic__*) when available. If MCP tools are not available (tool not found errors), fall back to the newrelic CLI.
| Operation | MCP Tool | CLI Fallback |
|---|---|---|
| Run NRQL query | mcp__newrelic__run_nrql_query | newrelic nrql query --query "..." |
| Natural language to NRQL | mcp__newrelic__nrql_from_natural_language | N/A (no CLI equivalent) |
| Get entity by GUID | mcp__newrelic__get_entity_by_guid | newrelic entity get --guid "..." |
| Search entities | mcp__newrelic__search_entities | newrelic entity search --name "..." |
| List alert conditions | mcp__newrelic__list_alert_conditions | newrelic alert condition list --policyId ... |
| Search incidents | mcp__newrelic__search_incidents | newrelic alert incident list |
| Analyze application logs | mcp__newrelic__analyze_application_logs | N/A (use NRQL via CLI) |
| Get golden metrics | mcp__newrelic__get_golden_metrics | N/A (use NRQL via CLI) |
Note: The newrelic CLI requires a User API key via newrelic profile add --name default --apiKey NRAK-... --accountId .... If neither the MCP nor CLI is available, inform the user and stop.
-- Error rate last hour
SELECT percentage(count(*), WHERE error IS true) FROM Transaction SINCE 1 hour ago
-- Response time percentiles
SELECT percentile(duration, 50, 95, 99) FROM Transaction SINCE 1 hour ago
-- Top errors
SELECT count(*) FROM TransactionError FACET error.message SINCE 1 day ago LIMIT 10
-- Deployment markers
SELECT * FROM Deployment SINCE 1 week ago
SINCE in NRQL queries to scope results