/vmanomaly:vmanomaly-presetfrom vmanomaly
Discovers VictoriaMetrics signals and assembles a vmanomaly preset with configuration, alert rules, dashboards, and deployment form. Use when anomaly detection queries are unknown.
Ships in vmanomaly. 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.
Read when SKILL.md points to them; scripts run unread.
Deliver a small, reproducible monitoring bundle. Start with the customer's authorized datasource/tenant, service scope, detection intent and deployment preference. Infer metric properties from data; ask only for business constraints or destinations that cannot be inferred. This workflow does not authorize deployment, remote dashboard updates or alert delivery.
For MCP/Copilot delivery, follow the versioned preset completion guide, the canonical source of the compact guide distributed by MCP. It defines the bounded autotune and holdout quality check, file-generation completion, missing-destination handling and workspace-preview boundaries.
__name__ values, then relevant label names/values. Metric prefixes are clues, not proof of semantics. Do not enumerate tenants. Read recipes for the selected domain; check every referenced metric and label before constructing a query.fit_every otherwise inherits inference cadence.When deployment and storage choices are known, generate the complete bundle once. Only when choices are missing, generate base config/alerts first and ask for the missing Compose/Helm/Operator or persistent state/RAM preference, following the completion guide. Request deployment artifacts only through a tool schema that supports them; preserve its complete file list. Recommend explicit one-week inactive-model retention for new online presets, with a five-minute check interval only when below ttl and every scheduler’s fit_every; reduce it for refits at five minutes or less and preserve valid user overrides. Never change runtime defaults or treat TTL as a hard capacity limit.
For recommendation requests, use a .invalid destination only when the writer URL is unknown and mark writer.datasource_url as required. Preserve a known writer URL; if only tenant/topology is unresolved, mark only writer.tenant_id. If both are unknown, mark both fields, as described in the completion guide. Never probe placeholders or silently reuse reader tenants. For deployment-ready requests, resolve writer settings first. For deployment-ready output, use explicit reader and writer URLs with confirmed topology/tenants; vmalert must read the destination containing scores, which may differ from the input datasource. Use file/secret references, not inline credentials. Give model/scheduler aliases or the supported metric prefix deployment-specific identities when sharing an output tenant.
Generate configuration and alert rules with the artifact API. It owns runtime mappings and output labels. Preserve returned config/alert YAML intact, including comments and draft requirements; after any setting change regenerate and validate the complete matching pair rather than patching selected output sections. Supply the external incident URL and exact entity label names discovered from query results; no entity labels means a query-group investigation. Preserve the full joint query key. Use alert persistence deliberately; for is not a count of independent points.
Obtain the anomaly-score and self-monitoring dashboard JSON from an approved pinned source or the user's installation. Record their SHA-256 values and provenance. Do not fetch mutable latest assets or require access to a private repository. An available Grafana tool may supply existing JSON and datasource UIDs; publishing remains a separate authorized action.
From the installed skill directory, install scripts/requirements.txt into your Python environment (python3 -m pip install -r scripts/requirements.txt), then run scripts/render_bundle.py with the artifact response, deployment specification and two dashboard files. See bundle inputs and checks. The helper uses ruamel.yaml for safe YAML 1.2 parsing, writes only to a new directory and performs no network operations. It preserves dashboard queries and adapts only supported variables and metadata. Custom output suffixes and arbitrary dashboard rewrites require manual adaptation.
Validate in layers and report each outcome: schema, query/history, sizing, deployment rendering, live startup, rule evaluation, incident navigation and dashboard queries. A generated or schema-valid bundle is not live-tested. If all selected signals are static, deliver static rules with provenance and explain that no vmanomaly deployment is needed; do not fabricate an ML workload.
Include selected and rejected queries with reasons, evidence window/step/timezone, topology, resource assumptions, exact artifact versions, unresolved inputs and validation results. Retain backend warnings. Document unknown history, empty groups, unsupported recipes and deployment checks still pending. Do not promise false-positive rates from unlabeled data or schedule ongoing reviews as part of this skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub victoriametrics/skills --plugin vmanomaly5 skills in this plugin
/vmanomaly-configDesign, tune, validate, and test VictoriaMetrics vmanomaly configurations for known metrics or LogsQL queries. Use when choosing static alerting versus ML, selecting a vmanomaly model, configuring Temporal Envelope, building deployment YAML, tuning anomaly sensitivity, or creating VMAlert rules. Trigger on anomaly configuration, model selection, shared autotune, seasonal anomaly detection, forecasting, or "how should I monitor this metric?" Do not use for open-ended discovery across unknown signals.
/vmanomaly-queryOperate VictoriaMetrics Anomaly Detection (vmanomaly) through its HTTP API. Use when checking health, versions, persisted-state compatibility, self-monitoring metrics, available models, model schemas, server queries, time-series characteristics, shared autotune, or asynchronous detection tasks. Also use for generating and validating vmanomaly configuration or alert-rule YAML. Triggers on vmanomaly API, anomaly tasks, model validation, model schema, compatibility, Temporal Envelope, time-series profiling, and vmanomaly autotune.
/vmanomaly-reviewAudit an existing VictoriaMetrics vmanomaly configuration against runtime capabilities and real data. Use when reviewing model-data fit, scheduler cadence, persisted-state compatibility, cold start, excessive detections, missing anomalies, output cardinality, or upgrade readiness. Trigger on vmanomaly config review, false-positive investigation, detection quality, model effectiveness, compatibility, and "is my anomaly detection working?" Use vmanomaly-config instead when building a new configuration from scratch.
/vmanomaly-sizingEstimate vmanomaly deployment CPU, RAM and disk for a known workload, or approximate inference capacity for fixed resources. Use for deployment sizing, maximum active time-series questions, RAM-versus-disk comparisons, or suspected OOM during fitting. Not for forecasting a monitored metric's capacity or selecting anomaly models.
Other plugins' skills for the same job