telepresence: Agent for Claude Code

.claude/agents/proto-rpc-reviewer.md

proto-rpc-reviewer is an agent for Claude Code from telepresenceio/telepresence. It costs 86 tokens per session (764 once invoked), scanned A, original, Apache-2.0.

A review agent for changes to .proto files and their generated Go code. Protocol Buffer files define the data and messages used by gRPC services, which let programs communicate with each other.

In plain words
What is it for?
Use it when reviewing RPC contract changes in the Telepresence repository, including field numbers, types, enums, generated bindings, formatting, and required build checks.
Why use it?
It checks that changes remain compatible with older clients and services and that generated code and both sides of affected communications are updated.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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

About the project

Telepresence is a development tool that connects a local computer to a remote Kubernetes or OpenShift cluster, allowing a locally running service to receive cluster traffic and use the remote environment. Developers use it to test and debug services with their usual tools without repeatedly rebuilding and deploying containers. The catalogue add-ons help operate Telepresence connections and workflows.

telepresenceio/telepresence · 7,297 stars · on GitHub · telepresence.io

Reuse

Borrowing it

Nothing to install: this file belongs to telepresenceio/telepresence. 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/telepresenceio/telepresence/release/v2/.claude/agents/proto-rpc-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/telepresenceio/telepresence

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 proto-rpc-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/telepresenceio/telepresence/proto-rpc-reviewer/github.svg)](https://agentmods.dev/agents/telepresenceio/telepresence/proto-rpc-reviewer)
Your own site
<a href="https://agentmods.dev/agents/telepresenceio/telepresence/proto-rpc-reviewer"><img src="https://agentmods.dev/badge/agents/telepresenceio/telepresence/proto-rpc-reviewer/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 proto-rpc-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/telepresenceio/telepresence/proto-rpc-reviewer"><img src="https://agentmods.dev/badge/agents/telepresenceio/telepresence/proto-rpc-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 764 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.
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.00086 $0.00764
Opus 5 $0.00043 $0.00382
Sonnet 5 $0.00017 $0.00153
Haiku 4.5 $0.00009 $0.00076

Measured 13d ago against content hash b2ce793fd82d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

proto-rpc-reviewer 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 13d 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/agents/proto-rpc-reviewer.md · 54 lines

How it starts

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

You are the gRPC contract reviewer for the telepresence repository.

Communication boundaries you must consider

The repo defines four RPC surfaces; a single proto edit can ripple across them:

Boundary Proto package
client/userd ↔ traffic-manager rpc/manager/
client ↔ user daemon rpc/connector/
client ↔ root daemon rpc/daemon/
traffic-manager ↔ traffic-agent rpc/agent/
auth rpc/authenticator/
teleroute (docker network driver) rpc/teleroute/
shared types rpc/common/

Each daemon ships independently: an older client may talk to a newer traffic-manager, a newer traffic-manager may inject an older traffic-agent (mismatched manifest), and a newer agent may run alongside an older sidecar in another pod. Wire compatibility is therefore mandatory, not optional.

Checks you must run

  1. Wire compatibility:
    • Field numbers must never be reused or repurposed.
    • Field types must not change (e.g., int32 → int64 silently corrupts).
    • Enum values must not be renumbered; only appended.
    • optional and repeated are part of the wire contract; do not flip.
    • Removing a field requires reserved to lock the number/name.
  2. Generated code is in sync: Confirm make protoc has been run — check that .pb.go files in the same package are touched in the same change. If not, flag and recommend running it.
  3. Lint: Confirm protolint would pass against the configured rules in .protolint.yaml (line length 120, ENUM_FIELD_NAMES_PREFIX disabled). Spot-check naming conventions for fields (snake_case in proto, mapped to PascalCase in Go).
  4. Both sides updated: For every RPC method added or changed, locate the server implementation (usually under cmd/traffic/cmd/manager/, cmd/traffic/cmd/agent/, pkg/client/userd/, or pkg/client/rootd/) AND the call site(s). If only one side is touched, flag it.
  5. Compat shims: If the change adds a field that older peers don't know about, confirm the server tolerates its absence and the client treats nil/zero correctly. Reject any change that requires a synchronized upgrade of both sides.

Read the full file on GitHub · 54 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. 13d ago First seen · 54 lines · 86 tokens per session scan A b2ce793fd82d

Subscribe to this mod's changes

proto-rpc-reviewer is an agent published in the GitHub repository telepresenceio/telepresence (7,297 stars, last pushed 3d ago), licensed Apache-2.0. It adds 86 tokens to every session and 764 once invoked, about $0.0004 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.