harbor: Skill for Claude Code

.agents/skills/new-boost-module/SKILL.md

new-boost-module is a skill for Claude Code, Codex from av/harbor. It costs 116 tokens per session (1,798 once invoked), scanned A, original, Apache-2.0.

A guide for writing Python modules that run inside Harbor Boost, an OpenAI-compatible proxy for large language model requests.

In plain words
What is it for?
Use it to rewrite prompts, add system messages, call multiple models, stream artifacts, or replace a completion through a custom module.
Why use it?
It explains how to add custom processing to the proxy without replacing the whole service.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: 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 →

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-boost-module/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-boost-module

README.md
[![agentmods](https://agentmods.dev/badge/skills/av/harbor/new-boost-module/github.svg)](https://agentmods.dev/skills/av/harbor/new-boost-module)
Your own site
<a href="https://agentmods.dev/skills/av/harbor/new-boost-module"><img src="https://agentmods.dev/badge/skills/av/harbor/new-boost-module/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-boost-module

Your own site · 80×15
<a href="https://agentmods.dev/skills/av/harbor/new-boost-module"><img src="https://agentmods.dev/badge/skills/av/harbor/new-boost-module.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,798 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 159
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
How audits are shown
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.00116 $0.01798
Opus 5.5 $0.00046 $0.00719
Sonnet 5.5 $0.00023 $0.00360
Haiku 4.5 $0.00012 $0.00180

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

Security

Grade A, and why

new-boost-module scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/new-boost-module/SKILL.md · 204 lines

How it starts

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

Creating Harbor Boost Modules

Harbor Boost is an optimizing LLM proxy with an OpenAI-compatible API. Modules are Python files that hook into the completion pipeline — they can rewrite prompts, inject system messages, chain multiple LLM calls, stream artifacts, or replace the completion entirely.

A module is activated by prefixing a model name with the module's ID_PREFIX. For example, a module with ID_PREFIX = "mymod" is invoked via model mymod-llama3.1.

Before You Write Code

  1. Read the Custom Modules guide: docs/5.2.1.-Harbor-Boost-Custom-Modules.md
  2. Scan existing modules in services/boost/src/modules/ to find similar functionality you can reuse or learn from. There are 17+ built-in modules covering reasoning chains, prompt rewriting, structured output, artifacts, and more.
  3. Read the Built-in Modules reference: docs/5.2.3-Harbor-Boost-Modules.md

Understanding the available primitives (chat, llm, config, selection, log) saves you from reinventing patterns that already exist.

Module Structure

Every module is a single .py file with two required exports:

ID_PREFIX = 'my_module'

async def apply(chat: 'Chat', llm: 'LLM'):
    # Module logic here
    pass

Required Exports

Export Type Purpose
ID_PREFIX str Unique identifier. Becomes the model prefix (e.g., mymod-llama3.1). Use lowercase, short, memorable names.
apply async def(chat, llm) Entry point called for every matching completion request.

Recommended Exports

Export Type Purpose
DOCS str Markdown documentation shown in the Boost modules reference. Include a description, parameters, and usage examples.
logger Logger Created via log.setup_logger(ID_PREFIX) for consistent, filterable logging.

Core Primitives

chat — The Conversation

Chat is a linked list of ChatNode objects. The tail is the most recent message.

Read the full file on GitHub · 204 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. 2mo ago First seen · 204 lines · 116 tokens per session scan A bcef6929ce49

Subscribe to this mod's changes

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

Related

new-boost-module compared with skills from other repositories

new-boost-module next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
new-boost-moduleav/harborSkill3.3k6d agoApache-2.0A116Claude Code, Codex
groq-inferencesynthetic-sciences/openscienceSkill4.3k2d agoApache-2.0A77Claude Code, Codex
background-taskvstorm-co/full-stack-ai-agent-templateSkill2.0k7d agoMITA62Claude Code
channel-botvstorm-co/full-stack-ai-agent-templateSkill2.0k7d agoMITA53Claude Code
bun-file-iosynthetic-sciences/openscienceSkill4.3k2d agoApache-2.0A49Claude Code, Codex
protocolsio-integrationsynthetic-sciences/openscienceSkill4.3k2d agoApache-2.0B85Claude Code, Codex
opensrcvercel-labs/opensrcSkill3.0k1mo agoApache-2.0A103Claude Code