harbor-next CLAUDE.md

harbor-next CLAUDE.md is an instructions file for coding agents from container-registry/harbor-next. It costs 531 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/container-registry/harbor-next/claude-md
Clone the repo
git clone --depth 1 https://github.com/container-registry/harbor-next

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 531 This file is loaded in full into every session.
When invoked 531 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00531 $0.00531
Opus 5 $0.00266 $0.00266
Sonnet 5 $0.00106 $0.00106
Haiku 4.5 $0.00053 $0.00053

Measured yesterday against content hash 94bbf02d9692, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 yesterday.

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 prose is extracted and rendered under ## Highlights 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. 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.

Registry

Default: 8gears.container-registry.com/8gcr/. Override with REGISTRY_ADDRESS / REGISTRY_PROJECT. Publishing needs REGISTRY_USERNAME / REGISTRY_PASSWORD secrets.

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. yesterday 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 (30 stars, last pushed today), licensed Apache-2.0. It adds 531 tokens to every session, about $0.0027 per session on Opus 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.