okteto-debugging

okteto-debugging is a skill for Claude Code from okteto/okteto-agent-skills. It costs 151 tokens per session (2,857 once invoked), scanned A, original, Apache-2.0.

A troubleshooting procedure for unhealthy Okteto environments. Okteto runs development services in a cluster, and this procedure uses cluster inspection commands to find why a service is failing.

In plain words
What is it for?
Use it when services crash, restart, fail to deploy, remain pending or unready, or show errors such as CrashLoopBackOff or OOMKilled.
Why use it?
It follows evidence from connection status, service details, logs, and events instead of guessing, while keeping diagnosis read-only until an appropriate Okteto workflow is used for changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the okteto plugin — 4 skills, 2 commands, 2 hooks shipped together

Good fit Use it when services crash, restart, fail to deploy, remain pending or unready, or show errors such as CrashLoopBackOff or OOMKilled.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/okteto/okteto-agent-skills/okteto-debugging
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 okteto/okteto-agent-skills --skill okteto-debugging
Clone the repo
git clone --depth 1 https://github.com/okteto/okteto-agent-skills

Made for: Claude Code.

Or install okteto, the plugin that ships this one along with the rest of its 4 skills, 2 commands, 2 hooks.

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 okteto-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/okteto/okteto-agent-skills/okteto-debugging/github.svg)](https://agentmods.dev/skills/okteto/okteto-agent-skills/okteto-debugging)
Your own site
<a href="https://agentmods.dev/skills/okteto/okteto-agent-skills/okteto-debugging"><img src="https://agentmods.dev/badge/skills/okteto/okteto-agent-skills/okteto-debugging/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 okteto-debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/okteto/okteto-agent-skills/okteto-debugging"><img src="https://agentmods.dev/badge/skills/okteto/okteto-agent-skills/okteto-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,857 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.00151 $0.02857
Opus 5 $0.00076 $0.01429
Sonnet 5 $0.00030 $0.00571
Haiku 4.5 $0.00015 $0.00286

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

Security

Grade A, and why

okteto-debugging 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 9d 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.

plugins/okteto/skills/okteto-debugging/SKILL.md · 274 lines

How it starts

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

Okteto Environment Debugger

This skill triages broken Okteto environments. When a service is misbehaving, run through the triage algorithm below, apply the matching playbook, and emit a structured diagnosis. Do not guess — always let the command output drive the conclusion.

Diagnostics are read-only: kubectl get, kubectl describe, kubectl logs, and kubectl get events are fine here. Never mutate the cluster with raw kubectl/helm — fixes go through okteto build and okteto deploy (see the okteto skill for lifecycle operations, worktree isolation, and teardown rules).

Triage algorithm

Run these steps in order. Stop at the first step that identifies the failure.

Step 1: Verify connectivity and pin the namespace

okteto context show

If this fails, the user is disconnected from the cluster. Stop and help them reconnect (okteto context use <url>) before proceeding.

The JSON output includes the active namespace. Capture it — every command below targets it explicitly as $ns:

ns=$(okteto context show | jq -r .namespace)

If you are working in an isolated worktree namespace (see the okteto skill), use that namespace instead — the environment you need to debug lives there, not in the context's default.

kubectl must target the same cluster and namespace as Okteto. kubectl reads its own kubeconfig, which can point at a different namespace — or a different cluster entirely — than the Okteto context, especially when multiple agents or worktrees are active on the same machine. Run okteto kubeconfig to download credentials for the cluster selected via okteto context, and pass -n "$ns" on every kubectl command. If kubectl get pods -n "$ns" errors or shows pods that don't match the services in okteto.yaml, fix the kubeconfig before trusting any diagnostic output.

Step 2: Discover services

cat okteto.yaml

Parse the deploy and dev sections for canonical service names. Never hardcode service names — always derive them from okteto.yaml.

Read the full file on GitHub · 274 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 274 lines · 151 tokens per session scan A 1f76dc9f7419

Subscribe to this mod's changes

okteto-debugging is a skill published in the GitHub repository okteto/okteto-agent-skills (6 stars, last pushed 7d ago), licensed Apache-2.0. It adds 151 tokens to every session and 2,857 once invoked, about $0.0008 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

troubleshoot-sandbox

Troubleshoot OpenSandbox issues by running diagnostics (logs, inspect, events, summary) via CLI or HTTP API to diagnose sandbox failures like OOM, crash, image pull errors, network problems, etc.

opensandbox-group/OpenSandbox · 48 tokens

network-rca

Kubernetes network root cause analysis skill powered by Kubeshark MCP. Use this skill whenever the user wants to investigate past incidents, perform retrospective traffic analysis, take or manage traffic snapshots, extract PCAPs, dissect L7 API calls from historical captures, compare traffic patterns over time, detect…

kubeshark/kubeshark · 163 tokens

k8s-service-path

Trace the Kubernetes service path — Service to selector to pods to EndpointSlices to readiness, plus Ingress routing. Use when a service is getting no traffic, an ingress is not routing, or someone asks why a workload is unreachable inside a cluster.

automateyournetwork/netclaw · 55 tokens

cluster-events

Analyze cluster-wide Kubernetes events to identify issues and patterns. Aggregates Warning events, detects high-frequency patterns, and correlates related events.

scitix/siclaw · 30 tokens

ingress-debug

Diagnose Ingress failures (rules not matching, backend unreachable, TLS errors, no address assigned). Checks Ingress resources, IngressClass, backend Services, and controller health to identify why external traffic is not routed correctly.

scitix/siclaw · 49 tokens

quota-debug

Diagnose Kubernetes native ResourceQuota and LimitRange admission rejections (exceeded quota, forbidden by LimitRange, FailedCreate). Checks namespace quotas, current usage, LimitRange constraints, and ReplicaSet events to identify why pods cannot be created. Not applicable to Volcano Queue — use…

scitix/siclaw · 69 tokens