init-pj

init-pj is a command for Claude Code from jujunjun110/product-starter. It costs 23 tokens per session (1,545 once invoked), scanned A, original, MIT.

プロジェクトの初期セットアップ(前提ツールのインストールからDB構築まで).

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/init-pj
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 init-pj

README.md
[![agentmods](https://agentmods.dev/badge/commands/jujunjun110/product-starter/init-pj.svg)](https://agentmods.dev/commands/jujunjun110/product-starter/init-pj)
Your own site
<a href="https://agentmods.dev/commands/jujunjun110/product-starter/init-pj"><img src="https://agentmods.dev/badge/commands/jujunjun110/product-starter/init-pj.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00023 $0.01545
Opus 5 $0.00012 $0.00772
Sonnet 5 $0.00005 $0.00309
Haiku 4.5 $0.00002 $0.00154

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

Security

Grade A, and why

init-pj scanned grade A with 1 finding 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.

Makes network callslowCapability

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

- 了承を得たら `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` を実行する
.claude/commands/init-pj.md · 114 lines

How it starts

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

タスク

Mac をクリーンインストールした直後の人でもプロジェクトを動かせるよう、前提ツールの確認・インストールからDB構築・開発サーバー起動までを一気通貫で行う。

各ステップで コマンドの存在確認を行い、未インストールなら案内またはインストールする。ユーザーには進捗を都度報告し、何をやっているか分かるようにする。


Step 1: Homebrew

brew --version で確認する。未インストールの場合:

  • 「Homebrew がインストールされていません。インストールしますか?」とユーザーに確認する
  • 了承を得たら /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" を実行する
  • インストール後、シェルのパスが通っているか brew --version で再確認する。パスが通っていなければ eval "$(/opt/homebrew/bin/brew shellenv)" を案内する

Step 2: Node.js

node --version で確認する。未インストール、または v22 未満の場合:

  • brew install node@22 でインストールする
  • インストール後 node --version で v22 以上であることを確認する

Step 3: pnpm

pnpm --version で確認する。未インストールの場合:

  • corepack enable && corepack prepare pnpm@latest --activate でインストールする
  • corepack が使えない場合は npm install -g pnpm にフォールバックする

Step 4: Docker

docker info で確認する。Docker デーモンが起動していない、または未インストールの場合:

  • 未インストール: 「Docker Desktop をインストールしてください: https://www.docker.com/products/docker-desktop/ 」と案内して、インストール完了後に再度このコマンドを実行するよう伝えて 終了する
  • インストール済みだが未起動: 「Docker Desktop を起動してください」と案内して 終了する

Docker Desktop は GUI インストールが必要なため、自動インストールは行わない。

Step 5: 依存パッケージのインストール

node_modules/ が存在するか確認する。なければ pnpm install を実行する。

インストール後、pnpm supabase --version を実行して Supabase CLI が使えるか確認する。 エラーになる場合はビルドスクリプトが未許可なので、ユーザーに以下を案内して 終了する:

  • 「ターミナルで pnpm approve-builds を実行して、supabase にチェックを入れてください。完了後にもう一度このコマンドを実行してください」

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

Step 6: Supabase の初期化と起動

  1. supabase/config.toml が存在しない場合のみ pnpm supabase init を実行する(対話プロンプトにはすべて N で回答)
  2. project_id の設定: リポジトリのディレクトリ名から自動でプロジェクト名を提案し、ユーザーに確認する(AskUserQuestion を使う)。
    • 例: ディレクトリ名が my-awesome-app なら「プロジェクト名を my-awesome-app にしますか?変更する場合は入力してください」と聞く
    • 確定した名前で supabase/config.tomlproject_id を更新する
    • project_id は英数字とハイフンのみ(スペースやアンダースコアはハイフンに変換する)
  3. pnpm supabase start を実行する。ポート競合エラーが出た場合は:
    • supabase/config.toml 内の全ポートを +1000 ずつオフセットする(例: 54321 → 55321)
    • 対象ポート: [api] port, [db] port, [db] shadow_port, [db.pooler] port, [studio] port, [inbucket] port, [analytics] port, [edge_runtime] inspector_port
    • 再度 pnpm supabase start を試みる(最大3回)

Read the full file on GitHub · 114 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 · 114 lines · 23 tokens per session scan A 38c7a0f25516

Subscribe to this mod's changes

init-pj is a command published in the GitHub repository jujunjun110/product-starter (17 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 1,545 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.