harbor-next: Instructions file for Claude Code

CLAUDE.md

harbor-next CLAUDE.md is an instructions file for Claude Code from container-registry/harbor-next. It costs 572 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Harbor Next, a Go and Angular project that manages container images. They describe build, test, release, pull-request, and Git rules.

In plain words
What is it for?
Use them when building or testing Harbor Next, preparing pull requests, applying patches, or creating and publishing container images.
Why use it?
They give a coding agent the project-specific rules needed to make acceptable changes and avoid breaking release automation.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is container-registry/harbor-next's own configuration. It tells Claude Code how to work on harbor-next 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-next configures →

Reuse

Borrowing it

Nothing to install: this file belongs to container-registry/harbor-next. 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/container-registry/harbor-next/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/container-registry/harbor-next

Made for: Claude Code.

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 harbor-next CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/container-registry/harbor-next/claude-md/github.svg)](https://agentmods.dev/instructions/container-registry/harbor-next/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/container-registry/harbor-next/claude-md"><img src="https://agentmods.dev/badge/instructions/container-registry/harbor-next/claude-md/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 harbor-next CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/container-registry/harbor-next/claude-md"><img src="https://agentmods.dev/badge/instructions/container-registry/harbor-next/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 572 This file is loaded in full into every session.
When invoked 572 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00572 $0.00572
Opus 5.5 $0.00229 $0.00229
Sonnet 5.5 $0.00114 $0.00114
Haiku 4.5 $0.00057 $0.00057

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

Security

Grade A, and why

harbor-next CLAUDE.md 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 9d 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.

CLAUDE.md · 42 lines

How it starts

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

Harbor Next

Enhanced fork of goharbor/harbor. Go backend in src/, Angular frontend in src/portal/, build automation via Taskfile.

Commands

task build        # Build Go binaries
task test:quick   # API lint + unit tests
task test:ci      # Full CI pipeline
task images       # Build/push Docker images
task dev:up       # Local dev with hot reload
task apply-patches # Apply branches listed in taskfile/commercial-patches with jj
task release-ready # Verify those patches against a clean clone

Go test/build need generated API first: task build:gen-apis.

For an unsigned local release build and push, authenticate the container engine first, then run task release-images-local RELEASE_VERSION=X.Y.Z IMAGE_TAG=<tag>. It defaults to 8gears.container-registry.com/8gcr-pr and builds both linux/amd64 and linux/arm64.

PRs

  • Branch off main, never push direct.
  • Conventional Commits, capitalized subject: feat: Add Foo, fix: Resolve Bar, upstream: Cherry-Pick Harbor Fix.
  • DCO sign-off required: git commit -s.
  • Squash and merge only — other merge types break release-please.
  • No Co-Authored-By / AI attribution trailers.
  • New features (feat:) must add a ## Release Notes section to the PR description. Its content is extracted and rendered under ## Summary on the GitHub Release. See CONTRIBUTING.md → "Adding Release Notes to Your PR".

Release-please

main uses always-bump-minor; VERSION on main tracks the next development release while .release-please-manifest.json tracks the published release. release-X.Y branches use patch-only versioning. The Helm chart is released only from release-X.Y branches (always-bump-patch); app release commits stamp its appVersion. See deploy/chart/CONTRIBUTING.md. ci:, build:, chore:, test: are hidden from release notes.

exclude-paths: changes touching only .github/, docs/, tests/, or taskfile/ don't bump version — use ci: for CI-only changes.

Read the full file on GitHub · 42 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. 9d ago Changed · +41 tokens per session b46c864cc6c2
  2. 1mo ago Changed d3cfb6c1eb52
  3. 2mo ago First seen · 42 lines · 531 tokens per session scan A 94bbf02d9692

Subscribe to this mod's changes

harbor-next CLAUDE.md is an instructions file published in the GitHub repository container-registry/harbor-next (33 stars, last pushed today), licensed Apache-2.0. It adds 572 tokens to every session, about $0.0023 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-09-03.

Related

harbor-next CLAUDE.md compared with instructions from other repositories

harbor-next CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harbor-next CLAUDE.mdcontainer-registry/harbor-nextInstructions file33todayApache-2.0A572Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode