Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By b-open-io
Sigma Auth - Bitcoin-native OAuth with Better Auth, BAP identity, and comprehensive authentication patterns
npx claudepluginhub b-open-io/claude-plugins --plugin sigma-authDiagnose and troubleshoot bitcoin-auth token generation and verification issues. This skill should be used when users encounter authentication failures, signature verification errors, or integration problems with the bitcoin-auth library.
This skill should be used when the user asks to "implement device auth", "add device authorization", "authenticate desktop app", "authenticate CLI tool", "device code flow", "RFC 8628", "poll for token", "get user info after device auth", or mentions authenticating apps that can't handle browser redirects. Provides step-by-step guidance for device authorization with Sigma Identity.
Setup Sigma Auth OAuth integration in a Convex application. Guides through installing @sigma-auth/better-auth-plugin, configuring Convex environment variables, and setting up the auth server.
Setup Sigma Auth OAuth integration in a Next.js application. Guides through installing @sigma-auth/better-auth-plugin, configuring environment variables, creating auth client, implementing sign-in flow, and setting up API routes for token exchange with Bitcoin-native authentication.
This skill should be used when the user asks about "TokenPass", "install TokenPass", "run TokenPass server", "TokenPass desktop app", "TokenPass API", "personal identity server", "be your own OAuth provider", or needs help setting up, configuring, or integrating TokenPass Server or Desktop applications. Provides installation, configuration, and API integration guidance.
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Crypto wallet security auditor for reviewing wallet implementations, key management, signing flows, and common vulnerability patterns.
Skill for integrating Better Auth - comprehensive TypeScript authentication framework for Cloudflare D1, Next.js, Nuxt, and 15+ frameworks. Use when adding auth, encountering D1 adapter errors, or implementing OAuth/2FA/RBAC features.
Authentication and security specialist for JWT implementation, OAuth2 flows, refresh tokens, session management, password hashing (bcrypt, argon2), 2FA, SSO, and security best practices. Use when implementing authentication, authorization, or security features.
Ship stablecoin apps faster. Best-practice skills for USDC payments, cross-chain transfers, wallets, and smart contracts — plus Circle's MCP server for real-time SDK and documentation guidance.
Essential Auth0 skills including quickstarts, migration from other providers, and Multi-Factor Authentication (MFA).
WorkOS integration skills for AuthKit, SSO, Directory Sync, RBAC, Vault, Audit Logs, migrations, and API references.
Development agents, skills, hooks, and commands for Claude Code workflows
1Sat ecosystem tools for BSV — unified indexing API (1sat-stack), ordinals minting and marketplace (list/buy/cancel), BSV21 token operations, wallet setup (BRC-100), transaction building, time locks, sweep/import, OpNS names, dApp wallet connection, CLI tool, media extraction, and MCP server for wallet-desktop browser automation.
Core BSV blockchain operations including standards reference (BRCs, BitCom, tokens), key derivation (Type42, BIP32, BAP), ORDFS content gateway, script templates, message signing, wallet operations, identity management, and JungleBus real-time blockchain streaming.
Gemini 3.1 Pro skills powered by Nano Banana 2, Gemini 3 Flash, and Veo 3.1 - image generation with 169 art styles including pop culture icons and video game aesthetics, video generation (text-to-video, image-to-video) with native audio, interactive style browser with tile regeneration, pixel avatars, team group photos, section dividers, platform icons (favicon, iOS, Android, PWA, desktop), image optimization with sharp, text generation, upscaling, editing, SVG creation, segmentation, visual workflow planning with tldraw infinite canvas, and dynamic Gemini API docs via llms.txt.
ClawNet bot templates and skills for AI agent development on the ClawNet platform

Bitcoin-native authentication for Better Auth. Users sign in with their Bitcoin wallet. Identity is a cryptographic keypair — persistent across apps, controlled only by the user.
Maintained by Sigma Identity. For support, open an issue on GitHub.
@convex-dev/better-auth with no local auth instance requiredSigmaUserInfo, BAPProfile, and JWT claimsbun add @sigma-auth/better-auth-plugin
# or
npm install @sigma-auth/better-auth-plugin
Install only what you use:
# Required for all integrations
bun add better-auth
# Required for server-side token exchange
bun add bitcoin-auth
# Required for the provider plugin (running your own auth server)
bun add @bsv/sdk bsv-bap @neondatabase/serverless zod
# Required for Payload CMS integration
bun add payload-auth
This is the standard setup for an app that authenticates users via Sigma Identity. The whole flow takes under five minutes.
# .env.local
NEXT_PUBLIC_SIGMA_CLIENT_ID=your-app-id
NEXT_PUBLIC_SIGMA_AUTH_URL=https://auth.sigmaidentity.com
SIGMA_MEMBER_PRIVATE_KEY=your-wif-private-key # server-side only
Get your client ID and register your redirect URI at sigmaidentity.com/developers.
// lib/auth.ts
import { createAuthClient } from "better-auth/client";
import { sigmaClient } from "@sigma-auth/better-auth-plugin/client";
export const authClient = createAuthClient({
baseURL: process.env.NEXT_PUBLIC_SIGMA_AUTH_URL || "https://auth.sigmaidentity.com",
plugins: [sigmaClient()],
});
// app/api/auth/sigma/callback/route.ts
import { createCallbackHandler } from "@sigma-auth/better-auth-plugin/next";
export const runtime = "nodejs";
export const POST = createCallbackHandler();
// app/auth/sigma/callback/page.tsx
"use client";
import { Suspense, useEffect } from "react";
import { useRouter, useSearchParams } from "next/navigation";
import { authClient } from "@/lib/auth";
function CallbackContent() {
const router = useRouter();
const searchParams = useSearchParams();
useEffect(() => {
authClient.sigma.handleCallback(searchParams)
.then((result) => {
// Store tokens and user data in your state management solution
localStorage.setItem("sigma_user", JSON.stringify(result.user));
localStorage.setItem("sigma_access_token", result.access_token);
router.push("/");
})
.catch((err) => {
authClient.sigma.redirectToError(err);
});
}, [searchParams, router]);
return <p>Completing sign in...</p>;
}
export default function CallbackPage() {
return (
<Suspense fallback={<p>Loading...</p>}>
<CallbackContent />
</Suspense>
);
}
import { authClient } from "@/lib/auth";
export function SignInButton() {
return (
<button
onClick={() =>
authClient.signIn.sigma({
clientId: process.env.NEXT_PUBLIC_SIGMA_CLIENT_ID!,
})
}
>
Sign in with Bitcoin
</button>
);
}
The user clicks the button, authenticates with their Bitcoin wallet on the Sigma Identity server, and lands back in your app with a SigmaUserInfo object containing their pubkey, display name, and BAP identity.