BotCurrent
← Back to examples

Build & debugFrom the makerActs with your OK

Add subscription billing and test it safely

Paid access breaks when billing and app access disagree. Your AI wires them together and tests the flow in test mode.

What happened

Perplexity's blog post shows Computer setting up billing with Stripe and paid-only access with Clerk and Supabase. The post says it builds the change through a GitHub pull request, deploys it and checks a test charge. The user reviews and merges the pull request.

Source: Perplexity · perplexity.ai · Tool: Perplexity Computer

Copy this prompt

Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.

Use it often? Save it as a skill

Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.

Download for Claude (.zip)View the skill file

How to add it
Claude app or claude.ai
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/add-subscription-billing-and-test-it-safely && curl -fsSL https://botcurrent.com/skills/add-subscription-billing-and-test-it-safely/SKILL.md -o ~/.claude/skills/add-subscription-billing-and-test-it-safely/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/add-subscription-billing-and-test-it-safely && curl -fsSL https://botcurrent.com/skills/add-subscription-billing-and-test-it-safely/SKILL.md -o ~/.agents/skills/add-subscription-billing-and-test-it-safely/SKILL.md

More about skills, and open-source skills we checked

Security scanClear13 of 13 checks passed

We check every skill file before we offer it. This one is the prompt above in skill form.

  • Passed Skill file is well formed
  • Passed Runs its own code or programs
  • Passed Connects to the internet from code
  • Passed Touches passwords, keys or private files
  • Passed Deletes or overwrites things in bulk
  • Passed Hidden or scrambled code
  • Passed Tries to override your instructions
  • Passed Invisible characters in the text
  • Passed Sends your data somewhere else
  • Passed Can pay or buy without asking you
  • Passed Downloads or installs other software
  • Passed Has a password or key written into it
  • Passed Asks for admin (sudo) rights

Files scanned: SKILL.md. Links to: botcurrent.com, www.perplexity.ai. Fingerprint: d1931b4cacec. What we check

What you'll get

A patch that adds plans, checkout and paid-only pages, with a test plan for sign-up, cancel and failed payment.

You'll need

  • Your plan names and prices
  • Which pages or features are paid-only
  • Billing test keys, set in your own setup

Before you switch it on

Acts with your OK

If you give this job to an agent that works in your accounts:

Access it needs
Your code repository, Stripe, Clerk and Supabase
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything

Heads up: Billing code needs a second person's review. Run every case in test mode before you turn on live payments.

More details: full instructions, sources and safeguards

Before you begin

This starter creates a design, not billing integration. Credentials, prices, deployment and charges require separate approval; sandbox evidence never establishes production readiness.

Use this in your own AI tool

  1. Copy the starter, then open your own AI tool.
  2. Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
  3. Review the draft and held questions. Any later action needs separate approval.

What you need

Approved plan definitions, prices, trial/cancellation rules and access entitlements.

Application architecture excerpts, authoritative billing-state owner and test-environment description.

An authorized private drafting tool; no secrets, account setup, deployment or charges.

Start here

  1. Map trial, paid, failed and cancelled subscription states to explicit access rules.
  2. Specify duplicate-event handling and effective cancellation dates; hold unknown rules.
  3. Draft implementation scope and sandbox cases covering failed and repeated events.
  4. List required code, security, product, deployment and transaction approvals.
Advanced prompt availability

Advanced prompt

No accepted companion is available for this record. The original material below retains its original status.

Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access

Proposed inputs

  1. Name

    Subscription brief

    Owner

    Product owner

    Minimum scope

    Plan definitions, access rules and cancellation behavior

    Quality check

    Confirm recurring commitment and entitlement boundaries

  2. Name

    Application architecture

    Owner

    Authorized maintainer

    Minimum scope

    Relevant routes, identity/data model and test environment description

    Quality check

    Exclude credentials and identify authoritative billing state

Access and setup — proposed or unknown

Proposed minimum
  1. Begin with a state-transition table and proposed test plan; no account configuration, code execution, deployment or charge.

Compatibility unknowns
  1. Current provider APIs, webhook behavior, test-mode support and exact runtime compatibility are unknown.

External actions requiring approval
  1. Credential creation, billing configuration, deployment and transactions require applicable approval; user review/merge remains explicit.

Source evidence, attribution & limitations

Full source evidence

Official recipe · Coding orchestration

Original task title: Implement and verify subscription billing

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://www.perplexity.ai/en-GB/hub/blog/computer-for-builders

Attributed to: Perplexity

