vzt-ssh-phone: Instructions file for Codex

AGENTS.md

vzt-ssh-phone AGENTS.md is an instructions file for Codex, OpenCode from vonzelle-vzt/vzt-ssh-phone. It costs 1,340 tokens per session, scanned C, original, MIT.

A set of AGENTS.md instructions for configuring a Windows PC so an AI coding agent can be used remotely from a phone over SSH. SSH is a way to open a secure command-line session on another computer, while Tailscale provides the private network connection.

In plain words
What is it for?
Installing and configuring the SSH server, Tailscale, optional AI command-line tools, device authorization, and connection checks.
Why use it?
It reduces the setup work and identifies the few steps that still require a person, such as approving a security prompt and signing in.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is vonzelle-vzt/vzt-ssh-phone's own configuration. It tells Codex and OpenCode how to work on vzt-ssh-phone 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 vzt-ssh-phone configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vonzelle-vzt/vzt-ssh-phone. 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/vonzelle-vzt/vzt-ssh-phone/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/vonzelle-vzt/vzt-ssh-phone

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 vzt-ssh-phone AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vonzelle-vzt/vzt-ssh-phone/agents-md"><img src="https://agentmods.dev/badge/instructions/vonzelle-vzt/vzt-ssh-phone/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,340 This file is loaded in full into every session.
When invoked 1,340 The same file — it is already loaded in full.
Security scan C 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.01340 $0.01340
Opus 5 $0.00670 $0.00670
Sonnet 5 $0.00268 $0.00268
Haiku 4.5 $0.00134 $0.00134

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

Security

Grade C, and why

vzt-ssh-phone AGENTS.md scanned grade C 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 12d 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- Mac/Linux: `ssh-keygen -t ed25519` then `cat ~/.ssh/id_ed25519.pub`.
AGENTS.md · 77 lines

How it starts

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

AGENTS.md — agent takeover playbook for vzt-ssh-phone

Audience: an AI coding agent (Claude Code, OpenAI Codex, Gemini CLI, etc.) running in a terminal on the user's Windows PC. This file tells you how to take over and set up remote phone→PC SSH for the user with the least possible effort on their part — drive it yourself, headless, and only hand back the few steps a human physically must do.

Goal

Get the user able to ssh <user>@<tailscale-ip> from their phone and run a CLI (you). Install the SSH server + Tailscale + (optionally) the AI CLIs, authorize the user's device key, and verify — bundling everything so the user interacts the absolute minimum.

The 3 things only a human can do (everything else is yours)

  1. Approve the UAC elevation prompt (once). It renders on the secure desktop — no software can click it.
  2. Sign into Tailscale in the browser window that opens (once).
  3. Sign into each AI CLI in the browser the first time (once, locally) — first-run auth opens on the PC, not the phone.

Plan around these: do everything else automatically, and tell the user clearly when each click is needed.

Procedure

1. Get the repo

If not already present, clone or download it, then cd into it:

git clone https://github.com/vonzelle-vzt/vzt-ssh-phone
cd vzt-ssh-phone

2. Get the user's device public key (recommended)

Ask the user to generate a key on the device they'll connect from and paste the public line:

  • Phone SSH app (Termius/Blink): Generate Key → ED25519 → copy public key.
  • Mac/Linux: ssh-keygen -t ed25519 then cat ~/.ssh/id_ed25519.pub.

Never ask for a private key. If they can't do this yet, run the install without -PublicKey and authorize the key later (re-run with -PublicKey).

3. Launch the installer ELEVATED and headless, with a status file you poll

Pick an absolute status path (the elevated child runs from system32, so relative paths won't resolve). Choose the CLI(s) to install — typically include the one you are.

Read the full file on GitHub · 77 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. 12d ago First seen · 77 lines · 1,340 tokens per session scan C 74a2bfab794e

Subscribe to this mod's changes

vzt-ssh-phone AGENTS.md is an instructions file published in the GitHub repository vonzelle-vzt/vzt-ssh-phone (1 stars, last pushed 1mo ago), licensed MIT. It adds 1,340 tokens to every session, about $0.0067 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

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,126 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

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

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