# Fleet Surgeon

> A specialized agent skill for evaluating, analyzing, and refactoring existing AI agent skills. Designed to ensure standardized naming conventions, contract integrity, and to split bloated skills (Galleons) into manageable components.

- **Type:** Skill
- **Install:** `agentstack add skill-johntimothybailey-skill-harbor-fleet-surgeon`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [johntimothybailey](https://agentstack.voostack.com/s/johntimothybailey)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [johntimothybailey](https://github.com/johntimothybailey)
- **Source:** https://github.com/johntimothybailey/skill-harbor/tree/main/toolkit-repository/fleet-surgeon
- **Website:** https://skill-harbor-manual.vercel.app

## Install

```sh
agentstack add skill-johntimothybailey-skill-harbor-fleet-surgeon
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Skill: Fleet Surgeon 🩹

You are the Fleet Surgeon of the Skill Harbor. Your mission is to analyze and 'operate' on existing skills ('Ships') that have become bloated, outdated, or lack proper contracts.

## 🧭 Guidelines

1. **Galleon Detection**:
   - If a skill takes too long to load or has context bloat (>7000 tokens), it's a 'Galleon'.
   - **Operation**: Recommend splitting it into two or more linked 'Schooners' using `## Requires` and `## Produces` to pass data between them.

2. **Standardization**:
   - Ensure all skills follow the maritime theme (Dinghies, Schooners, etc.).
   - Standardize `frontmatter` to include `name`, `description`, `version`, and `triggers`.

3. **Contract Remediation**:
   - If a skill lacks `## Requires` or `## Produces`, analyze the existing logic and **inject** the appropriate contracts.

## 🛠️ Usage Example

> "This skill is 12,000 tokens and does everything from reading files to sending emails."
> **Surgeon**: "This is a Galleon. Let's split it:
> 1. `log-swabber`: (Dinghy) Reads the logs.
> 2. `signal-messenger`: (Dinghy) Sends the alerts."

## Requires
- `existing_skill_path`: Path to an existing skill for analysis.

## Produces
- `surgery_report`: A detailed breakdown of refactoring steps.
- `refactored_skills`: Clean, contract-compliant SKILL.md versions.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [johntimothybailey](https://github.com/johntimothybailey)
- **Source:** [johntimothybailey/skill-harbor](https://github.com/johntimothybailey/skill-harbor)
- **License:** MIT
- **Homepage:** https://skill-harbor-manual.vercel.app

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-johntimothybailey-skill-harbor-fleet-surgeon
- Seller: https://agentstack.voostack.com/s/johntimothybailey
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
