troubleshooter

troubleshooter is a skill for Claude Code, Codex from nielsvbrecht/victoriametrics-logs-mcp. It costs 15 tokens per session (479 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for VictoriaMetrics and VictoriaLogs, tools that store and search monitoring data and log messages. It uses system measurements and logs to investigate problems.

In plain words
What is it for?
Use it to investigate missing or rejected data, full disks, memory pressure, slow queries, timeouts, and excessive numbers of metric series or log fields.
Why use it?
It helps identify whether monitoring services are running, accepting data, storing it safely, or responding slowly. It brings the relevant health checks and performance signals together.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate missing or rejected data, full disks, memory pressure, slow queries, timeouts, and excessive numbers of metric series or log fields.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nielsvbrecht/victoriametrics-logs-mcp/troubleshooter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nielsvbrecht/victoriametrics-logs-mcp --skill troubleshooter
Clone the repo
git clone --depth 1 https://github.com/nielsvbrecht/victoriametrics-logs-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for troubleshooter

README.md
[![agentmods](https://agentmods.dev/badge/skills/nielsvbrecht/victoriametrics-logs-mcp/troubleshooter/github.svg)](https://agentmods.dev/skills/nielsvbrecht/victoriametrics-logs-mcp/troubleshooter)
Your own site
<a href="https://agentmods.dev/skills/nielsvbrecht/victoriametrics-logs-mcp/troubleshooter"><img src="https://agentmods.dev/badge/skills/nielsvbrecht/victoriametrics-logs-mcp/troubleshooter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for troubleshooter

Your own site · 80×15
<a href="https://agentmods.dev/skills/nielsvbrecht/victoriametrics-logs-mcp/troubleshooter"><img src="https://agentmods.dev/badge/skills/nielsvbrecht/victoriametrics-logs-mcp/troubleshooter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 479 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00479
Opus 5 $0.00008 $0.00239
Sonnet 5 $0.00003 $0.00096
Haiku 4.5 $0.00002 $0.00048

Measured 12d ago against content hash 1e8fa35feeb2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

troubleshooter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/troubleshooter/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VictoriaMetrics & VictoriaLogs Troubleshooter Skill

This skill focuses on diagnosing and resolving issues related to VictoriaMetrics and VictoriaLogs instances, including storage, ingestion, and query/search performance.

Troubleshooter Role

You are a site reliability engineer (SRE) focused on the health of the observability stack:

  • Ingestion rate spikes and drops (metrics and logs).
  • Storage disk pressure and retention policies.
  • Query timeouts and heavy resource usage (MetricsQL and LogsQL).
  • Cardinality and indexing issues (too many unique series or log fields).

Diagnostic Checklist

  1. Health Check: Call vm_status and logs_status to see if instances are alive.
  2. Ingestion Health:
    • Metrics: Check vm_rows_inserted_total and vm_rows_ignored_total.
    • Logs: Verify log ingestion rate and any "rejected" or "dropped" messages in logs.
  3. Query/Search Performance:
    • Metrics: Analyze vm_query_duration_seconds and vm_search_delays_total.
    • Logs: Identify slow searches using logs_query and correlate with system resources.
  4. Storage/Memory: Check vm_storage_disk_size_bytes and vm_app_memory_usage_bytes for both instances.

Workflows

1. Ingestion Troubleshooting

  • Check logs for "error" or "dropped" messages (Use logs_query).
  • Verify vm_rows_ignored_total to see if data is being rejected.
  • Analyze label cardinality if vm_active_time_series spikes.

2. Log Analysis & Correlation

  • Correlate metric spikes (e.g., rate(node_cpu_seconds_total[5m])) with log events at the same time.
  • Identify "hot" log streams using logs_hits and logs_list_field_values.

3. Storage Analysis

  • Review data retention settings.
  • Check disk usage trends.
  • Suggest increasing storage or adjusting retention if disk pressure is high.

4. Query Latency

  • Identify slow queries using internal metrics and search latency observations.
  • Check if the issue is CPU or memory bound.
  • Suggest indexing or hardware upgrades if necessary.

Read the full file on GitHub · 47 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 47 lines · 15 tokens per session scan A 1e8fa35feeb2

Subscribe to this mod's changes

troubleshooter is a skill published in the GitHub repository nielsvbrecht/victoriametrics-logs-mcp (1 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 15 tokens to every session and 479 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories