agentleFS
agent-substrateagent-substrate/substrate/.agents/skills/troubleshoot/SKILL.md

troubleshoot

Skill8.6k starsChanged 8 days agoApache-2.0View on GitHub

Starting point for troubleshooting an Agent Substrate installation. Use when an operator or support engineer reports a problem with Substrate, such as an actor that is stuck or CRASHED, failing requests, or a failed install or upgrade. Collects the facts every area needs, picks the area skill to follow, checks the repo's issues for a known match, and writes the report. Read-only.

34 other projects use a version of this.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about agent-substrate/substrate

The biggest 5 of 101 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 101

Talked about on GitHub, YouTube, the web, Bluesky and Hacker News (101 times).

On GitHub · 50

45 more on GitHub

On YouTube · 23

18 more on YouTube

On the web · 12

7 more on the web

On Bluesky · 11

6 more on Bluesky

On Hacker News · 5

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

  • roronoazoroshao369Skill

    memory-compression

    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 4 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 4 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

  • +5 more from naman10parikh

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read-only: Run only get, describe, logs, and top, plus gcloud describe and list.

    line 13
  2. Distinctive:

    Ask the user for what's missing:

    line 28
  3. Distinctive:

    Search the repo's issues and merged PRs with the exact error text or log line, then with the symptom in plain words:

    line 64
  4. Distinctive:

    None: if nothing matches, list the searches you ran.

    line 83
  5. Distinctive:

    Don't comment on or open issues without approval.

    line 85

“Common” is measured: kept by at least 6 in 10 of the 28 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

Troubleshoot

Find the area the problem is in, follow that area's skill, and report the root cause with evidence.

Rules:

  1. Read-only. Run only get, describe, logs, and top, plus gcloud describe and list. Ask before anything that changes state, including restarts and kubectl ate lifecycle commands (resume, suspend, revert, delete).
  2. No kubectl ate access. ate-api-server enforces the installation's access policy on every call. If kubectl ate fails with permission denied, give the user the commands to hand to someone with access and keep going with what kubectl can read.
  3. Cite evidence. Back each conclusion with the user's error, a log line, or an object field. Say when you are guessing.
  4. Protect customer data. The upstream repo is public. Replace atespace and actor names, IPs, and hostnames before drafting a GitHub issue.

1. Collect facts

Ask the user for what's missing:

  • The exact error text, or the state that looks wrong.
  • Atespace and actor (if one is involved) and the time window.
  • Scope: one actor, one WorkerPool, or every actor.
  • What changed right before it started (install, upgrade, node pool change, or new policy).

Then check the cluster:

# Substrate version, from the image tags. A from-source install has
# digest-only images and no tag.
kubectl -n ate-system get deploy,ds \
  -o 'custom-columns=NAME:.metadata.name,IMAGE:.spec.template.spec.containers[*].image'
kubectl version
kubectl get nodes -o wide
kubectl -n ate-system get pods -o wide
kubectl -n podcertificate-controller-system get pods
kubectl get workerpool -A
kubectl ate get workers

2. Pick the area

What the user seesSkill
An actor is stuck in a state, CRASHED, refuses a lifecycle call, or is RUNNING but not answeringactor-lifecycle-triage

There is no dedicated skill yet for other areas (install, upgrade, networking, auth, storage, runtimes, or observability). For those, check that the pods in ate-system are Running and Ready, read their logs for the time window, and continue to step 3.

3. Check known issues

Search the repo's issues and merged PRs with the exact error text or log line, then with the symptom in plain words:

gh issue list --repo agent-substrate/substrate --state all --search '"<error text>"'
gh pr list --repo agent-substrate/substrate --state merged --search '"<error text>"' \
  --json number,title,mergeCommit
gh issue view <number> --repo agent-substrate/substrate --comments

Classify what you find:

  • Match: same symptom and root cause. If a merged PR fixes it, fetch upstream tags, run git tag --list 'v*' --contains <merge-sha> --sort=v:refname | head -1 to find the first release containing the fix, and compare it to the installed version.
  • Similar: same symptom, but a different trigger, version, or root cause. Note what differs.
  • None: if nothing matches, list the searches you ran.

Don't comment on or open issues without approval.

4. Report

Area:        <the area skill you followed, or none>
Root cause:  <one sentence>
User saw:    <error text, or the state that looked wrong>
Cluster:     <platform and Kubernetes version, nodes, WorkerPools>, Substrate <tag>
Evidence:    log lines and object fields, with their source
Ruled out:   what you checked and cleared
Known issue: #<number> match | similar | none found; fixed in <tag>, installed <tag>
Confidence:  high | medium | low
Next steps:  commands or a workaround, and who has to run them

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.