app-platform-troubleshooting

app-platform-troubleshooting is a skill for Claude Code, Codex from digitalocean-labs/do-app-platform-skills. It costs 45 tokens per session (1,033 once invoked), scanned A, original, MIT.

A troubleshooting guide for applications running on App Platform, a service that builds and hosts deployed applications.

In plain words
What is it for?
Use it to inspect running containers, query health endpoints, check processes and environment settings, read build or runtime logs, and isolate infrastructure issues.
Why use it?
It helps find the cause of failed deployments, crashes, connection problems, and slow behavior from container checks and logs.

Skill for Claude CodeCodex

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

Good fit Use it to inspect running containers, query health endpoints, check processes and environment settings, read build or runtime logs, and isolate infrastructure issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/digitalocean-labs/do-app-platform-skills/troubleshooting
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 digitalocean-labs/do-app-platform-skills --skill troubleshooting
Clone the repo
git clone --depth 1 https://github.com/digitalocean-labs/do-app-platform-skills

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 app-platform-troubleshooting

README.md
[![agentmods](https://agentmods.dev/badge/skills/digitalocean-labs/do-app-platform-skills/troubleshooting/github.svg)](https://agentmods.dev/skills/digitalocean-labs/do-app-platform-skills/troubleshooting)
Your own site
<a href="https://agentmods.dev/skills/digitalocean-labs/do-app-platform-skills/troubleshooting"><img src="https://agentmods.dev/badge/skills/digitalocean-labs/do-app-platform-skills/troubleshooting/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 app-platform-troubleshooting

Your own site · 80×15
<a href="https://agentmods.dev/skills/digitalocean-labs/do-app-platform-skills/troubleshooting"><img src="https://agentmods.dev/badge/skills/digitalocean-labs/do-app-platform-skills/troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,033 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00045 $0.01033
Opus 5 $0.00023 $0.00517
Sonnet 5 $0.00009 $0.00207
Haiku 4.5 $0.00005 $0.00103

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

Security

Grade A, and why

app-platform-troubleshooting scanned grade A with 1 finding 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 10d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

app.exec("curl -v localhost:8080/health")
skills/troubleshooting/SKILL.md · 156 lines

How it starts

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

App Platform Troubleshooting Skill

Transform debugging from guessing to rapid diagnosis and fix.

Philosophy

Traditional: See error → Guess → Change → Push → Wait 5-7 min → Repeat
With skill:  See error → Diagnose → Fix → Verify → Commit proper fix

Quick Decision

Is the app deployed with running containers?
├── YES → Can we access the shell?
│         ├── YES → LIVE MODE (SDK shell access)
│         └── NO  → LOGS-ONLY MODE (fetch logs)
└── NO (build/deploy failed) → LOGS-ONLY MODE

Mode 1: Live Troubleshooting (Quick Start)

from do_app_sandbox import Sandbox

app = Sandbox.get_from_id(app_id="<app-id>", component="web")

# Diagnostics
app.exec("env | grep DATABASE")
app.exec("curl -v localhost:8080/health")
app.exec("ps aux | head -10")

Full guide: See live-troubleshooting.md


Mode 2: Logs-Only (Quick Start)

# Runtime logs
doctl apps logs <app_id> <component> --type run

# Build logs
doctl apps logs <app_id> <component> --type build

# Crash logs
doctl apps logs <app_id> --type=run_restarted

Full guide: See logs-analysis.md


Debug Container (Infrastructure Issues)

Deploy in ~30-45 seconds to isolate infrastructure from application:

services:
  - name: debug
    image:
      registry_type: GHCR
      registry: ghcr.io
      repository: bikramkgupta/debug-python
      tag: latest
    http_port: 8080
    envs:
      - key: DATABASE_URL
        value: ${db.DATABASE_URL}
# Run validation suite
validate-infra all
validate-infra database
validate-infra kafka

Full guide: See debug-container.md


Quick Reference: Exit Codes

Code Signal Meaning
0 - Clean exit (shouldn't exit)
1 - General error
127 - Command not found
137 SIGKILL OOM killed
143 SIGTERM Graceful shutdown

Read the full file on GitHub · 156 lines

Files

What ships with it

7 files 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. 10d ago First seen · 156 lines · 45 tokens per session scan A 548fb8038a58

Subscribe to this mod's changes

app-platform-troubleshooting is a skill published in the GitHub repository digitalocean-labs/do-app-platform-skills (36 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 1,033 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

digitalocean

Use when deploying or operating a workload on DigitalOcean — Droplet vs App Platform vs Functions, doctl, app spec YAML, Managed Postgres/MySQL/Valkey on the VPC, S3-compatible Spaces + CDN. NOT host-agnostic CI/CD or rollback strategy (that is deployment), NOT a bare Hetzner VPS (that is hetzner), NOT another managed…

ericrisco/rsc-harness · 96 tokens

orca-k8s-connector-troubleshoot

Diagnoses Kubernetes Connector (K8s Tunnel Client / Helm chart orca-tunnel) install and connectivity failures from raw customer input — error text, helm status, kubectl describe, or pod logs — and walks through step-by-step remediation. Use when a user reports the K8s Connector won't install, won't connect, keeps…

orcasecurity/orca-skills · 92 tokens

kubernetes

Kubernetes operations playbook for deploying services: core objects, probes, resource sizing, safe rollouts, and fast kubectl debugging.

bobmatnyc/claude-mpm-skills · 29 tokens

k8s-cilium

Cilium and Hubble network observability for Kubernetes. Use when managing network policies, observing traffic flows, or troubleshooting connectivity with eBPF-based networking.

rohitg00/kubectl-mcp-server · 37 tokens

k8s-incident

Respond to Kubernetes incidents with runbooks and diagnostics. Use for outages, pod failures, node issues, network problems, and emergency response.

rohitg00/kubectl-mcp-server · 33 tokens

piggyback-hosting

Hosting-Muster, um eine lokal gebaute Anwendung (eigene Datenbank, eigener API-Key, In-Process-State) sicher hostbar zu machen, ohne Nutzerverwaltung zu bauen. Kernzug — der Host speichert nichts, der Browser des Besuchers speichert alles — sodass Pro-Besucher-Accounts, Zugriffsprüfungen und Löschfristen…

ellmos-ai/skills · 229 tokens