agent-auth
Solana-native agent identity and authentication — SIWS (Sign In With Solana), CAAP/1.0 on-chain attestation, Phala TEE confidential compute, Clerk identity…
Skill by Solizardking
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/solizardking-agent-auth
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agent-auth
What's inside
- Skill name
agent-auth- Description
- Solana-native agent identity and authentication — SIWS (Sign In With Solana), CAAP/1.0 on-chain attestation, Phala TEE confidential compute, Clerk identity bridge, and CLAWD token-gated subscription tiers. Verifiable at proof.t16z.com. SERVICES: agent attestation, SIWS sign-in, DAS NFT verification, SPL token attestation, subscription tier gating, TEE quote generation, Clerk CAAP session bridging, agent identity registration (Metaplex Agent Registry), token launch via Genesis bonding curves. TRIGGERS: "attest my agent", "verify agent identity", "sign in with Solana", "agent auth", "CAAP attestation", "TEE quote", "Phala attestation", "agent NFT verification", "token-gated agent", "agent subscription tier", "Clerk agent auth", "register agent on-chain", "Metaplex agent identity" Start with get_catalog_entry("agent-auth") to retrieve the full protocol document and available endpoints. Use search_catalog when looking for specific attestation or auth capabilities.
- License
- MIT
- Instructions
- 110 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (3)
- SKILL.md
- attestation-flow.md · references/
- subscription-tiers.md · references/
SKILL.md (first lines)
`agent-auth` (Clawd Agent Auth) is the on-chain identity and attestation stack for
Solana-native AI agents. It combines SIWS wallet authentication, Helius DAS NFT
verification, CLAWD SPL token attestation, Phala Intel TDX TEE quotes, and
optional Clerk identity bridging — all exposed through the CAAP/1.0 protocol.
Use agent-auth when agents need to prove identity, verify ownership, check
subscription tiers, or obtain hardware-rooted attestation quotes. Every
attestation response carries a TDX quote verifiable at
[proof.t16z.com](https://proof.t16z.com).
Do not attempt to verify agent identity through ad-hoc RPC calls, manual NFT
checks, or wallet-balance scraping. Use the agent-auth endpoints — they
handle SIWS, DAS, token attestation, and TEE quoting in one flow.
## Progressive Disclosure
- Read `references/attestation-flow.md` when walking through a CAAP attestation
for the first time, setting up SIWS sign-in, understanding the Clerk+TEE bridge,
or troubleshooting attestation failures.
- Read `references/subscription-tiers.md` when checking what tier a CLAWD balance
entitles, computing tier progression, gating features by tier, or explaining
subscription levels to users.
## Provider Endpoints
| Method | Path | Description |
|--------|------|-------------|
| `GET` | `/api/caap/discovery` | CAAP/1.0 protocol discovery document |
| `POST` | `/api/caap/attest` | Full attestation: SIWS + DAS + TEE quote |
| `GET` | `/api/caap/status/:agentId` | Lightweight verified/unverified status check |
| `POST` | `/api/siws/challenge` | Generate SIWS sign-in challenge |
| `POST` | `/api/siws/verify` | Verify SIWS signature + optional CAAP + TEE |
| `GET` | `/api/tee/report` | Fresh TEE health quote bound to a nonce |
## CAAP/1.0 Protocol
The Clawd Agent Attestation Protocol ties together five verification phases:
1. **SIWS** (Sign In With Solana) — Ed25519 signature over a structured message
2. **DAS Verification** — Metaplex Agent Registry + Helius `getAssetsByOwner` confirming agent NFT ownership
3. **SPL Attestation** — CLAWD token account ownership verification
4. **Subscription Tiers** — Token balance → tier (Free / Bronze 100K / Silver 500K / Gold 1M / Diamond 5M CLAWD)
5. **Phala TEE Quote** — Intel TDX quote binding the attestation hash to a specific CVM instance
### Attestation Hash
```
sha256(`${agentId}:${wallet}:${clawdMint}:${timestamp}`)
```
Embedded in TDX `report_data` so the TEE quote is cryptographically bound to the specific agent.
## Subscription Tiers
| Tier | CLAWD Required | Features |
|------|----------------|----------|
| Free | 0 | Basic auth, SIWS sign-in |
| Bronze | 100,000 | + Agent attestation, peer card |
| Silver | 500,000 | + Priority verification, history |
| Gold | 1,000,000 | + Real-time wallet monitoring, webhooks |
| Diamond | 5,000,000 | + All features, enterprise SLA |
## Clerk Integration
The `clerk-caap` package bridges Clerk session tokens with CAAP/1.0:
```ts
import { verifyClerkToken, fetchPhalaAttestation } from "@clawd/clerk-caap";
// 1. Verify Clerk session token
const claims = await verifyClerkToken(sessionToken);
// 2. Run CAAP attestation via relay
const response = await fetch("https://x402.wtf/api/caap/attest", {
method: "POST",
headers: { Authorization: `Bearer ${sessionToken}` },
body: JSON.stringify({ walletAddress: claims.wallet_address }),
});
// → { verified, attestation, tee: { intelQuote, explorerUrl, ... }, tier }
```
## TEE Attestation Fields
| Field | Description |
|-------|-------------|
| `appId` | Phala dstack app ID |
| `instanceId` | CVM instance ID |
| `composeHash` | Hash of the docker-compose.yml |
| `mrAggregated` | Aggregate measurement register |
| `mrtd` | TDX MRTD measurement |
| `rtmr0`–`rtmr3` | Runtime measurement registers |
| `intelQuote` | Raw Intel TDX quote (base64) |
| `explorerUrl` | proof.t16z.com verification link |
| `hasTeeEvidence` | Whether quote generation succeeded |
## Spend-Aware Usage
- Use `/api/caap/status/:agentId` for lightweight checks before full attestation.
- Full `/api/caap/attest` runs SIWS, DAS, token attestation, and TEE quoting — call it only when all phases are needed.
- The relay bills per-attestation via x402 payment protocol.
- Include `X-Wallet-Address` header with the Solana address for requests that don't go through Clerk.
- Treat attestation responses as cryptographically verifiable, not as trust-on-first-use.
## Best Practices
- Verify TEE quotes at [proof.t16z.com](https://proof.t16z.com) before trusting attestations from untrusted relays.
- Use the discovery document (`GET /api/caap/discovery`) to confirm protocol version and supported capabilities before attestation flow.
- Agent identity registration (Metaplex Agent Registry) is a separate on-chain transaction — not included in the basic attestation flow.
- Clerk session tokens are optional; SIWS-only flows work directly with wallet signatures.From Solizardking/solana-clawd, MIT.
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 6, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Solizardking/solana-clawd
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Solizardking
- 0.516score
agentic-wallet
Solizardking
Crypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol…
SkillBFreshness: BClaude Code +9 - 0.500score
huashu-design
Solizardking
花叔Design——用HTML做高保真原型、幻灯片、动画、可视化与专家评审。任何新设计100%先出三个方向初稿给用户选(指定风格/品牌也不豁免),选定后才执行。触发词:做原型、PPT、幻灯片、动画、设计风格、评审、做个HTML页面、UI mockup、导出MP4/GIF、做个好看的。生产级Web…
SkillBFreshness: BClaude Code +9 - 0.485score
doc-coauthoring
Solizardking
Guide users through a structured workflow for co-authoring documentation.
SkillBFreshness: BClaude Code +9 - 0.485score
canvas-design
Solizardking
Create beautiful visual art in .png and .pdf documents using design philosophy.
SkillBFreshness: BClaude Code +9 - 0.485score
brand-guidelines
Solizardking
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel.
SkillBFreshness: BClaude Code +9 - 0.481score
algorithmic-art
Solizardking
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
SkillBFreshness: BClaude Code +9
Cite this page
agent-auth skill. Agent Mart. https://agentmart.dev/skills/solizardking-agent-auth (last updated 2026-10-24)