whop-apps
Installation
SKILL.md
Whop Apps
A Whop app installs into a business's Whop and renders inside an iframe on whop.com: members use it as an experience in the sidebar, the team uses it as a dashboard view. Your server learns who is looking from a signed token Whop attaches to every request, then checks what that user may see.
Before you start
- Inspect the project first. Note the installed
@whop/sdkversion (node_modules/@whop/sdk/package.json;whop-sdkin Python,whop_sdkin Ruby), the framework, and whether the client targets sandbox or production. On@whop/apior@whop/sdkbelow 2.0, upgrade first (whop-migrate). If a name here doesn't compile, search the installednode_modules/@whop/sdk/reference.mdfor it and trust that over this skill. - Fetch
https://docs.whop.com/developer/apps/overview.mdandhttps://docs.whop.com/developer/guides/authentication.md. If they disagree with this skill, follow the docs and tell the user (see references/skill-feedback.md). Read the changelog (https://docs.whop.com/developer/api/versioning.md) only when you pin or upgrade a version, or a response doesn't match this skill or the docs. - Get the App API key: dashboard → Apps → your app → the hidden
WHOP_API_KEYunder Environment variables. It reaches every account that installed the app. Set up the client withwhop-api. Without that skill: install@whop/sdkand createnew WhopClient({ token: process.env.WHOP_API_KEY })in server-only code (https://docs.whop.com/developer/quickstart.md). - Decide where the app runs.
whop apps initscaffolds an app hosted by Whop (*.whop.site); otherwise you host it and set its URL in the app's Hosting section. - The
whopCLI has no sandbox: every command runs in production. - Other
whop-*skills named here are optional. When one isn't installed, use the matching guide linked fromhttps://docs.whop.com/developer/start.mdinstead.