telepresence: Instructions file for Codex

AGENTS.md

telepresence AGENTS.md is an instructions file for Codex, OpenCode from telepresenceio/telepresence. It costs 5,216 tokens per session, scanned B, original, Apache-2.0.

Contributor instructions for Telepresence, a Kubernetes development tool that lets local services use cluster resources and receive cluster traffic.

In plain words
What is it for?
Use them when developing Telepresence, creating feature branches, preparing signed commits, or checking changes with the required linter.
Why use it?
They reduce release and review mistakes by defining branch, signing, commit-message, and linting requirements.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions AGENTS.md.

This is telepresenceio/telepresence's own configuration. It tells Codex and OpenCode 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 →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is pkgutil --check-signature ../../build-output/Telepresence.pkg.

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,326 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/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/telepresenceio/telepresence

Made for: Codex, OpenCode.

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 telepresence AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/telepresenceio/telepresence/agents-md"><img src="https://agentmods.dev/badge/instructions/telepresenceio/telepresence/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,216 This file is loaded in full into every session.
When invoked 5,216 The same file — it is already loaded in full.
Security scan B 1 finding. 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.05216 $0.05216
Opus 5.5 $0.02086 $0.02086
Sonnet 5.5 $0.01043 $0.01043
Haiku 4.5 $0.00522 $0.00522

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

Security

Grade B, and why

telepresence AGENTS.md scanned grade B with 1 finding 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 20d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo telepresence rootd --logfile - --address :8084
AGENTS.md · 514 lines

How it starts

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

AGENTS.md

This file provides guidance for contributors and AI assistants working with this repository.

Project Overview

Telepresence is a Kubernetes development tool that enables fast local development by connecting your local workstation to a Kubernetes cluster. It allows developers to run services locally while accessing cluster resources and intercepting traffic from the cluster to their local machine.

Git Workflow

  • Never commit directly to the release/v2 branch. Always create a feature branch with a name following the pattern username/topic (e.g., thallgren/fix-dns-resolution).
  • All commits must be signed and signed-off (git commit -s -S).
  • Limit commit message subjects to 72 characters. Do not wrap subjects; rewrite them shorter instead. Wrap commit message body lines at 72 characters by default unless preserving exact external text requires a longer line.
  • Always run make lint and fix every reported issue before pushing. This is non-negotiable — CI runs the same linters and a push with lint errors wastes a CI cycle. If make lint finds problems, fix them in the appropriate commit (use git commit --fixup=<sha> followed by GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash --gpg-sign <base> to fold them in) before pushing.
  • Push the branch and create a pull request for review.
  • Always merge PRs with a merge commit (never squash or rebase).

Design Plans

Major work (multi-file changes, new features, refactors) starts with a written plan under docs/plans/<topic>/, presented for review before implementation begins.

A plan is scaffolding for review, not a lasting artifact. It is removed in the last commit on the PR that implements it. By then, everything in the plan must have been implemented and documented, so the plan no longer has a purpose.

Build Artifacts

The Open Source version of Telepresence consists of three artifacts:

Client-side (runs on developer workstation):

  • telepresence binary - The same binary serves as CLI, user daemon, and root daemon.
  • telepresence Docker image - Used as both user and root daemon when running telepresence connect --docker.

Read the full file on GitHub · 514 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. 20d ago Changed · +2 lines · +33 tokens per session 5f5db0e48a97
  2. 1mo ago Changed · +66 lines · +725 tokens per session 07090fb50ffe
  3. 2mo ago First seen · 446 lines · 4,458 tokens per session scan B 90ceb1e402c1

Subscribe to this mod's changes

telepresence AGENTS.md is an instructions file published in the GitHub repository telepresenceio/telepresence (7,326 stars, last pushed yesterday), licensed Apache-2.0. It adds 5,216 tokens to every session, about $0.0209 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

telepresence AGENTS.md compared with instructions from other repositories

telepresence AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
telepresence AGENTS.mdtelepresenceio/telepresenceInstructions file7.3kyesterdayApache-2.0B5,216Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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