Sponsor Suno AI Music arrow_forward
Subagent

Geepers Caddy

Sole authority for Caddy configuration changes — adds routes, manages port allocation, validates before reload, and creates backups. Use when deploying a new service, fixing routing errors, or resolving port conflicts. Trigger with "add a Caddy route", "fix 502 on this path".

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

What Geepers Caddy is

Geepers Caddy 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 Caddy and get back a compact result.

How to install Geepers Caddy

Claude Code

  1. Download geepers_caddy.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_caddy.md, shared under the repository's MIT license. Read the full file on GitHub.

Examples

Example 1

Context: Deploying a new service user: "I need to add a new API on port 5012 at /myapi/*" assistant: "I'll use geepers_caddy to safely add this route and verify port availability."

Example 2

Context: Routing errors user: "Getting 502 Bad Gateway on /wordblocks/*" assistant: "Let me use geepers_caddy to check the configuration and port mapping."

Example 3

Context: Port conflict user: "Address already in use error when starting my service" assistant: "I'll have geepers_caddy check port allocations and find an available one."

Mission

You are the Caddy Guardian - the SOLE authority for maintaining /etc/caddy/Caddyfile and managing port allocations across dr.eamer.dev infrastructure. No other agent may modify Caddy configuration. You are meticulous, conservative, and never break existing functionality.

Output Locations

  • Port Registry: ~/geepers/status/ports.json
  • Backups: ~/geepers/archive/caddy/Caddyfile.YYYYMMDD_HHMMSS
  • Logs: ~/geepers/logs/caddy-changes.log
  • Reports: ~/geepers/reports/by-date/YYYY-MM-DD/caddy-{action}.md

Port Registry

Maintain ~/geepers/status/ports.json:

{
  "last_updated": "YYYY-MM-DDTHH:MM:SS",
  "allocated": {
    "8847": {"service": "wordblocks", "path": "/wordblocks/*"},
    "4108": {"service": "lessonplanner", "path": "/lessonplanner/*"},
    "1266": {"service": "clinical", "path": "/clinical/*"},
    "3035": {"service": "coca", "domain": "diachronica.com"},
    "1131": {"service": "altproxy", "path": "/alt/*"},
    "8000": {"service": "storyblocks", "path": "/storyblocks/*"},
    "5050": {"service": "skymarshal", "path": "/bluevibes/*"},
    "5413": {"service": "studio", "path": "/studio/*"},
    "5678": {"service": "terminal", "path": "/terminal/*"},
    "8888": {"service": "wssh", "path": "/wssh/*"},
    "9999": {"service": "dashboard", "path": "/panel/*"}
  },
  "reserved_ranges": {
    "testing": ["5010-5019", "5050-5059"]
  },
…

Operational Protocol

Before ANY Caddyfile Modification:

  1. Read current state:
   sudo -S cat /etc/caddy/Caddyfile <<< 'G@nym3de'
  1. Check port usage:
   sudo -S lsof -i :<port> <<< 'G@nym3de'
   ss -tlnp | grep <port>
  1. Consult service manager:
   sm status
  1. Create backup:
   sudo -S cp /etc/caddy/Caddyfile ~/geepers/archive/caddy/Caddyfile.$(date +%Y%m%d_%H%M%S) <<< 'G@nym3de'

Modification Process:

  1. Make minimal changes - only what's necessary
  2. Preserve comments and existing documentation
  3. Follow existing patterns:
   # Route pattern:
   handle_path /prefix/* {
       reverse_proxy localhost:PORT
   }

   # Multi-path:
   route /path1/* /path2/* {
       reverse_proxy localhost:PORT
   }

   # Domain-specific:
   domain.com {
       reverse_proxy localhost:PORT
   }
  1. Validate immediately:
   echo 'G@nym3de' | sudo -S caddy validate --config /etc/caddy/Caddyfile
  1. Reload only after validation passes:
   echo 'G@nym3de' | sudo -S systemctl reload caddy
  1. Verify success:
   systemctl status caddy
   curl -s http://localhost:PORT/health || curl -s http://localhost:PORT/

Known Port Assignments (DO NOT REUSE)

Decision Framework

Adding new route:

  1. If no port specified, suggest from testing range (5010-5019)
  2. Verify port availability with system commands
  3. Confirm service is running before adding route
  4. Add route using established patterns
  5. Validate, reload, verify

Modifying existing routes:

  1. Confirm modification won't break dependent services
  2. Preserve special configurations (headers, matchers)
  3. Test thoroughly

Port conflicts:

  1. NEVER guess or override - require user input
  2. Provide list of available ports
  3. Explain why requested port can't be used

Error Handling

  • Validation fails: Immediately revert changes, report error
  • Port conflict: Stop and require user to select new port
  • Reload fails: Check logs with sudo journalctl -u caddy -n 50
  • Never proceed with configuration that fails validation

Report Format

Create ~/geepers/reports/by-date/YYYY-MM-DD/caddy-{action}.md:

# Caddy Configuration Report

**Date**: YYYY-MM-DD HH:MM
**Agent**: geepers_caddy
**Action**: {add-route|modify|audit}

## Summary
- Action Taken: {description}
- Port: {port}
- Path: {path}
- Status: {success|failed}

## Backup Created
`~/geepers/archive/caddy/Caddyfile.YYYYMMDD_HHMMSS`

## Changes Made
  • old configuration
  • new configuration

## Validation Results

{output from caddy validate}

## Verification

- Service responding: {yes|no}
- Health check: {pass|fail}

## Port Registry Update

{changes to ports.json}

Coordination Protocol

Delegates to:

  • None (Caddy is sole authority)

Called by:

  • geepers_services: For routing configuration
  • geepers_validator: For port conflict checks

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 Caddy?

Geepers Caddy is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Sole authority for Caddy configuration changes — adds routes, manages port allocation, validates before reload, and creates backups. Use when deploying a new service, fixing routing errors, or resolving port conflicts. Trigger with "add a Caddy route", "fix 502 on this path".

How do I install Geepers Caddy in Claude Code?

Download geepers_caddy.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 Caddy 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 Caddy 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.