harbor: Skill for Claude Code

.agents/skills/new-service/SKILL.md

new-service is a skill for Claude Code, Codex from av/harbor. It costs 139 tokens per session (3,745 once invoked), scanned A, original, Apache-2.0.

A step-by-step process for adding a new service to Harbor, a modular Docker Compose project where each service has its own configuration and documentation.

In plain words
What is it for?
Use it to add a tool, app, model server, or other service; choose its deployment method; configure ports and storage; and test the completed integration.
Why use it?
It ensures a new service is represented consistently across Compose settings, environment variables, metadata, documentation, and integrations. This reduces omissions during onboarding.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is av/harbor's own configuration. It tells Claude Code and Codex how to work on harbor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything harbor configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/everlier/code/harbor/.agents/skills/new-service/SKILL.md.

About the project

av/harbor is a command-line tool and companion app that uses Docker Compose to start a connected local stack of language-model backends, user interfaces, and supporting AI services. People use it to run services such as Ollama, llama.cpp, vLLM, Open WebUI, search, voice, and image-generation tools without configuring their connections manually, while the catalogue provides agent workflows for operating Harbor.

av/harbor · 3,263 stars · on GitHub · discord.gg

Reuse

Borrowing it

Nothing to install: this file belongs to av/harbor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/av/harbor/main/.agents/skills/new-service/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/av/harbor

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for new-service

README.md
[![agentmods](https://agentmods.dev/badge/skills/av/harbor/new-service/github.svg)](https://agentmods.dev/skills/av/harbor/new-service)
Your own site
<a href="https://agentmods.dev/skills/av/harbor/new-service"><img src="https://agentmods.dev/badge/skills/av/harbor/new-service/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for new-service

Your own site · 80×15
<a href="https://agentmods.dev/skills/av/harbor/new-service"><img src="https://agentmods.dev/badge/skills/av/harbor/new-service.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,745 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00139 $0.03745
Opus 5.5 $0.00056 $0.01498
Sonnet 5.5 $0.00028 $0.00749
Haiku 4.5 $0.00014 $0.00375

Measured 1mo ago against content hash c32de3c3a2bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

new-service scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(`curl`, `jq`, `sqlite`, `ssh-keygen`, etc.), **do not** install them with `apk add` in
.agents/skills/new-service/SKILL.md · 414 lines

How it starts

The opening of the file, as written. The whole thing — 414 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Adding a New Service to Harbor

Subagent instruction: Before doing any work, read this skill file in full using the read_file tool at path /home/everlier/code/harbor/.agents/skills/new-service/SKILL.md. Do not proceed until the file has been read.

Harbor is a modular Docker Compose project. Each service is a self-contained unit: a compose file, a service directory, environment variables, app metadata, and documentation. The detailed technical reference lives in .github/copilot-new-service.md — consult it for edge cases or patterns not covered here.

Workflow Overview

Gather Info → Scaffold → Compose Config → Env Vars → Metadata → Documentation → Integrations → Test

Every step has validation criteria. Do not advance until the current step passes.

Step 0: Gather Information

Before writing any files, understand what you're building.

Required inputs:

  • Service name or GitHub repo URL (from user)
  • Docker deployment method: pre-built image, Dockerfile, or docker-compose in repo
  • Service category: backend (inference), frontend (web UI), or satellite (tool/utility)
  • Ports the service exposes internally
  • Persistent data directories (volumes)
  • Environment variables the service accepts

Research the repo. Look for:

  • docker-compose.yml, Dockerfile, or docker/ directory
  • README sections on Docker deployment, environment variables, configuration
  • The service's default ports and data paths

If the repo has its own docker-compose, study the service definitions — you'll adapt them to Harbor's conventions, not copy them verbatim.

If ambiguous, ask the user. Don't guess the category or deployment method.

Step 1: Select a Handle

The handle is the service's identifier everywhere in Harbor.

Rules:

  • Lowercase letters, numbers, hyphens only
  • Short, memorable, representative
  • Must be unique

Validate:

ls services/compose.${handle}.yml 2>/dev/null && echo "TAKEN" || echo "OK"
grep -q "\"${handle}\"\\|'${handle}'\\|${handle}:" app/src/serviceMetadata.ts && echo "TAKEN" || echo "OK"

Read the full file on GitHub · 414 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +9 lines c32de3c3a2bb
  2. 2mo ago First seen · 405 lines · 139 tokens per session scan A 3c2a3dece9d1

Subscribe to this mod's changes

new-service is a skill published in the GitHub repository av/harbor (3,263 stars, last pushed 6d ago), licensed Apache-2.0. It adds 139 tokens to every session and 3,745 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

new-service compared with skills from other repositories

new-service next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
new-serviceav/harborSkill3.3k6d agoApache-2.0A139Claude Code, Codex
synapsedinglebear-ai/synapseSkill24d agoAGPL-3.0A67Claude Code
docker-essentialsasgarovf/locusaiSkill238mo agoMITA35Claude Code
docker-managementfurkangonel/cowranglerSkill11mo agoMITC16Claude Code, Codex
docker-local-buildkurtosis-tech/kurtosisSkill5584d agoApache-2.0A56Claude Code, Codex
k8s-dev-deploykurtosis-tech/kurtosisSkill5584d agoApache-2.0A78Claude Code, Codex
docker-debugkurtosis-tech/kurtosisSkill5584d agoApache-2.0A45Claude Code, Codex