[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698QNBSVAFG4V800YBRZGKA":3,"skill-same:01M698QNBSVAFG4V800YBRZGKA":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M698QNBSVAFG4V800YBRZGKA","convex-billing",null,"Add Stripe billing\u002Fpayments to the Convex app via @convex-dev\u002Fstripe (checkout + webhook + gating).","openclaw\u002Fclawhub","openclaw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252820863?v=4","01M698P3FSAZ6B4R928ZF19KPT","01M698PDMKEC6E49395505BD05",9555,"MIT","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-billing\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"convex billing","convex","billing","dev","payments","stripe","webhook","app","via","checkout","add","stripe billing","gating","2026-11-10 10:12:30",false,"---\nname: convex-billing\ndescription: \"Add Stripe billing\u002Fpayments to the Convex app via @convex-dev\u002Fstripe (checkout + webhook + gating).\"\n---\n\n\u003C!-- GENERATED from convex-agents content\u002Fcapabilities\u002Fbilling.json — do not edit by hand. -->\n\n# Add billing \u002F payments\n\nWire Stripe to Convex using @convex-dev\u002Fstripe: a checkout action, an httpAction webhook registered by the component (signature-verified automatically), subscription state stored in the component's tables, and server-side gating via a query.\n\n## Workflow\n\n1. Install the component: `npm install @convex-dev\u002Fstripe`.\n2. Create `convex\u002Fconvex.config.ts`:\n   ```ts\n   import stripe from \"@convex-dev\u002Fstripe\u002Fconvex.config.js\";\n   import { defineApp } from \"convex\u002Fserver\";\n   const app = defineApp();\n   app.use(stripe);\n   export default app;\n   ```\n3. Store Stripe keys in Convex env (use the `env` micro power): `STRIPE_SECRET_KEY` (sk_test_… \u002F sk_live_…) and `STRIPE_WEBHOOK_SECRET` (whsec_…).\n4. Create `convex\u002Fhttp.ts` to register the webhook route (the component handles signature verification automatically):\n   ```ts\n   import { registerRoutes } from \"@convex-dev\u002Fstripe\";\n   import { httpRouter } from \"convex\u002Fserver\";\n   import { components } from \".\u002F_generated\u002Fapi\";\n   const http = httpRouter();\n   registerRoutes(http, components.stripe, { webhookPath: \"\u002Fstripe\u002Fwebhook\" });\n   export default http;\n   ```\n5. Create `convex\u002Fbilling.ts` with a checkout action and a subscription-gate query:\n   ```ts\n   import { StripeSubscriptions } from \"@convex-dev\u002Fstripe\";\n   import { v } from \"convex\u002Fvalues\";\n   import { components } from \".\u002F_generated\u002Fapi\";\n   import { action, query } from \".\u002F_generated\u002Fserver\";\n   const stripeClient = new StripeSubscriptions(components.stripe, {});\n   export const createSubscriptionCheckout = action({\n     args: { priceId: v.string() },\n     returns: v.object({ sessionId: v.string(), url: v.union(v.string(), v.null()) }),\n     handler: async (ctx, args) => {\n       const identity = await ctx.auth.getUserIdentity();\n       if (!identity) throw new Error(\"Not authenticated\");\n       const customer = await stripeClient.getOrCreateCustomer(ctx, {\n         userId: identity.subject,\n         email: identity.email,\n         name: identity.name,\n       });\n       return await stripeClient.createCheckoutSession(ctx, {\n         priceId: args.priceId,\n         customerId: customer.customerId,\n         mode: \"subscription\",\n         successUrl: `${process.env.SITE_URL ?? \"http:\u002F\u002Flocalhost:3000\"}\u002F?success=true`,\n         cancelUrl: `${process.env.SITE_URL ?? \"http:\u002F\u002Flocalhost:3000\"}\u002F?canceled=true`,\n         subscriptionMetadata: { userId: identity.subject },\n       });\n     },\n   });\n   export const isSubscribed = query({\n     args: {},\n     returns: v.boolean(),\n     handler: async (ctx) => {\n       const identity = await ctx.auth.getUserIdentity();\n       if (!identity) return false;\n       const subscriptions = await ctx.runQuery(\n         components.stripe.public.listSubscriptionsByUserId,\n         { userId: identity.subject },\n       );\n       return subscriptions.some((sub) => sub.status === \"active\" || sub.status === \"trialing\");\n     },\n   });\n   ```\n6. Run `npx convex dev --once` — it will install the component and push the functions. Verify output shows `✔ Installed component stripe.`\n7. In Stripe Dashboard → Webhooks: add endpoint `https:\u002F\u002F\u003Cdeployment>.convex.site\u002Fstripe\u002Fwebhook`, subscribe to `checkout.session.completed`, `customer.subscription.*`, `invoice.*`, `payment_intent.*`. Copy the signing secret as `STRIPE_WEBHOOK_SECRET`.\n\n## Rules\n\n- Use @convex-dev\u002Fstripe (npm: @convex-dev\u002Fstripe@^0.1.4) — it handles webhook signature verification internally via registerRoutes; do NOT write a manual constructEvent webhook.\n- Stripe keys live in Convex env (use the `env` micro power): STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET.\n- Gate on server-stored subscription state via isSubscribed query (reads component tables), not client claims.\n- convex\u002Fconvex.config.ts must import from '@convex-dev\u002Fstripe\u002Fconvex.config.js' (not .ts) — the .js extension is required by the Convex bundler.\n","\u003C!-- GENERATED from convex-agents content\u002Fcapabilities\u002Fbilling.json — do not edit by hand. -->\n\n# Add billing \u002F payments\n\nWire Stripe to Convex using @convex-dev\u002Fstripe: a checkout action, an httpAction webhook registered by the component (signature-verified automatically), subscription state stored in the component's tables, and server-side gating via a query.\n\n## Workflow\n\n1. Install the component: `npm install @convex-dev\u002Fstripe`.\n2. Create `convex\u002Fconvex.config.ts`:\n   ```ts\n   import stripe from \"@convex-dev\u002Fstripe\u002Fconvex.config.js\";\n   import { defineApp } from \"convex\u002Fserver\";\n   const app = defineApp();\n   app.use(stripe);\n   export default app;\n   ```\n3. Store Stripe keys in Convex env (use the `env` micro power): `STRIPE_SECRET_KEY` (sk_test_… \u002F sk_live_…) and `STRIPE_WEBHOOK_SECRET` (whsec_…).\n4. Create `convex\u002Fhttp.ts` to register the webhook route (the component handles signature verification automatically):\n   ```ts\n   import { registerRoutes } from \"@convex-dev\u002Fstripe\";\n   import { httpRouter } from \"convex\u002Fserver\";\n   import { components } from \".\u002F_generated\u002Fapi\";\n   const http = httpRouter();\n   registerRoutes(http, components.stripe, { webhookPath: \"\u002Fstripe\u002Fwebhook\" });\n   export default http;\n   ```\n5. Create `convex\u002Fbilling.ts` with a checkout action and a subscription-gate query:\n   ```ts\n   import { StripeSubscriptions } from \"@convex-dev\u002Fstripe\";\n   import { v } from \"convex\u002Fvalues\";\n   import { components } from \".\u002F_generated\u002Fapi\";\n   import { action, query } from \".\u002F_generated\u002Fserver\";\n   const stripeClient = new StripeSubscriptions(components.stripe, {});\n   export const createSubscriptionCheckout = action({\n     args: { priceId: v.string() },\n     returns: v.object({ sessionId: v.string(), url: v.union(v.string(), v.null()) }),\n     handler: async (ctx, args) => {\n       const identity = await ctx.auth.getUserIdentity();\n       if (!identity) throw new Error(\"Not authenticated\");\n       const customer = await stripeClient.getOrCreateCustomer(ctx, {\n         userId: identity.subject,\n         email: identity.email,\n         name: identity.name,\n       });\n       return await stripeClient.createCheckoutSession(ctx, {\n         priceId: args.priceId,\n         customerId: customer.customerId,\n         mode: \"subscription\",\n         successUrl: `${process.env.SITE_URL ?? \"http:\u002F\u002Flocalhost:3000\"}\u002F?success=true`,\n         cancelUrl: `${process.env.SITE_URL ?? \"http:\u002F\u002Flocalhost:3000\"}\u002F?canceled=true`,\n         subscriptionMetadata: { userId: identity.subject },\n       });\n     },\n   });\n   export const isSubscribed = query({\n     args: {},\n     returns: v.boolean(),\n     handler: async (ctx) => {\n       const identity = await ctx.auth.getUserIdentity();\n       if (!identity) return false;\n       const subscriptions = await ctx.runQuery(\n         components.stripe.public.listSubscriptionsByUserId,\n         { userId: identity.subject },\n       );\n       return subscriptions.some((sub) => sub.status === \"active\" || sub.status === \"trialing\");\n     },\n   });\n   ```\n6. Run `npx convex dev --once` — it will install the component and push the functions. Verify output shows `✔ Installed component stripe.`\n7. In Stripe Dashboard → Webhooks: add endpoint `https:\u002F\u002F\u003Cdeployment>.convex.site\u002Fstripe\u002Fwebhook`, subscribe to `checkout.session.completed`, `customer.subscription.*`, `invoice.*`, `payment_intent.*`. Copy the signing secret as `STRIPE_WEBHOOK_SECRET`.\n\n## Rules\n\n- Use @convex-dev\u002Fstripe (npm: @convex-dev\u002Fstripe@^0.1.4) — it handles webhook signature verification internally via registerRoutes; do NOT write a manual constructEvent webhook.\n- Stripe keys live in Convex env (use the `env` micro power): STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET.\n- Gate on server-stored subscription state via isSubscribed query (reads component tables), not client claims.\n- convex\u002Fconvex.config.ts must import from '@convex-dev\u002Fstripe\u002Fconvex.config.js' (not .ts) — the .js extension is required by the Convex bundler.\n",{"name":5,"description":7},"main","fd6beef619775fe02dd2548b0658bf88b46d7740",".agents\u002Fskills\u002Fconvex-billing",1492,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub","https:\u002F\u002Fclawhub.ai","https:\u002F\u002Fgithub.com\u002Fopenclaw","https:\u002F\u002Fopenclaw.ai","Your personal, open source AI assistant.","2026-11-15 03:03:27",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add openclaw\u002Fclawhub --skill convex-billing",{"tool":52,"command":53},"bunx","bunx skills add openclaw\u002Fclawhub --skill convex-billing",{"tool":55,"command":56},"pnpm","pnpm dlx skills add openclaw\u002Fclawhub --skill convex-billing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-billing\u002FSKILL.md",true,[],[61,69,76,99,126,141],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":68},"01M7415W7GWE5XEH7ETJ1YWCF2","notes","Turn user-provided notes into a concise agenda.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002Fscripts\u002Fsecurity\u002Ffixtures\u002Ftemplate-qualification\u002Fskills\u002Fnotes\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":68},"01M7415V57FG63ZGV9W35MV3TH","hosted-research","Read approved reference material for the hosted proof.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002Ffixtures\u002Ftemplates\u002Fhosted-e2e\u002Fpackage\u002Fskills\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":31},"01M698QE868QCJ1HN5H03NAKCZ","convex-advisor","Read the Convex deployment's 72h insights (read limits, OCC contention), root-cause each event in code, report evidence-backed perf\u002Fcost findings with fixes.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-advisor\u002FSKILL.md",[],[83,84,19,85,86,87,88,89,90,91,92,93,94,95,96,97,98],"convex advisor","advisor","with","cost","perf","evidence","limits","fixes","event","deployment","read","report","insights","code","root","root-cause",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":110,"publishedAt":31},"01M698QD01M039DZ8WCRE8J6WY","convex-add","Add a capability to the CURRENT Convex app — consults the served Convex capability catalog for always-current procedures (billing, crons, auth, agent, search, …); falls back to built-in hosting or @convex-dev component search. TRIGGER when the user runs \u002Fadd, or asks to add hosting\u002Fpublishing or any backend capability to an existing Convex app.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-add\u002FSKILL.md",[105],{"categoryNo":106,"categoryName":107,"taxonomyType":108,"taxonomyTypeDesc":109},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[28,19,111,112,113,114,115,21,116,117,118,119,120,121,122,123,124,25,20,125],"convex add","publishing","user","when","Existing","auth","hosting","catalog","trigger","search","for","back","capability","backend","component",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":31},"01M698QBS5JVY310XM3RGFZCK4","convex-acquire-domain","Find and buy a domain for the current Convex app through Convex, then bind it (labs; spend action).","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-acquire-domain\u002FSKILL.md",[],[19,133,134,135,136,25,121,137,138,139,140],"domain","acquire","convex acquire domain","bind","find","buy","action","it",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":31},"01M698Q9P74GJAVDMCP33QBBWX","controlling-costs","Analyzes Axiom query patterns to find unused data, then builds dashboards and monitors for cost optimization. Use when asked to reduce Axiom costs, find unused columns or field values, identify data waste, or track ingest spend.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontrolling-costs\u002FSKILL.md",[],[148,149,121,150,151,152,153,154,114,155,156,86,157,158,159,137,160,161,162],"controlling costs","data","Optimization","cost optimization","ingest","unused","use","reduce","query","track","values","axiom","columns","patterns","dashboards"]