# siwa

Claude Code skill providing SIWA agent authentication using blockchain identities in applications.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 100 installs · ★ 1216 repo stars
- Author: BankrBot
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/BankrBot/skills/tree/HEAD/siwa/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/siwa

## What it does

The skill integrates tools for authenticating autonomous agents through onchain identifiers. The package supplies modules for generating nonces, signing HTTP requests, and verifying cryptographic proofs. The SDK includes middleware for web frameworks and nonce storage adapters supporting memory, Redis, and KV stores.

The package installs via `npm install @buildersgarden/siwa`. Wallet signing relies on Bankr agent wallets, while server verification supports Next.js, Express, Hono, and Fastify applications.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add BankrBot/skills --skill siwa -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/siwa/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/siwa/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add BankrBot/skills --skill siwa -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/siwa/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add BankrBot/skills --skill siwa -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/siwa/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install BankrBot/skills siwa
```

2. **Manually: put the files in place**
- File: `.github/skills/siwa/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add BankrBot/skills --skill siwa -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/BankrBot/skills --path siwa
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/siwa/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add BankrBot/skills --skill siwa -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/BankrBot/skills/tree/HEAD/siwa/SKILL.md

## When to use it
- configure agent authentication via ERC-8004
- verify cryptographic signatures for HTTP requests
- store nonces in Redis or memory
- add signature verification to Next.js or Express

## Example prompts
- Set up siwa for agent authentication
- Configure server-side signature verification for Express
- Generate a nonce using the siwa SDK

## Similar
- [insforge](https://affpapa.org/en/nevibecode/skills/insforge.md) — skill · 67000 installs
- [Clerk](https://affpapa.org/en/nevibecode/mcp/clerk.md) — MCP server · 407 installs
- [auth-nodejs-cloudbase](https://affpapa.org/en/nevibecode/skills/auth-nodejs-cloudbase.md) — skill · 966 installs
- [jwt-encode](https://affpapa.org/en/nevibecode/skills/jwt-encode.md) — skill · 652 installs
- [session-management](https://affpapa.org/en/nevibecode/skills/secondsky-session-management.md) — skill · 436 installs
- [clerk-setup](https://affpapa.org/en/nevibecode/skills/clerk-setup.md) — skill · 59700 installs

From the same set: [bankrbot/skills](https://affpapa.org/en/nevibecode/by/bankrbot/skills.md) — 12 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
