Skip to content
Back to skills

Troubleshooting

ASecurity

Routes troubleshooting requests to vasp_errors, convergence_issues, or workflow_errors sub-skills based on the type of problem.

  • 208 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 20, 2026
developmentgo

Works with

  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add Hello-QM/catgo-LRG --skill troubleshooting --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Troubleshooting?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Troubleshooting
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hello-qm-troubleshooting/badge)](https://www.skillsdirectory.com/skills/hello-qm-troubleshooting)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: troubleshooting-router
description: Routes troubleshooting requests to vasp_errors, convergence_issues, or workflow_errors sub-skills based on the type of problem.
---

# Troubleshooting Router Skill

## When to Use

Use this skill when the user reports a problem with a calculation or workflow.
Route to the appropriate sub-skill based on the error type.

## Routing Decision Tree

### Step 1: Identify the error source

Ask the user or check the workflow status:

```json
catgo_workflow_engine(action: "status", params: { workflow_id: "<wf_id>" })
```

If a specific task failed, get the error details:

```json
catgo_workflow_engine(action: "get_result", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>"
})
```

### Step 2: Route based on error type

| Error signature | Route to |
|---|---|
| VASP error messages (ZBRENT, BRMIX, EDDDAV, etc.) | `troubleshooting/vasp_errors` |
| SCF not converging, ionic relaxation oscillating | `troubleshooting/convergence_issues` |
| ORCA SCF/geometry convergence | `troubleshooting/convergence_issues` |
| CatGo engine errors (REMOTE_ERROR, stuck tasks) | `troubleshooting/workflow_errors` |
| HPC connection issues (SSH, SFTP) | `troubleshooting/workflow_errors` |
| POTCAR not found, missing files | `troubleshooting/workflow_errors` |
| Test/verify cluster config before submitting; POTCAR/pseudopotential/binary/module checks; job "completed" with no output | `troubleshooting/cluster_config_test` |

### Step 3: Gather diagnostics

Before routing, collect relevant information:

```json
catgo_workflow_engine(action: "status", params: { workflow_id: "<wf_id>" })
```

For VASP/convergence issues, check the calculation output:

```json
catgo_analyze(action: "convergence", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>"
})
```

For system-level issues:

```json
catgo_system(action: "status")
```

```json
catgo_system(action: "errors")
```

## Common Patterns

### "My calculation failed"
1. Check workflow status to identify which task failed
2. Get the error message from the failed task
3. Route to the appropriate sub-skill

### "My calculation is taking too long"
1. Check if it is still running or stuck
2. If running: check convergence progress -> `convergence_issues`
3. If stuck in READY/QUEUED: -> `workflow_errors`

### "My results look wrong"
1. Check if the calculation converged
2. Check for warnings in the output
3. Often a convergence issue in disguise -> `convergence_issues`

### "I cannot connect to the HPC"
Direct to `workflow_errors` for SSH/connection troubleshooting.

## MCP Tool Examples

### Full diagnostic sequence

1. Get workflow overview:
```json
catgo_workflow_engine(action: "status", params: { workflow_id: "<wf_id>" })
```

2. Get failed task details:
```json
catgo_workflow_engine(action: "get_result", params: {
  workflow_id: "<wf_id>",
  task_id: "<failed_task_id>"
})
```

3. Check convergence if applicable:
```json
catgo_analyze(action: "convergence", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>"
})
```

4. Check system health:
```json
catgo_system(action: "status")
```

5. Based on findings, route to the appropriate sub-skill and apply fixes.

### Quick retry after fixing parameters

```json
catgo_workflow_engine(action: "modify_params", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>",
  params: { "ALGO": "All", "NELM": 200 }
})
```

```json
catgo_workflow_engine(action: "retry", params: {
  workflow_id: "<wf_id>",
  task_id: "<task_id>"
})
```

## Key Principle

Always diagnose before prescribing. Do not blindly suggest parameter changes
without first understanding what went wrong. Use the diagnostic tools
(`status`, `get_result`, `convergence` analysis) to identify the root cause,
then apply targeted fixes.

Files in this skill

  • SKILL.md3.7 KB
  • cluster_config_test/SKILL.md4.1 KB
  • convergence_issues/SKILL.md5.3 KB
  • vasp_errors/SKILL.md4.9 KB
  • workflow_errors/SKILL.md5.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.