Melta Blog
Guides and honest comparisons on running Herdr, Claude Code and Codex from your phone, and the SSH plumbing underneath.
-
The guard and its key shipped together. Every open tab was locked out
A web app added a sign-in check to one call and, in the same release, the code that sends the token. Tabs left open from before the deploy kept the old code, and every price push from them was refused. What happened, and the fixes anyone can apply.
-
A fallback of zero made “no price” a price
A reseller app fell back to zero when an item had no price. The server stored the 0, nothing could list it, and the message said to re-scan, which gave 0 again. What happened, and the fixes anyone can apply.
-
The outage I reported was the one my checks were causing
One step of a sign-up flow crashed the whole server when loaded directly. I reported errors on and off, then found my own re-loads were most of them. What happened, and the fixes anyone can apply.
-
The pause lived in one worker's memory
A breaker paused an outside price vendor for 5 minutes and showed "Back soon". It worked for one vendor and not the other: the pause sat in one worker's memory, and the other vendor's answer came from a different worker.
-
It changed 8 of 992 and never said why
A pricing tool checked all 992 of a user's items and repriced 8. Its summary said "no match 687", and the user blamed a plan limit that does not exist. How to show whose rule said no, with counts that add up.
-
The guard checked too high, never too low
A listing tool copied the featured used offer's price. A guard caught prices too high, nothing checked too low, and the flagged winner was often a worse grade. How a one-way guard hides a hole, and five fixes.
-
The undo job said done. One percent never came back
A pricing tool raised 5,760 prices for the night and put them back in the morning. The undo job said done. 56 prices, about 1%, were still raised. Three general traps, and how to make done mean the end state.
-
A green run that shipped nothing: when a skipped job counts as success
A CI workflow that ships phone app updates went green about 40 times in six days and delivered nothing: the publish job was skipped, and a skipped job does not fail a run. Read job conclusions, not the run's, and make the skip loud.
-
Two self-hosted runners on one host share more than you think
Two self-hosted CI runners on one Linux box hit three failures on day one: a log path in the shared /tmp, ports held by processes that never exited, and a reused workspace missing directories. A hosted runner cleaned all three up for free; on your own machine that job is yours.
-
How to screenshot a write-heavy flow on a real account without writing anything
A reviewer needed the real screens of a new flow that saves, schedules and re-adds, on a real account, before merge. Fake the API answers, block the database writes, and watch for the one branch the record's own state picks.
-
An “exactly one” lookup that reads two as none
A chat bot door told a user our agent was closed, three times in a row, while it was open in the app. The lookup returned a match only when exactly one session looked right. A worker session made two, and two was read as none.
-
The cheapest guard for a mirrored pipeline is a count against the source
A seller tool mirrored each seller's orders from a marketplace API and showed profit from the copy. For 26 accounts the orders had quietly stopped, about 13,200 in all, and no screen said so. A nightly per-account count against the source would have caught it on day two.
-
Splitting a long agent build into blocks cost 8x more tokens
We built a controller that sends long agent builds in 8-step blocks with a checkpoint between them, to keep context from rotting. Measured first, it read 811K cached tokens where one prompt read 97K. Every block is a new first turn that re-reads the cached prefix. Count turns before you split.
-
One expired secret looked like 861 revoked customers
An app-level OAuth client secret expired, every per-seller API call returned 403, and a nightly sweep read each one as a seller revoking access, parking 861 sellers for a week. The rule: an error that hits everyone at once is a shared outage, not many individual facts.
-
What a worker needs in its context to finish in the fewest calls
A coding agent given the whole repo explores before it works. A short brief with eight fixed sections, a lean start, a secrets fence and a receipt lets it start at the right file. How we measure what the brief missed, and turn misses into the next brief.
-
A draft PR never gets reviewed: four false rounds in one day
Our agent pipeline opened pull requests as drafts, the reviewer skipped drafts, and the pipeline read "no score" as "failed" and sent the agent back to work. Four times in one day. The general rule: automation must tell absent from negative.
-
A 300 KB file is a token leak
A coding agent that reads a big source file whole pays for it on every request that follows. Grep first, read a line range, name ranges in the brief, and keep files small. With an honest example: our own 323 KB, 5,833-line file.
-
Your agent's cost estimate is not a measurement
A routing model said a coding agent would use 51% fewer tokens, 728K down to 360K. It was a formula, not a count. What to record per task from the agent's own transcript instead, and how to tune settings from it without fooling yourself.
-
Teleport a Claude Code session between any two of your computers, in either direction
Teleport moves a running Claude Code session's work between any two computers you have in Melta, in either direction, with one tap. Laptop to server, server to laptop, server to server; the work travels on a git branch and secrets stay behind.
-
What a Claude Code session costs at startup, and how to cut it
Measured on one machine and one repo: a normal Claude Code start used 30.8K input tokens for a one-word prompt, 27.7K with MCP servers off and 18.7K in safe mode. About 11.1K is the system prompt and built-in tools, which nothing removes. How to measure your own.
-
Run Claude Code on Windows from your phone in one press
One line pasted into PowerShell as administrator turns on Windows' SSH server, allows your phone's key, can sign the PC in to Tailscale, installs Herdr in Ubuntu (WSL) and keeps it running with a sign-in task. What each step does and what a warn line means.
-
How to wake a Mac remotely, and keep it awake for SSH
You usually can't wake a sleeping Mac from outside your home network, so the fix is to stop it sleeping. The System Settings switch for each macOS version, the pmset and caffeinate commands, MacBook lid rules, and what Wake-on-LAN can and can't do.
-
Can you use a terminal on an iPhone? What works, and what you actually want
Yes, with an app. iOS has no built-in Terminal, so you choose between a local shell such as a-Shell or iSH, an SSH client that shows another computer's terminal, or an app built for one remote job. Here is what each really is and which to pick.
-
How to SSH into your computer from outside your network without port forwarding
You can SSH into a computer behind a home router without port forwarding. Put both devices on a mesh VPN such as Tailscale, or use Cloudflare Tunnel or a reverse SSH tunnel through a VPS. What each one installs, costs and exposes, and which suits a phone.
-
How to SSH into a Raspberry Pi from your iPhone or Android phone
To SSH into a Raspberry Pi from a phone, enable SSH on the Pi (it is off by default), find its address, and connect with any SSH app as the user you created. Covers Raspberry Pi Imager, headless setup, keys, and reaching the Pi from outside your network.
-
Mosh vs SSH: which should you use from a phone?
Mosh keeps a terminal usable on bad mobile networks: it runs over UDP, survives IP changes and sleep, and echoes typing instantly. SSH does more and needs nothing extra. How they differ, what Mosh cannot do, and when plain SSH with tmux is enough.
-
Claude Code and tmux: setup, scrolling, and keeping sessions alive
Run Claude Code inside tmux so it survives a closed terminal or a dropped SSH connection. A minimal setup, the ~/.tmux.conf lines that matter (Anthropic documents three of them), and how to scroll up now that Claude Code has two renderers.
-
Claude Code Remote Control not working or keeps disconnecting? What to check
Claude Code Remote Control fails for a short list of reasons: the wrong login or plan, an API key overriding your subscription, an old version, a stopped process, a sleeping computer or a network change. How to tell which one it is, and what to do if it still drops.
-
Too many Claude Code permission prompts? How to reduce them safely
Claude Code asks before shell commands, file edits and network access. To cut the prompts safely, update so auto mode is available, allow the commands you run constantly, turn on the Bash sandbox, and keep deny rules for secrets. Exact settings below.
-
Running Claude Code on a VPS: setup, requirements, and using it from your phone
Claude Code runs on a headless VPS with Ubuntu 20.04+, 4 GB of RAM and one install command. You sign in by opening a link on another device and pasting a code back. Full setup, lockdown, and what Anthropic's terms say about it.
-
How to get Claude Code notifications on your phone when it finishes or needs approval
Claude Code can push to your phone through the Claude app when Remote Control is on. For everything else, a Notification hook in settings.json and a push service such as ntfy does it in a dozen lines. Here is the exact config, what each hook event means, and the limits.
-
Herdr vs tmux for AI coding agents: which multiplexer?
Herdr vs tmux, compared honestly. Both keep your agents alive when you disconnect. Herdr also knows which pane is an agent and whether it's working, blocked or done. When that matters, when tmux's ubiquity wins, and how to try Herdr without giving up tmux habits.
-
Tailscale SSH from iPhone or Android to your Mac or Linux box
Can you SSH from an iPhone to a Mac? Yes, in ten minutes. Step by step: Tailscale on both devices, Remote Login on the Mac, an SSH key made on the phone, MagicDNS names instead of IPs, and the settings that stop your computer dropping off the network.
-
How to run Claude Code from your phone (2026)
Claude Code on your phone, remotely: keep it running on your own Mac or Linux box and drive it from your phone: Tailscale for the connection, SSH for control, Herdr so nothing dies when you disconnect. Every option compared, including Anthropic's Remote Control.
-
Herdr cheat sheet: keys, commands and the agent status model
The Herdr keybindings you use every day, the CLI commands worth knowing (agent prompt, agent wait, attach over SSH), what idle, working, blocked and done mean, and the settings that matter for phone access.
-
Fix SSH from your phone: permission denied, timeouts, host key changed, and reconnects
The errors you hit connecting a phone to your own computer, in the order they usually happen, with the actual cause of each and the fix. Covers Tailscale, Mac Remote Login, keys and permissions, sleeping computers, and Android dropping connections.
-
The best phone apps for Claude Code and Codex in 2026
An honest look at every way to run coding agents from an iPhone or Android phone: Anthropic's Remote Control, Moshi, Termius, Blink Shell, Claudette Echo and Melta, with prices, what each needs on your computer, and who each one suits.
-
Moshi vs Melta: an honest comparison
Both put Claude Code and Herdr on your phone. Where Moshi is ahead, where Melta is different, and which one fits how you work.