remote

remote is a command for Claude Code from rjwalters/kicad-tools. It costs 24 tokens per session (30,121 once invoked), scanned F, original, MIT.

A command that starts or reuses a cloud virtual machine on Google Cloud or AWS with the current repository ready, then opens an SSH terminal there.

In plain words
What is it for?
It helps you run coding work on a remote cloud host, check its status, stop it, or delete it.
Why use it?
It removes the setup work of creating a remote machine, copying the repository, and connecting to it manually.

Command for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

Good fit It helps you run coding work on a remote cloud host, check its status, stop it, or delete it.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rjwalters/kicad-tools/remote
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.

Clone the repo
git clone --depth 1 https://github.com/rjwalters/kicad-tools

Made for: Claude Code.

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 remote

README.md
[![agentmods](https://agentmods.dev/badge/commands/rjwalters/kicad-tools/remote/github.svg)](https://agentmods.dev/commands/rjwalters/kicad-tools/remote)
Your own site
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/remote"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/remote/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 remote

Your own site · 80×15
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/remote"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/remote.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 30,121 The whole file, excluding the scripts and references it only reads on demand.
Security scan F 5 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.00024 $0.30121
Opus 5.5 $0.00010 $0.12048
Sonnet 5.5 $0.00005 $0.06024
Haiku 4.5 $0.00002 $0.03012

Measured 28d ago against content hash ea0d50c70402, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade F, and why

remote scanned grade F with 5 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 28d 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.

passwordless-sudo drop-in is installed.

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.

REPO_REMOTE_SSH_KEY=~/.ssh/id_ed25519 # key used for the SSH session (fine to share)

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

path, offer to install it (`curl -fsSL https://claude.ai/install.sh | bash`).

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

`169.254.169.254`) will fail or time out. The dev container gets what it needs

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Hygiene: the client ID is the only value placed in `curl`'s arguments. The
.claude/commands/repo/remote.md · 1,981 lines

How it starts

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

/repo:remote — Remote Dev Session

Stand up (or reuse) a cloud VM with this repository cloned and synced, then open a live SSH session in a new terminal window — landing in the repo, ready to run claude and continue the work on the remote host.

Configuration is read from two layers (see below): shared cloud credentials from ~/.config/repo/remote.env (reused across every repo), with the target repo's .env layered on top for per-repo machine settings — and free to override any shared value. The provisioning credentials are used locally to drive the cloud CLI; they are never copied to the VM.

Usage

/repo:remote                   # Read .env, bring up / reuse the host, open SSH
/repo:remote --configure       # Guided setup: shared creds (~/.config/repo/remote.env) + repo .env (machine)
/repo:remote gcp               # Override REPO_REMOTE_PROVIDER for this run
/repo:remote aws
/repo:remote --status          # List instances created by this command
/repo:remote --verify          # Prove the SSH alias still reaches THIS repo's instance
/repo:remote --attach          # Reconnect: verify the host, then open a session with a FRESH GitHub credential
/repo:remote --down            # Stop instances created by this command
/repo:remote --down --delete   # Terminate/delete them

First time in a repo? Run /repo:remote --configure to build the .env below, then /repo:remote to launch.

The provisioning contract below is implemented once, as an executable script — scripts/repo/repo-remote.sh, installed to .claude/skills/repo/scripts/repo-remote.sh. The interactive flow here is a thin wrapper: it runs the wizard/cost-confirmation UX, and once you say yes it calls that script rather than re-issuing aws/gcloud calls from prose. The same script is the headless entry point a non-interactive caller (e.g. loom's fleet add-worker) invokes directly:

repo-remote up [aws|gcp]              # DRY RUN: print the resolved plan + estimated cost as JSON, create NOTHING
repo-remote up --yes [--json]        # provision (or reuse) with no prompts; requires pre-supplied cost-relevant config
repo-remote up --yes --force         # additionally override the fleet-marker guard (see below)
repo-remote status [--json]          # list instances tagged repo-remote=<name>
repo-remote verify [--json]          # prove the SSH alias still reaches this repo's instance (exit 6 if not)
repo-remote attach [--container|--host] [--command <cmd>]
                                     # verify the host, THEN resolve the GitHub credential, then open a
                                     # session on the existing instance (connect and reconnect; repo#565)
repo-remote down [--yes] [--delete]  # dry-run listing without --yes; stop (or --delete to terminate) with --yes
repo-remote prune [--yes] [--json]   # list (or with --yes remove) stale repo-remote-* SSH aliases; see below

Read the full file on GitHub · 1,981 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. 28d ago Changed · +14 lines ea0d50c70402
  2. 1mo ago Changed · +19 lines c944b74656e7
  3. 1mo ago Changed · +31 lines af9f77cf98d7
  4. 1mo ago Changed · +843 lines c18797376d11
  5. 2mo ago Changed · +318 lines 88782d5f81a0
  6. 3mo ago First seen · 756 lines · 24 tokens per session scan F 4654feee6c99

Subscribe to this mod's changes

remote is a command published in the GitHub repository rjwalters/kicad-tools (77 stars, last pushed 15d ago), licensed MIT. It adds 24 tokens to every session and 30,121 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it F with 5 findings (asks for root, reaches for credential files, downloads and executes remote code). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

remote compared with commands from other repositories

remote next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
remoterjwalters/kicad-toolsCommand7715d agoMITF24Claude Code
cost-optimizewshobson/agentsCommand43k2d agoMITA26Claude Code
deploybutterbase-ai/butterbase-skillsCommand5371mo agoMITA20Claude Code
envvercel/vercel-pluginCommand356yesterdaynoneA35Claude Code
firebase-publishPierry/harness-kitCommand41mo agoMITA20Claude Code
scanprajapatimehul/claude-aws-cost-saverCommand245mo agoMITA6Claude Code
migrationdatabayt/hogwartsCommand19todaynoneA4Claude Code