setup-remote

setup-remote is a command for Claude Code from jujunjun110/product-starter. It costs 14 tokens per session (2,311 once invoked), scanned A, original, MIT.

リモートのVercelとSupabaseをセットアップする.

Command for Claude Code

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 commands/jujunjun110/product-starter/setup-remote
Clone the repo
git clone --depth 1 https://github.com/jujunjun110/product-starter

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 setup-remote

README.md
[![agentmods](https://agentmods.dev/badge/commands/jujunjun110/product-starter/setup-remote.svg)](https://agentmods.dev/commands/jujunjun110/product-starter/setup-remote)
Your own site
<a href="https://agentmods.dev/commands/jujunjun110/product-starter/setup-remote"><img src="https://agentmods.dev/badge/commands/jujunjun110/product-starter/setup-remote.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,311 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00014 $0.02311
Opus 5 $0.00007 $0.01156
Sonnet 5 $0.00003 $0.00462
Haiku 4.5 $0.00001 $0.00231

Measured today against content hash 029cb5056b68, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup-remote 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 today.

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.

.claude/commands/setup-remote.md · 151 lines

How it starts

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

タスク

Vercel と Supabase のリモート環境をセットアップし、本番デプロイ可能な状態にする。 CLI でできることは CLI で行い、ブラウザ操作が必要な箇所はユーザーに明確に案内する。

各ステップで コマンドの存在確認・ログイン状態確認を行い、未準備なら案内する。ユーザーには進捗を都度報告する。


Step 1: Vercel CLI 確認

pnpm vercel --version を実行して確認する。

  • 正常にバージョンが表示される → 次のステップへ
  • エラーの場合vercel がプロジェクトの devDependencies に入っていない。pnpm add -Dw vercel でルートにインストールする

Vercel CLI はプロジェクトの devDependencies で管理する。グローバルインストールは不要。以降のステップでは pnpm vercel で実行する。

Step 2: Vercel ログイン

pnpm vercel whoami でログイン状態を確認する。未ログインの場合:

  • 「Vercel にログインします。ブラウザが開くので認証を完了してください」と案内する
  • pnpm vercel login を実行する
  • アカウントを持っていない場合は「https://vercel.com/signup でアカウントを作成してから再度このコマンドを実行してください」と案内して 終了する

Step 3: Vercel プロジェクトのリンク

.vercel/project.json が存在するか確認する。

  • 存在しない場合: ユーザーに「新規プロジェクトを作成しますか?既存プロジェクトにリンクしますか?」と AskUserQuestion で確認する
    • 新規作成: pnpm vercel project add {プロジェクト名} でプロジェクトを作成した後 pnpm vercel link を実行する。プロジェクト名はリポジトリのディレクトリ名をデフォルトとして提案する
    • 既存リンク: pnpm vercel link を実行する(対話プロンプトでユーザーが選択)
  • 存在する場合: 「既に Vercel プロジェクトにリンク済みです」と報告してスキップ

Step 4: Vercel プロジェクト設定

Vercel のプロジェクト設定を確認・更新する:

# Root Directory の設定
# pnpm vercel link 時に Root Directory を聞かれるので apps/webapp を指定する
# もし設定が漏れていたら Vercel ダッシュボードでの手動設定を案内する

ユーザーに以下の設定を確認・案内する:

項目
Framework Preset Next.js
Root Directory apps/webapp
Build Command pnpm build:vercel
Install Command pnpm install --frozen-lockfile

これらは pnpm vercel link 時の対話で設定されるが、確認として表示する。もし変更が必要な場合は Vercel ダッシュボード (Settings → General) での変更を案内する。

Step 5: Supabase CLI 確認

pnpm supabase --version を実行して確認する。

  • 正常にバージョンが表示される → 次のステップへ
  • エラーの場合 → ビルドスクリプトが未許可。ユーザーに「ターミナルで pnpm approve-builds を実行して、supabase にチェックを入れてください。完了後にもう一度このコマンドを実行してください」と案内して 終了する

pnpm approve-builds はインタラクティブなプロンプトのため、自動実行できない。

Step 6: Supabase CLI ログイン

pnpm supabase projects list を実行してログイン状態を確認する。未ログインまたはエラーの場合:

  • 「Supabase にログインします」と案内する
  • pnpm supabase login を実行する(ブラウザでトークン認証)
  • アカウントを持っていない場合は「https://supabase.com/dashboard でアカウントを作成してから再度このコマンドを実行してください」と案内して 終了する

Read the full file on GitHub · 151 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. today First seen · 151 lines · 14 tokens per session scan A 029cb5056b68

Subscribe to this mod's changes

setup-remote is a command published in the GitHub repository jujunjun110/product-starter (17 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 2,311 once invoked, about $0.0001 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-09-03.