telepresence: Instructions file for Codex

AGENTS.md

telepresence AGENTS.md is an instructions file for Codex, OpenCode from telepresenceio/telepresence. It costs 4,458 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,293 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,458 This file is loaded in full into every session.
When invoked 4,458 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.04458 $0.04458
Opus 5 $0.02229 $0.02229
Sonnet 5 $0.00892 $0.00892
Haiku 4.5 $0.00446 $0.00446

Measured 8d ago against content hash 90ceb1e402c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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 · 446 lines

How it starts

The opening of the file, as written. The whole thing — 446 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 · 446 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. 8d 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,293 stars, last pushed 13d ago), licensed Apache-2.0. It adds 4,458 tokens to every session, about $0.0223 per session on Opus 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

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens