kkRepo protocol-compat.instructions.md

kkRepo protocol-compat.instructions.md is an instructions file for GitHub Copilot from klboke/kkRepo. It costs 191 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for keeping kkRepo compatible with Nexus, a widely used artifact repository, across package types such as Maven, npm, PyPI, Docker, and others.

In plain words
What is it for?
Use them when changing hosted, proxy, or group repositories, and when adding compatibility tests for package-manager behavior.
Why use it?
They reduce the risk that changes break existing client requests, repository URLs, uploads, downloads, caching, or package lookup behavior.

Instructions file for GitHub Copilot

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/klboke/kkrepo/protocol-compat
Clone the repo
git clone --depth 1 https://github.com/klboke/kkRepo

Made for: GitHub Copilot.

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 kkRepo protocol-compat.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/klboke/kkrepo/protocol-compat.svg)](https://agentmods.dev/instructions/klboke/kkrepo/protocol-compat)
Your own site
<a href="https://agentmods.dev/instructions/klboke/kkrepo/protocol-compat"><img src="https://agentmods.dev/badge/instructions/klboke/kkrepo/protocol-compat.svg" alt="Measured on agentmods" height="20"></a>
Per session 191 This file is loaded in full into every session.
When invoked 191 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 $0.00191 $0.00191
Opus 5 $0.00096 $0.00096
Sonnet 5 $0.00038 $0.00038
Haiku 4.5 $0.00019 $0.00019

Measured 4d ago against content hash bc8dc70ceb07, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kkRepo protocol-compat.instructions.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 4d 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.

.github/instructions/protocol-compat.instructions.md · 14 lines

What it actually says

Protocol Compatibility Instructions

  • Check the official protocol and Nexus behavior before changing hosted, proxy, or group repository behavior.
  • Keep URL layout compatible with /repository/<repo>/... unless a protocol-specific endpoint requires another layout.
  • For hosted writes, preserve write policy, checksum, metadata, and error response semantics.
  • For proxy repositories, treat upstream status, headers, cache TTLs, negative cache, conditional requests, and body-read failures carefully.
  • For group repositories, preserve member ordering and deterministic conflict handling.
  • Add or update black-box compatibility tests under compat-test when protocol behavior changes.
  • Do not mark protocol work complete until real client behavior or compatibility tests cover the changed path.
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. 4d ago First seen · 14 lines · 191 tokens per session scan A bc8dc70ceb07

Subscribe to this mod's changes

kkRepo protocol-compat.instructions.md is an instructions file published in the GitHub repository klboke/kkRepo (258 stars, last pushed 4d ago), licensed Apache-2.0. It adds 191 tokens to every session, about $0.0010 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-08-30.