agentleFS
guaracloudguaracloud/agent-skills/skills/troubleshoot/SKILL.md

troubleshoot

Skill2 starsChanged 7 months agoApache-2.0View on GitHub

Diagnoses and resolves issues on GuaraCloud — failed deployments, crash loops, health check failures, image pull errors, OOM kills, and CLI errors. Use when the user reports something broken, a deployment failed, a service is unhealthy, or they see an error.

27 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ecosystem-reference, fractal-delegation and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • MicrosoftSkill

    act-on-feedback

    Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.

    Also in 3 projects that use this

  • MicrosoftSkill

    generate-run-commands

    Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

    Also in 3 projects that use this

  • KirchliveSkill

    skill-routing

    Decides which of the installed skills a task needs and loads them before the work starts. This skill should be used at the beginning of any multi-step task — build, fix, refactor, migrate, review, plan, release, research, write, design, video — and again at every phase change, after context compaction, and when work moves into a different part of the codebase. Use it for requests like "let's build X", "fix this bug", "refactor Y", "plan the migration", "review this", and also when the user asks which skill applies, why a skill did not fire, or asks to check what is available.

    Also in 5 projects that use this

  • sublimotionSkill

    agent-runtime

    Launch and manage detached agent runs on EKS via the agent-runner CLI. Use when the user says "launch an agent run", "agent runtime", "agent-runner", "run this spec on the cluster", "check run status", "agent run logs", or "stop a run". Do NOT use for writing the agent-runner code itself (edit the sibling ../agent-runner repo), Terraform of the foundation (use terraform-automation), or GPU serving deployments (use infra-deployer).

    Also in 5 projects that use this

  • +6 more from naman10parikh

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When something is wrong, start here:

    line 14
  2. Very specific:

    Check deployment logs: guara logs --since 10m --level error

    line 47
  3. Very specific:

    If build error → fix code/Dockerfile and redeploy: guara deploy

    line 48
  4. Very specific:

    If image pull error → previous build may have failed silently.

    line 49
  5. Distinctive:

    If crash on startup → app fails to start.

    line 50
  6. Very specific:

    If you can't determine the cause from logs, exec into the container: guara exec -- env to check runtime environment

    line 60
  7. Distinctive:

    Wait — deployments can take up to 10 minutes

    line 64
  8. Very specific:

    If still stuck, check guara deployments list for the status

    line 65

“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Troubleshooting GuaraCloud

First Things to Check

When something is wrong, start here:

# 1. Is the service running?
guara services info

# 2. What do the logs say?
guara logs --level error --since 1h

# 3. What's the deployment history?
guara deployments list

# 4. Is the platform itself healthy?
guara status

Health Statuses

guara services info reports these health statuses:

StatusMeaningAction
healthyAll replicas running and passing health checksNo action needed
crash_loopContainer repeatedly crashing and restartingCheck logs: guara logs --level error
image_pull_errorCannot pull the container imageCheck deployment logs, verify build succeeded
oom_killedContainer exceeded memory limitReduce memory usage or upgrade tier — see guaracloud.com/docs
degradedSome but not all replicas healthyCheck logs, may resolve on its own during rolling updates
unknownStatus cannot be determinedWait a moment, then check again

Deployment Failure Decision Tree

Deployment status is failed:

  1. Check deployment logs: guara logs --since 10m --level error
  2. If build error → fix code/Dockerfile and redeploy: guara deploy
  3. If image pull error → previous build may have failed silently. Check guara deployments list for the last healthy deployment, then guara rollback
  4. If crash on startup → app fails to start. Check logs for stack traces, missing env vars, or port mismatches

Container keeps restarting (crash_loop):

  1. Check logs: guara logs --level error --since 30m
  2. Common causes:
    • Missing environment variables → guara env list to check, guara env set to fix
    • Wrong port → service listens on a different port than configured. Check with guara services info
    • Missing dependencies → Dockerfile or buildpack not installing all deps
    • OOM → app needs more memory than tier allows
  3. If you can't determine the cause from logs, exec into the container: guara exec -- env to check runtime environment

Service stuck in deploying:

  1. Wait — deployments can take up to 10 minutes
  2. If still stuck, check guara deployments list for the status
  3. The new deployment may be waiting for health checks to pass

Tier Limit Errors

The CLI surfaces these when a tier limit is reached:

  • "Resource exceeds your tier quota" → service needs more CPU/memory than tier allows
  • "Maximum number of projects reached" → delete an unused project or upgrade
  • "Maximum number of services reached" → delete an unused service or upgrade
  • "Build minutes quota exceeded" → wait for next billing cycle or upgrade
  • "Maximum number of custom domains reached" → remove an existing domain or upgrade
  • "Account resource pool exhausted" → scale down other services or upgrade

For all tier limits, direct the user to guaracloud.com/docs to see current tier details and upgrade options.

Authentication Errors

  • "Authentication failed. API key is invalid or revoked" → guara login to re-authenticate
  • "Authentication failed. API key has expired" → guara login to generate a new key
  • "Not authenticated" → guara login
  • "Account is suspended due to billing issues" → update payment at app.guaracloud.com
  • "Terms of Service must be accepted" → accept at app.guaracloud.com

Network and Session Errors

  • "Could not reach GuaraCloud API" → check internet connection and API URL: guara config get api-url
  • "No ready pods available" → service is not running. Start it: guara services start
  • "Session disconnected due to inactivity" → reconnect by running the command again
  • "Maximum concurrent sessions reached" → close existing exec/proxy sessions first

Common Pitfalls

  1. Forgot to deploy after creating a service — services create does NOT trigger a build. Run guara deploy after.
  2. Port mismatch — the --port in services create must match what the app listens on.
  3. Missing GitHub App — install at github.com/apps/guaracloud if you see "No GitHub App installation found."
  4. Env var change didn't take effect — guara env set triggers a rolling restart, but check logs to confirm the new process picked up the change.
  5. DNS not propagated for custom domain — guara domains list shows pending until CNAME propagates. This can take minutes to hours.

For the full error code reference, see references/error-codes.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.