Claude Skill MartBrowse skillsQuick linesImage promptsLearn by videoTerminal guideWhat is a Skill?
← Back to list

InsForge Integrations (Auth & Payments)

Guides wiring third-party auth providers' JWTs into InsForge RLS and adding OKX x402 onchain pay-per-use billing.

Dev & CodingAdvanced★ 422⑂ 44AI score 7/10Last updated: Sep 10, 2026

What it does

  • Documents the shared pattern for feeding JWTs from Clerk, Auth0, WorkOS, Kinde, Stytch, or Better Auth into InsForge for row-level security.
  • Spells out the 4-step flow: pass accessToken → expose claims via auth.jwt() → define requesting_user_id() → write RLS policies.
  • Covers the x402 payment flow with OKX: 402 challenge header, EIP-3009 signing, facilitator verify/settle, and recording settlements in an InsForge table with a realtime trigger.
  • Routes to per-provider reference guides and lists common mistakes with fixes.

Who it's for

  • Developers building on InsForge who need an external identity provider.
  • Teams debugging RLS issues caused by TEXT vs UUID user IDs or auth.uid() misuse.
  • Anyone experimenting with onchain pay-per-use HTTP endpoints.

Examples

  1. "Set up InsForge RLS with a Clerk JWT Template" — template config, client wiring, policy SQL.
  2. "Self-host Better Auth inside my InsForge Postgres" — connection string, bridge route, one-time REVOKE after migrate.
  3. "Charge per API call" — PAYMENT-REQUIRED header, EIP-712 domain verification, UNIQUE tx_hash, handling insert errors after money has moved.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/aiskillstore/marketplace/HEAD/pending/insforge/insforge-integrations/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the pending/insforge/insforge-integrations folder from the GitHub repo aiskillstore/marketplace into my ~/.claude/skills/insforge-integrations/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/aiskillstore/marketplace.git /tmp/aiskillstore && mkdir -p ~/.claude/skills && cp -r /tmp/aiskillstore/pending/insforge/insforge-integrations ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/aiskillstore/marketplace.git /tmp/aiskillstore
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the whole skill folder (references included): cp -r /tmp/aiskillstore/pending/insforge/insforge-integrations ~/.claude/skills/
  5. Verify the provider guides came along: ls ~/.claude/skills/insforge-integrations/references
  6. Restart Claude Code and try a prompt like "Integrate Clerk auth with InsForge RLS".
  7. When needed, fetch secrets with npx -y @insforge/cli secrets get JWT_SECRET.