jkitchin

Watch Job — Development skill for Claude Code

Development community

Watch a VASP job and diagnose/fix issues if it fails.

How to install Watch Job

Installs to ~/.claude/commands/jkitchin-vasp-watch-job.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/jkitchin/vasp/HEAD/.claude/commands/watch-job.md -o ~/.claude/commands/jkitchin-vasp-watch-job.md

Restart Claude Code, or start a new session, for it to be picked up.

What Watch Job does

Watch a VASP job and diagnose/fix issues if it fails.

Arguments: $ARGUMENTS (job directory path)

Workflow

  1. **Check job directory**:

    • If $ARGUMENTS provided, use that path
    • Otherwise, check current directory
    • Verify VASP files exist (INCAR, POSCAR, etc.)
  2. **Assess current status**:

    # Check for output files
    ls -la OUTCAR OSZICAR CONTCAR vasprun.xml 2>/dev/null
    
    # Check last modification time
    stat OUTCAR 2>/dev/null | grep Modify
  3. **Check if j

Alternatives in Development

  • Fix All — Check open PRs and beads, spawn agents to fix issues 508 ★
  • Cloud Run Debug — Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers 284 ★
  • Iterate Feature — Iterate on the feature "$ARGUMENTS" to fix issues and address feedback 180 ★

Full documentation available on GitHub

View Source Repository