T3 Code
SkillWeb & browsingStart, inspect, pair, or stop T3 Code in the Open Harness sandbox, locally or over a private Tailscale tailnet for phone access. Use this for the headless `t3 serve` harness on port 3773, including tmux launch, preflight diagnosis, pairing URL discovery, minting a pairing URL for a second device, logs, status, and shutdown. T3 Code wraps an already-authenticated Claude Code, Codex, or OpenCode backend. TRIGGER when: user asks to run T3 Code, start `t3 serve`, reach T3 Code from a phone or another machine, pair a device, get the T3 pairing URL, diagnose why T3 Code or the tailnet will not start, check T3 Code status/logs, or stop T3 Code.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the T3 Code skill
What this skill tells your AI
The instructions your AI receives, as published by mifunedev/agro in .agro/skills/t3/SKILL.md and read by ahel’s review.
Run T3 Code as a long-running sandbox process: start t3 serve in tmux, report
the pairing URL, and leave the session running. The operator opens it at
localhost:3773 through host/VS Code port forwarding, or — with --tailscale —
from a phone on the same private tailnet.
npx t3 (no subcommand) is the desktop GUI launcher and is not what this skill
runs. Headless and remote access use npx t3 serve; a new device is added to an
already-running server with npx t3 pair.
Arguments
Arguments received: $ARGUMENTS
ACTION: optional first positional argument; defaultstartstart: run the preflight, then startt3 servein tmux, or report the existing sessionstatus: show whether the tmux session is running and print recent outputurl: print the latest pairing URL from the log/pane if presentpair: mint a fresh one-time pairing URL against the running server, without restarting itlogs: print recent log linesstop: kill the tmux sessionattach: print the attach command; do not attach from an agent rundoctor: run the preflight checks and print one actionable line per failurehelp: print script usage
--session: tmux session name; defaultagent-t3code--port: expected T3 Code port; default3773--log: log file; default/tmp/<session>.log--tailscale: publish over Tailscale Serve on the tailnet (t3 serve --tailscale-serve,t3 pair --tailscale)--tailscale-port: alternate Tailscale Serve HTTPS port; default443
If the user does not specify an action, use start.
Preconditions
T3 pairing is not provider auth. Pairing a phone does not log any provider in, and a provider login does not pair a device. They are two separate credentials on two separate lifecycles.
At least one backend must already be installed and authenticated inside the sandbox before T3 Code is useful:
claude # complete OAuth on first launch
codex login
opencode auth login
T3 Code itself prints a single-use pairing URL such as
http://localhost:3773/pair#token=..., or an
https://<machine>.<tailnet>.ts.net/... URL in Tailscale mode. Treat that URL
and its token as a secret: never paste it into an issue, a PR, a tracked file,
or a persistent log.
The preflight (doctor, and the first step of start) checks:
tmux,npx, andnodeonPATH- Node satisfies
^22.16 || ^23.11 || >=24.10(the T3 server'sengines.node) - with
--tailscale: thetailscalebinary is installed,tailscaledis running and reachable, and the tailnet backend state isRunning - the T3 port answers on loopback when a session is already up
Run
Run the bundled script with the received arguments:
bash "$CLAUDE_SKILL_DIR/scripts/t3-code.sh" $ARGUMENTS
Launch commands the script emits, verbatim:
| Invocation | Command |
|---|---|
/t3 start | npx --yes t3 serve |
/t3 start --tailscale | npx --yes t3 serve --tailscale-serve |
/t3 start --tailscale --tailscale-port 8443 | npx --yes t3 serve --tailscale-serve --tailscale-serve-port 8443 |
/t3 pair | npx --yes t3 pair |
/t3 pair --tailscale | npx --yes t3 pair --tailscale |
The server always runs under the sandbox tmux convention
(tmux new-session -d -s agent-t3code '... 2>&1 | tee /tmp/agent-t3code.log'),
so it survives a terminal disconnect. It stays bound to container loopback; the
skill never binds T3 Code to a public interface.
For the phone-side recipe and the tailnet session layout, read
references/tailscale-mobile.md. For the tmux
rules, read references/sandbox-processes.md.
Report
After start, report:
- tmux session name and log path
- the exact launch command that was used
- pairing URL if found, otherwise the command to inspect logs
- local URL, normally
http://localhost:3773 - in Tailscale mode, the tailnet HTTPS port and that the URL is the node's MagicDNS name
- that
/t3 pairadds a second device without restarting the server - reminder: over SSH/remote host without a tailnet, use VS Code port forwarding
or see
docs/connecting.md - revocation paths:
t3 auth— issue, inspect, and revoke T3 sessions and credentialstailscale serve --https=443 off— withdraw the Serve mapping (it persists until you do)tailscale logout, or delete the node in the Tailscale admin console — remove the device from the tailnet
Never echo a pairing URL into a file the repository tracks.
For public sharing beyond a private tailnet, use /cloudflared 3773 only after
confirming the operator wants a public bearer URL. Tailscale is private; a
Cloudflared tunnel is not.
Examples
/t3
/t3 doctor --tailscale
/t3 start --tailscale
/t3 pair --tailscale
/t3 status
/t3 logs --session agent-t3code
/t3 stop
Signals
- GitHub stars
- 38
- Forks
- 3
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
t3- Source
- github.com/mifunedev/agro