Borrowing it
Nothing to install: this file belongs to jujunjun110/product-starter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jujunjun110/product-starter/main/.claude/commands/setup-remote.mdgit clone --depth 1 https://github.com/jujunjun110/product-starterWrote 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.
[](https://agentmods.dev/commands/jujunjun110/product-starter/setup-remote)<a href="https://agentmods.dev/commands/jujunjun110/product-starter/setup-remote"><img src="https://agentmods.dev/badge/commands/jujunjun110/product-starter/setup-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.
<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="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00014 | $0.02311 |
| Opus 5.5 | $0.00006 | $0.00924 |
| Sonnet 5.5 | $0.00003 | $0.00462 |
| Haiku 4.5 | $0.00001 | $0.00231 |
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 1mo 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.
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 でアカウントを作成してから再度このコマンドを実行してください」と案内して 終了する
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.
- 1mo ago First seen · 151 lines · 14 tokens per session scan A 029cb5056b68
setup-remote is a command published in the GitHub repository jujunjun110/product-starter (17 stars, last pushed 4mo ago), licensed MIT. It adds 14 tokens to every session and 2,311 once invoked, about $0.0001 per session on Opus 5.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.
Other commands, from other repositories
cost-optimize
Reduce cloud costs across AWS, Azure, and GCP through rightsizing, reserved and spot capacity, storage tuning, and cost monitoring.
deploy
Deploy a frontend (React, Next.js, or static HTML) to a live URL on Butterbase.
env
Manage Vercel environment variables. Commands include list, pull, add, remove, and diff. Use to sync environment variables between Vercel and your local development environment.
firebase-publish
Create or reuse a Firebase project, configure Hosting, and deploy the current static site. Never deletes.
scan
Scan AWS account for cost optimization.
migration
Generate Prisma database migration.