nuwa-protocol/nuwa/did-auth-agent-2
Claude Code and agent skill by nuwa-protocol/nuwa
- community
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-2SKILL.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-idCLI available- Rooch mainnet + CADOP main domain (
id.nuwa.dev)
Install nuwa-id
Commands
1) Initialize local key and config
This creates local state under:
~/.config/nuwa-did/config.json~/.config/nuwa-did/keys/default.json
Optional: create additional profiles and switch active profile:
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
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:
4) Persist DID into local config
Save DID into ~/.config/nuwa-did/config.json:
5) Verify key binding on DID document
Only continue if verification succeeds.
6) Send DID-authenticated request
Option A: generate header only
Option B: send request directly
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 reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingnuwa-kit/typescript/examples/did-auth-agent/SKILL.md
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 1 Apr 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
[](https://verified-skill.com/skills/nuwa-protocol/nuwa/did-auth-agent-2)