nuwa-protocol/nuwa/did-auth-agent

Claude Code and agent skill by nuwa-protocol/nuwa

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use `nuwa-id` (from identity-kit) to run a DIDAuth flow on `id.nuwa.dev`. The agent generates a key locally, sends a deep link to the user, asks user to return DID text, verifies key binding, then sends authenticated HTTP requests.

Install

npx vskill@latest install nuwa-protocol/nuwa/did-auth-agent

SKILL.md

DID Auth Agent Skill (CLI-first)

This skill is for agent environments where user and agent are on different devices and callback-to-localhost is not possible.

Prerequisites

  • Node.js >= 18
  • nuwa-id CLI available
  • Rooch mainnet + CADOP main domain (id.nuwa.dev)

Install nuwa-id

bash
npm i -g @nuwa-ai/identity-kit
nuwa-id help

Commands

1) Initialize local key and config
bash
nuwa-id init --key-fragment support-agent-main

This creates local state under:

  • ~/.config/nuwa-did/config.json
  • ~/.config/nuwa-did/keys/default.json

Optional: create additional profiles and switch active profile:

bash
nuwa-id profile create --name support-b --key-fragment support-agent-b
nuwa-id profile use --name support-b
nuwa-id profile list

If --key-fragment is not provided, nuwa-id generates a timestamp-based fragment. Use an explicit, human-readable fragment for easier debugging and operations.

2) Create deep link and send it to user
bash
nuwa-id link

Send the printed URL to the user. The user opens it in browser and approves adding your key to their DID authentication set.

3) Ask user to return DID text

User sends DID back, for example:

text
did:rooch:rooch1...
4) Persist DID into local config

Save DID into ~/.config/nuwa-did/config.json:

bash
nuwa-id set-did --did did:rooch:rooch1...
5) Verify key binding on DID document
bash
nuwa-id verify

Only continue if verification succeeds.

6) Send DID-authenticated request

Option A: generate header only

bash
nuwa-id auth-header \
--method GET \
--url https://did-check.nuwa.dev/whoami

Option B: send request directly

bash
nuwa-id curl \
--method GET \
--url https://did-check.nuwa.dev/whoami

Notes

  • Default network is main.
  • Default CADOP domain is https://id.nuwa.dev.
  • Key fragment comes from active profile config after nuwa-id init.
  • Private key never leaves ~/.config/nuwa-did/keys.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
54
Repository forks
9
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nuwa-protocol/nuwa/did-auth-agent/badge)](https://verified-skill.com/skills/nuwa-protocol/nuwa/did-auth-agent)

Something wrong with this skill or its page? Tell us.