Official recipe
Original action type
coding_agent_orchestration
What the source reports
Configure billing and gated access, implement via PR, deploy, and verify a test charge.
Source outcome limits
This official recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Evidence attribution caveat
This official recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Source approval description
PR review and merge are assigned to the user.
Named tools
Computer; Stripe; Clerk; Supabase; Next.js; GitHub
Model or version
Unknown
Publication date
2026-08-06
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
unknown; not inferred from general product availability
Proposed Canadian adaptation
Proposed: Confirm Canadian service access, applicable privacy requirements, and English/French needs before any pilot.
Recommended approval boundaries
Require code/security review; approve billing products, prices and deployment; use sandbox billing first and explicit transaction approval.
Technical specification & detailed checks
Detailed steps and output format

At a glance

Suggested result
A billing implementation PR and test-charge verification results for the requested subscription flow.Suggested; untested.
Tool
Perplexity ComputerSource-named; check current access.
Suggested inputs
Subscription brief; Application architectureProposed; access notes below.
Human review
Require code/security review; approve billing products, prices and deployment; use sandbox billing first and explicit transaction approval.Suggested boundaries; source approvals below.
Setup notes
Begin with a state-transition table and proposed test plan; no account configuration, code execution, deployment or charge.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Function and scope

Software engineering, Finance · Single task

Editorial classification; no execution or compatibility test is implied.

No tool mapping reviewed for this task.

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

Launching paid access requires billing configuration and application permissions to agree, with a way to check the purchase flow safely.

Suggested task

Configure billing and gated access, implement the changes through a PR, deploy after user review and merge, and verify a test charge.

What you could produce

A billing implementation PR and test-charge verification results for the requested subscription flow.

Where these suggestions come from
  • Core problem: Our interpretation of the task
  • Agent job: Our interpretation of the task
  • Expected output: Our interpretation of the task
  • Relevant job roles: Our interpretation of the task
  • Benefit type: Our interpretation of the task
Suggestions and their limits

Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Before you try it · suggestions untested

Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. A product team launching subscriptions needs payment state and application access to agree across several components. A successful-looking checkout can conceal that cancelled, failed or duplicate events leave users with the wrong entitlements.

  2. This job could make the intended billing/access behavior reviewable before implementation and deployment. Separating test-mode evidence from production operation helps the owner decide whether a proposed change is ready for authorized verification.

Why an agent / simpler alternative

Useful judgment

Map subscription states to access rules, identify cross-system edge cases and connect implementation review with explicit acceptance criteria.

Simpler alternative

Use a supported hosted subscription setup when its access model fits without custom logic.

Unsuitable when

The task requires handling live payment secrets, unapproved charges or production changes without user review.

Expected deliverable and review checks

Proposed artifact

Implementation specification with proposed PR scope, access-state matrix and unexecuted test-charge checklist.

Critical checks
  1. Distinguish test/live modes; cover failed, cancelled and duplicated events; verify access is tied to authoritative state.

Missing output evidence

This overlay adds no new output inspection, execution or validation; consult the referenced canonical source outcome limits.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

Invent subscription events for trial, success, failure, duplicate notification and cancellation; map expected access states on paper.

Acceptance checks
  1. Keep test data separate; expose unspecified states; propose no live charge or automatic merge.

Stop conditions
  1. Stop before credentials, transactions or production changes without required authorization.

Tasks: Build & debugSecurity & compliance

Useful for: Software developerBusiness ownerProduct manager

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
Perplexity ComputerIndependent testing: No
Failure handling, costs and limits

Failure signals and proposed responses

  1. Signal

    A duplicate event creates duplicate entitlement

    Why it matters

    Retries can alter access incorrectly

    Proposed response

    Specify idempotent handling and a test case before implementation.

  2. Signal

    Cancellation changes billing but not access

    Why it matters

    Systems disagree about the user's entitlement

    Proposed response

    Define the intended effective date and reconcile both states.

Effort and cost — unknown

Setup work
  1. Define state ownership and safe test boundaries.

Ongoing review
  1. Owner reviews code and qualified staff inspect authorized test evidence.

Unknowns
  1. Provider configuration, regulatory obligations, integration effort and charges are unknown.

Limits

  1. A proposed billing design cannot establish payment compliance, production reliability or successful subscription collection.

Original task overview & interpretation

Official recipe

Implement and verify subscription billing

Launching paid access requires billing configuration and application permissions to agree, with a way to check the purchase flow safely.

Suggested result

A billing implementation PR and test-charge verification results for the requested subscription flow.

What you need: Source-named agent: Perplexity Computer. Suggested inputs: Subscription brief; Application architecture. Begin with a state-transition table and proposed test plan; no account configuration, code execution, deployment or charge. Workflow costs and current compatibility remain unverified.

Require code/security review; approve billing products, prices and deployment; use sandbox billing first and explicit transaction approval.

Official recipe. BotCurrent has not independently tested this workflow.