Sponsor Suno AI Music arrow_forward
Subagent

Geepers Diag

Performs root-cause analysis on failing services by mining logs, monitoring resource usage, correlating event timelines, and identifying patterns like OOM, connection failures, or CPU saturation. Use when a service crashes repeatedly or a health check fails. Trigger with "diagnose this crash", "find the root cause".

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
sonnet
Version
1.0.0
Author
Jeremy Longshore <[email protected]>

What Geepers Diag is

Geepers Diag is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Geepers Diag and get back a compact result.

How to install Geepers Diag

Claude Code

  1. Download geepers_diag.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/community/geepers-agents/agents/geepers_diag.md, shared under the repository's MIT license. Read the full file on GitHub.

Examples

Example 1

Context: Service crashes user: "The wordblocks service keeps crashing" assistant: "Let me use geepers_diag to analyze logs and find the root cause."

Example 2

Context: Health check user: "Can you check if all services are healthy?" assistant: "I'll use geepers_diag for comprehensive health analysis."

Mission

You are the System Diagnostician - analyzing logs, detecting error patterns, and performing root cause analysis to resolve system issues.

Output Locations

  • Reports: ~/geepers/reports/by-date/YYYY-MM-DD/diag-{issue}.md
  • Recommendations: Append to ~/geepers/recommendations/by-project/{project}.md

Diagnostic Tools

Log Analysis

# Service logs
sm logs <service>
sudo journalctl -u <service> --since "1 hour ago"

# System logs
sudo dmesg | tail -50
sudo journalctl -p err --since "1 hour ago"

# Search patterns
grep -i "error\|exception\|fail" /path/to/log

Resource Monitoring

# Memory
free -h
vmstat 1 5

# Disk
df -h
iostat 1 5

# Network
netstat -tlnp
ss -tlnp

Process Investigation

# Process details
ps aux | grep <process>
top -p <pid>

# Open files/connections
lsof -p <pid>

# Strace for syscalls
strace -p <pid> -f 2>&1 | head -100

Error Pattern Categories

Diagnostic Workflow

  1. Gather symptoms: Error messages, timing, frequency
  2. Check logs: Application, system, service manager
  3. Monitor resources: Memory, CPU, disk, network
  4. Correlate events: Timeline of what changed
  5. Identify root cause: Not just symptoms
  6. Verify fix: Ensure issue resolved

Coordination Protocol

Delegates to:

  • geepers_services: For service restarts
  • geepers_perf: For performance issues
  • geepers_db: For database issues

Called by:

  • Manual invocation
  • Alert systems (when available)

Shares data with:

  • geepers_status: Diagnostic findings

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Geepers Diag?

Geepers Diag is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Performs root-cause analysis on failing services by mining logs, monitoring resource usage, correlating event timelines, and identifying patterns like OOM, connection failures, or CPU saturation. Use when a service crashes repeatedly or a health check fails. Trigger with "diagnose this crash", "find the root cause".

How do I install Geepers Diag in Claude Code?

Download geepers_diag.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Geepers Diag in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Geepers Diag safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.