Webページの移動やフォーム入力、クリックをエージェントに任せ、情報抽出や画面保存、操作前後の比較まで行います。ブラウザ作業の自動化やWebアプリの確認に使えるスキル。
- フォーム入力やクリックを自動化したいとき
- Webページのテキスト抽出
- ページのスクリーンショット・PDF保存
Stripeの決済・購読イベントをローカル環境へ送り、署名検証や受信処理を確かめるスキル。テスト用の時刻を進め、継続課金の流れも検証します。
Run Stripe webhook smoke tests and billing lifecycle simulations for stripe
実行スコア 未検証
インストール方法を見るStripeのWebhook(イベント通知)をローカル環境へ転送し、決済や購読イベントの受信処理を検証します。署名なしの通知が400、正しい署名付きの通知が2xxを返すことや、ログのイベントID・種別を確認します。Test Clocksでテスト用の時刻を進め、課金のライフサイクルも調べます。
Webhookの基本動作を確認したいときや、署名エラーの原因を調べたいときに向いています。購読更新など、時間の経過に伴う処理の検証にも使えます。
Stripe CLIと、http://localhost:8700で動くriptide-apiを前提とします。STRIPE_WEBHOOK_SECRETは通知経路に対応する値が必要で、CLI転送用とDashboardの値は交換できません。Test Clocksはテストモードで使い、readyになるまで待ちます。Dashboardの設定や実環境の接続先選択は手動または利用者確認の対象です。ngrokは公開HTTPSの接続先が必要な場合に使います。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Default to Stripe CLI forwarding for local work. Use ngrok only when the user specifically needs Stripe to deliver to a public HTTPS endpoint.
export STRIPE_WEBHOOK_SECRET="$(stripe listen --print-secret | tr -d '\r\n')"
LISTENER_LOG=/tmp/stripe-billing-verification/stripe-listen.log
mkdir -p "$(dirname "$LISTENER_LOG")"
stripe listen --forward-to http://localhost:8700/webhooks/stripe \
2>&1 | tee "$LISTENER_LOG"
stripe trigger payment_intent.succeeded
stripe trigger customer.subscription.created
curl -i http://localhost:8700/webhooks/stripe \
-X POST \
-H 'content-type: application/json' \
-d '{}'
stripe test_helpers test_clocks create --frozen-time <unix-ts>
stripe test_helpers test_clocks advance <clock-id> --frozen-time <unix-ts>
riptide-api is running on http://localhost:8700stripe listen --print-secretSTRIPE_WEBHOOK_SECRETstripe listen --forward-to http://localhost:8700/webhooks/stripe process and tee its output to a file so the initial readiness output is preserved even though the process stays attached by designstripe trigger ...STRIPE_WEBHOOK_SECRET must match the delivery path in usestripe listen --print-secret is the preferred non-interactive way to capture the local forwarding secret because it prints only the secret and exits. It does not keep the listener running.
When starting the long-running Stripe listener, always tee its output to a file so you keep the immediate readiness lines and forwarded event feedback:
LISTENER_LOG=/tmp/stripe-billing-verification/stripe-listen.log
mkdir -p "$(dirname "$LISTENER_LOG")"
stripe listen --forward-to http://localhost:8700/webhooks/stripe \
2>&1 | tee "$LISTENER_LOG"
tee keeps the live terminal output visible and also saves it for later inspection"$LISTENER_LOG" to confirm forwarding, event ids, and response codesRiptide dev logs live in:
~/.humanlayer/riptide/logs/
To list recent dev logs:
ls -tr -la ~/.humanlayer/riptide/logs/ | tail -n 10
riptide-daemon-dev-... files when checking daemon-side errorsriptide-api-dev-... files when checking webhook handler behaviorexport STRIPE_WEBHOOK_SECRET="$(stripe listen --print-secret | tr -d '\r\n')"
LISTENER_LOG=/tmp/stripe-billing-verification/stripe-listen.log
mkdir -p "$(dirname "$LISTENER_LOG")"
stripe listen --forward-to http://localhost:8700/webhooks/stripe \
2>&1 | tee "$LISTENER_LOG"
400:curl -i http://localhost:8700/webhooks/stripe \
-X POST \
-H 'content-type: application/json' \
-d '{}'
stripe trigger payment_intent.succeeded
stripe trigger customer.subscription.created
stripe trigger customer.subscription.updated
2xx for valid signed events and that logs include event id and type.If you need to confirm the webhook made it through the rest of the local stack, also check the latest files in ~/.humanlayer/riptide/logs/.
Use Test Clocks for time-based billing scenarios in Stripe test mode.
readyImportant constraints:
Safe to automate:
stripe listen --print-secretstripe trigger smoke events~/.humanlayer/riptide/logs/ to confirm daemon or API-side errorsKeep manual or human-confirmed:
Check whether:
STRIPE_WEBHOOK_SECRET matches the active delivery path--print-secret used the same Stripe account and modestripe listen --print-secret succeeded, but forwarding does not happenThat is expected. Start the long-running listener separately:
LISTENER_LOG=/tmp/stripe-billing-verification/stripe-listen.log
mkdir -p "$(dirname "$LISTENER_LOG")"
stripe listen --forward-to http://localhost:8700/webhooks/stripe \
2>&1 | tee "$LISTENER_LOG"
List recent dev logs and inspect the newest -dev- file for the component you need:
ls -tr -la ~/.humanlayer/riptide/logs/ | tail -n 10
Use riptide-daemon-dev-... for daemon issues and riptide-api-dev-... for webhook-route issues.
stripe trigger does not match a real billing flowThat is also expected. stripe trigger is for smoke testing route acceptance and basic event intake. Use Test Clocks for lifecycle progression.
docs/stripe-billing-webhook-testing.md.claude/skills/stripe-billing-verification/references/cli-and-test-clocks.mdまだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Webページの移動やフォーム入力、クリックをエージェントに任せ、情報抽出や画面保存、操作前後の比較まで行います。ブラウザ作業の自動化やWebアプリの確認に使えるスキル。
曖昧で読みにくい英文を、語の意味をそろえた短い能動態の文へ書き直すスキル。指示文やツール説明を見直し、修正理由と変更前後を表で確認できます。
GitHubのPRの状態、レビューの会話、CI失敗のログを専用スクリプトで収集し、変更の確認状況や未解決の指摘、失敗したジョブとステップを調べるスキル。
リリース時に対象パッケージの基準バージョンを更新し、関連ファイルの同期と生成結果を検証して、コミットからPRブランチへのプッシュまで進めるスキル。
Git のコミット間や作業中のコードで、関数の呼び出し構造の違いを確認します。呼び出しツリーの表示や、指定した関数へ至る経路の調査にも使えます。
ターミナルからブラウザのクリックや入力、ページ移動を自動化し、通信やエラー、表示速度も調べられる、Chrome DevToolsのCLI操作を支援するスキル。