remobi AGENTS.md

Project instructions for remobi, a TypeScript tool for monitoring and controlling coding agents from a phone through a web interface.

In plain words
What is it for?
Setting up local development, running tests and checks, building the package, and understanding how the browser and server parts fit together.
Why use it?
They explain the project structure, required tools, development commands, and testing checks in one place.

Instructions file for CodexOpenCode

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/connorads/remobi/agents-md
Clone the repo
git clone --depth 1 https://github.com/connorads/remobi

Made for: Codex, OpenCode.

Per session 2,305 This file is loaded in full into every session.
When invoked 2,305 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.02305 $0.02305
Opus 5 $0.01153 $0.01153
Sonnet 5 $0.00461 $0.00461
Haiku 4.5 $0.00231 $0.00231

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

Security

Grade A, and why

remobi AGENTS.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 2d 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.

AGENTS.md · 152 lines

How it starts

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

remobi

Monitor and control your coding agents from your phone. Touch controls for tmux (or zellij, herdr) over the web. Published on npm as remobi.

Architecture

Pure TypeScript + DOM API — no framework. Transpiles to JS via tsdown for npm distribution. Bundles a browser client via esbuild and serves it from Node.

Stack

  • Node 22+ — runtime
  • pnpm — package manager
  • esbuild — browser client bundle
  • tsdown — transpile TS → JS for npm publish
  • vitest — test runner
  • TypeScript (strict) — no any, discriminated unions for actions
  • Biome — lint + format
  • happy-dom — DOM testing
  • Hono — HTTP + WebSocket server (remobi serve)
  • node-pty — PTY bridge for remobi serve
  • xterm.js — browser terminal rendering

Key Commands

git config core.hooksPath .hk-hooks  # Run once after clone
pnpm test              # Run all tests
pnpm run test:pw       # Playwright e2e tests (chromium + webkit)
pnpm run check         # Biome lint + format check
pnpm run check:fix     # Auto-fix lint + format
pnpm run build         # Deprecated legacy command
pnpm run build:dist    # Transpile for publishing (tsdown)

Local Development

From source (bundles overlay on the fly, no build step):

tsx cli.ts serve                                # localhost:7681, default tmux session
tsx cli.ts serve --port 8080 -- bash --norc     # custom port, bash instead of tmux

From a local build:

pnpm run build:dist && node dist/cli.mjs serve

Conventional Commits

Commits must follow Conventional Commits format, enforced by hk commit-msg hook.

  • Format: type(scope): description
  • Types: feat, fix, chore, docs, refactor, test, ci, perf, style, build, revert
  • Breaking changes: include a BREAKING CHANGE: footer. ! after type/scope is optional shorthand only and must be paired with the footer because semantic-release major detection relies on the footer.

Read the full file on GitHub · 152 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. 2d ago First seen · 152 lines · 2,305 tokens per session scan A f8a5985e1099

Subscribe to this mod's changes

remobi AGENTS.md is an instructions file published in the GitHub repository connorads/remobi (55 stars, last pushed 1mo ago), licensed MIT. It adds 2,305 tokens to every session, about $0.0115 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.