/tpk:bootstrapfrom tpk
Bootstrap a brand-new TesterPayKit project end-to-end from inside a Claude Code session — log in the coordinator account (device-auth via browser), create the project (capturing its UUID), create a payout rule so testers actually earn money, and emit the env-var lines the host app needs. Trigger when the user says "set up TPK for this project", "create a TPK project", "bootstrap TesterPayKit", "onboard this app to TesterPayKit", or asks how to wire a fresh app into TPK. This is the canonical "first-touch" skill — runs once per host app. For an already-bootstrapped project the user wants the `status` or `integrate` skill instead.
Ships in tpk. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Goal: from zero to "the host app can submit bug reports to api.testerpaykit.com — and testers get paid for them" in a handful of CLI calls.
tpk CLI installed (which tpk returns a path). If missing, run
the cli-install skill first.curl -s https://api.testerpaykit.com/health returns
{"status":"healthy",...}. If not, surface that to the user and
stop — there is nothing to bootstrap against.Check current login state.
tpk --json whoami 2>&1
not logged in → step 2.Log in (device-auth is the primary path).
tpk login
This opens the browser to a verification page on the web console; the user approves the CLI session there (they must be signed in to app.testerpaykit.com via magic link). The CLI polls until approved and stores the JWT. Coordinator accounts are invite-only — if the user has none, stop and point them to [email protected].
There is no password login (removed in tpk_cli 0.3.0; the API dropped
it with the magic-link migration). Non-interactive / CI runs pass a
stored JWT with the global --token flag — never log it.
Pick a project bundle-id. For a Flutter app:
awk -F'= ' '/PRODUCT_BUNDLE_IDENTIFIER/ {print $2}' ios/Runner.xcodeproj/project.pbxproj | head -1grep applicationId android/app/build.gradle*
For a non-Flutter host, ask the user for a reverse-DNS bundle id.Check if a project already exists for that bundle-id.
tpk --json project get --bundle-id <bundle-id> 2>&1
{"id":"...", ...} → reuse, skip step 5.Create the project.
tpk --json project create \
--name "<HumanName>" \
--bundle-id <bundle-id> \
--description "<one-liner>"
Capture the id field — that's the project UUID.
Create a payout rule — REQUIRED for paid testing. Without an active payout rule the server computes €0 for every tester submission. "SDK integrated" does not mean "testers get paid" until this exists:
tpk --json payout-rule create <project-uuid> \
--name "Standard" \
--base-amount 5.00 \
--per-minute-rate 0.25 \
--currency EUR \
--max-payout 25.00
Ask the user for the amounts — they are the coordinator's budget
decision, not a default to guess. --upsert replaces an existing
active rule (without it the server returns 409 if one exists).
Verify with tpk payout-rule list.
(Optional) Enable recruiting.
If the user wants testers to find and apply to the project via the
TPK job board, recruiting is switched on in the web console
(project → Recruiting tab on app.testerpaykit.com). Point the user
there; check the pipeline later with tpk job list and
tpk job applications <project-uuid>.
Emit the wiring snippet. Print to the user:
TPK project created: <name> (<bundle-id>)
UUID: <uuid>
Payout rule: <name> — base <x> + <y>/min (<currency>)
Pass this UUID to your app's TPK SDK — the `integrate` skill wires
it per platform:
Flutter: flutter run --dart-define=TPK_PROJECT_ID=<uuid>
Expo: EXPO_PUBLIC_TPK_PROJECT_ID=<uuid>
Web: NEXT_PUBLIC_TPK_PROJECT_ID=<uuid> (or VITE_TPK_PROJECT_ID)
Hand off to the integrate skill if the host app doesn't yet
have a bridge file — that one handles the actual SDK wiring.
tpk CLI — see cli-install.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub moinsen-dev/testerpaykit --plugin tpkOther plugins' skills for the same job
8 skills in this plugin
/cli-installInstall the `tpk` TesterPayKit CLI globally from pub.dev so it is on PATH and usable from any directory. Trigger when the user says "install tpk", "install TesterPayKit CLI", "set up tpk", "global tpk", or asks how to make `tpk` reachable from any terminal. Also trigger on `command not found: tpk`. Installs the `tpk_cli` package (the `tpk` CLI, plus `tpk_mcp`, a local read-only MCP server).
/connectConnect this Claude Code setup to the remote TesterPayKit MCP server so Claude can order tests with real human testers and read their results. Trigger when the user says "connect TesterPayKit", "tpk connect", "set up the TPK MCP", "order a test with real testers", "get real testers on this", or when the `testerpaykit` MCP server shows as failed / 401 / not connected. Also covers how a test order works and the money rule.
/