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.
npx agentmods add skills/scitix/siclaw/service-debugnpx skills add scitix/siclaw --skill service-debuggit clone --depth 1 https://github.com/scitix/siclawWrote 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.
[](https://agentmods.dev/skills/scitix/siclaw/service-debug)<a href="https://agentmods.dev/skills/scitix/siclaw/service-debug"><img src="https://agentmods.dev/badge/skills/scitix/siclaw/service-debug.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00042 | $0.01402 |
| Opus 5 | $0.00021 | $0.00701 |
| Sonnet 5 | $0.00008 | $0.00280 |
| Haiku 4.5 | $0.00004 | $0.00140 |
Grade A, and why
service-debug 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Service Connectivity Diagnosis
When a Service is unreachable, returns connection refused, or has no backends, follow this flow to identify the root cause.
Scope: This skill is for diagnosis only. Once you identify the root cause, report it to the user and stop. Do NOT attempt to modify the Service, Endpoints, or pod specs — that should be left to the user.
Diagnostic Flow
1. Check the Service
kubectl get svc <service> -n <ns> -o wide
Confirm the Service exists and note:
- TYPE — ClusterIP, NodePort, LoadBalancer, or ExternalName
- CLUSTER-IP — should not be
Noneunless it is a headless service - PORT(S) — the port(s) the Service exposes
- SELECTOR — the label selector used to find backend pods
2. Check Endpoints
kubectl get endpoints <service> -n <ns>
- If
ENDPOINTScolumn shows<none>or is empty, no pods match the Service's selector — go to step 3. - If endpoints exist, note the IPs and ports — go to step 4.
For more detail (including notReadyAddresses):
kubectl describe endpoints <service> -n <ns>
3. Investigate selector and pods
The Service's selector must match labels on running, ready pods.
Get the Service selector:
kubectl get svc <service> -n <ns> -o jsonpath='{.spec.selector}'
List pods that match the selector:
kubectl get pods -n <ns> -l <key>=<value> -o wide
(Replace <key>=<value> with each selector pair from the previous command.)
If no pods match:
- The selector may be wrong (typo, outdated label)
- The pods may be in a different namespace
- The pods may not exist yet
If pods exist but none are Ready:
- Pods may be starting, crashing, or failing readiness probes
- Use
pod-crash-debugor check readiness probes
4. Check port configuration
Verify that the Service port, targetPort, and the container's actual listening port all align.
kubectl get svc <service> -n <ns> -o jsonpath='{range .spec.ports[*]}port={.port} targetPort={.targetPort} protocol={.protocol}{"\n"}{end}'
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.
- 3d ago First seen · 166 lines · 42 tokens per session scan A 8f3d87b131c7
service-debug is a skill published in the GitHub repository scitix/siclaw (230 stars, last pushed 5d ago), licensed Apache-2.0. It adds 42 tokens to every session and 1,402 once invoked, about $0.0002 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-30.
Other skills, from other repositories
k8s-service-connectivity
Service 连通性问题通常由 Endpoints 缺失、Selector 不匹配、[[networkpolicy|NetworkPolicy]] 阻断或 kube-proxy 异常引起。.
k8s-deployment-rollout
Kubernetes Deployment 发布失败、滚动更新卡住的完整诊断-修复-验证 Skill.
k8s-pod-crashloop
Pod CrashLoopBackOff / OOMKilled 诊断与修复:Pod CrashLoopBackOff 和 OOMKilled 是 Kubernetes 工作负载中最常见的问题类型。本 Skill 覆盖从症状识别到修复验证的完整闭环。.
k8s-dns-failure
DNS 解析问题诊断与修复:CoreDNS 是 Kubernetes 集群 DNS 的核心组件。DNS 问题会导致服务发现失败、外部依赖不可访问等连锁问题。.
k8s-control-plane
Control Plane Failure:API entities/etcd.md/Scheduler 问题的诊断与修复 Skill。.
k8s-certificate-expiry
证书过期问题诊断与修复:Kubernetes 证书体系包含 API Server、etcd、kubelet、frontend-proxy 等多组证书。证书过期会导致组件间通信失败、节点 NotReady 等严重后果。.