Skip to content

Commit 904bd0b

Browse files
authored
Update web3auth skill documentation (#2922)
* Update web3auth skill details * fix issues --------- Co-authored-by: Yashovardhan Agrawal <21066442+yashovardhan@users.noreply.github.com>
1 parent a781099 commit 904bd0b

3 files changed

Lines changed: 43 additions & 73 deletions

File tree

embedded-wallets/build-with-ai.mdx

Lines changed: 41 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,10 @@
22
title: Build with AI
33
sidebar_label: Build with AI
44
toc_max_heading_level: 2
5-
description: 'Build MetaMask Embedded Wallets integrations faster using AI coding assistants — Cursor, Claude, Codex, Antigravity, OpenClaw, and more.'
5+
description: 'Build MetaMask Embedded Wallets integrations faster using AI coding assistants — Cursor, Claude, Codex, Antigravity, and more.'
66
image: 'img/metamaskog.jpg'
77
keywords:
8-
[
9-
ai,
10-
cursor,
11-
claude,
12-
codex,
13-
antigravity,
14-
openclaw,
15-
mcp,
16-
llm,
17-
coding assistant,
18-
embedded wallets,
19-
web3auth,
20-
]
8+
[ai, cursor, claude, codex, antigravity, mcp, llm, coding assistant, embedded wallets, web3auth]
219
---
2210

2311
import SkillContent from '@site/src/components/SkillContent'
@@ -31,67 +19,72 @@ You'll set up the following:
3119

3220
## Skill
3321

34-
The Skill guides your AI assistant by providing a mental model for MetaMask Embedded Wallets. It includes SDK selection logic,
35-
key derivation rules, authentication concepts, platform quirks, and common mistakes that aren't obvious from
36-
the docs alone. The Skill contains no code. The MCP server provides up-to-date code examples and implementation references.
22+
The Skill guides your AI assistant by providing a mental model for MetaMask Embedded Wallets.
23+
It includes SDK selection logic, key derivation rules, authentication concepts, platform quirks,
24+
and common mistakes that aren't obvious from the docs alone.
25+
The Skill contains no code. The MCP server provides up-to-date code examples and implementation references.
3726

3827
:::tip
39-
For the best experience, use the MCP server alongside the skill so that your LLM can fetch live docs and examples rather than relying on static text.
28+
For the best experience, use the MCP server alongside the skill so that your LLM can fetch live
29+
docs and examples rather than relying on static text.
4030
:::
4131

42-
### Cursor
32+
### Universal install (recommended)
4333

44-
Copy the skill into your project:
34+
Run the following in your project directory:
4535

4636
```bash
47-
npx degit Web3Auth/web3auth-mcp/skills/web3auth .cursor/skills/web3auth
37+
npx skills add web3auth/skill
4838
```
4939

50-
Cursor picks up each `SKILL.md` under `.cursor/skills/<skill-name>/` automatically and activates
51-
it when relevant.
40+
The skills CLI detects your active AI agent and installs to the correct directory automatically.
41+
Works with Cursor, Claude Code, Copilot, Cline, Codex, Antigravity, and 40+ more agents.
42+
See the [web3auth/skill README](https://github.com/Web3Auth/skill) for global and per-agent install options.
5243

53-
### Claude Code CLI
44+
### Manual install
45+
46+
If you prefer to install the skill without the CLI, use the following per-tool instructions.
5447

55-
Download the skill and append it to your project's `CLAUDE.md`:
48+
**Cursor**
5649

5750
```bash
58-
npx degit Web3Auth/web3auth-mcp/skills/web3auth /tmp/web3auth-skill
59-
cat /tmp/web3auth-skill/SKILL.md >> CLAUDE.md
51+
npx skills add web3auth/skill -a cursor
6052
```
6153

62-
### Claude Desktop
54+
Or copy the skill directly into your project:
6355

64-
Open **Claude Desktop → Settings → Custom Instructions** and paste the skill content below directly.
56+
```bash
57+
npx degit Web3Auth/web3auth-mcp/skills/web3auth .cursor/skills/web3auth
58+
```
6559

66-
### Antigravity
60+
Cursor picks up each `SKILL.md` under `.cursor/skills/<skill-name>/` automatically and activates
61+
it when relevant.
6762

68-
Copy the skill into your project:
63+
**Claude Code CLI**
6964

7065
```bash
71-
npx degit Web3Auth/web3auth-mcp/skills/web3auth .agent/skills/web3auth
66+
npx skills add web3auth/skill -a claude-code
7267
```
7368

74-
Antigravity picks up skills inside `.agent/skills/` automatically. For global installation across all
75-
projects, use `~/.gemini/antigravity/skills/` instead.
69+
**Antigravity**
7670

77-
### OpenClaw
78-
79-
Open your agent's configuration in the OpenClaw dashboard and paste the skill content below into the
80-
**Custom Instructions** field.
71+
```bash
72+
npx skills add web3auth/skill -a antigravity
73+
```
8174

82-
For self-hosted instances, add it to your `openclaw.json`:
75+
Or copy the skill directly into your project:
8376

84-
```json
85-
{
86-
"agent": {
87-
"instructions": "<paste SKILL.md content here>"
88-
}
89-
}
77+
```bash
78+
npx degit Web3Auth/web3auth-mcp/skills/web3auth .agent/skills/web3auth
9079
```
9180

92-
### Other tools
81+
Antigravity picks up skills inside `.agent/skills/` automatically.
82+
For global installation across all projects, use `~/.gemini/antigravity/skills/` instead.
83+
84+
**Claude Desktop and other tools**
9385

94-
For any LLM tool with a system prompt or custom instructions field, paste the skill content below directly.
86+
Open **Claude Desktop → Settings → Custom Instructions** (or your tool's equivalent system prompt
87+
or custom instructions field) and paste the skill content below directly.
9588

9689
<details>
9790
<summary>View `SKILL.md` file</summary>
@@ -225,29 +218,6 @@ Then add to your agent's configuration:
225218
}
226219
```
227220

228-
### OpenClaw
229-
230-
For managed instances, go to your **OpenClaw dashboard → Skills → Add custom skill** and enter the MCP
231-
server URL:
232-
233-
```
234-
https://mcp.web3auth.io
235-
```
236-
237-
For self-hosted instances, add the server to your `openclaw.json`:
238-
239-
```json
240-
{
241-
"mcpServers": {
242-
"web3auth": {
243-
"url": "https://mcp.web3auth.io"
244-
}
245-
}
246-
}
247-
```
248-
249-
OpenClaw hot-reloads config changes — no restart required.
250-
251221
## Static docs (llms.txt)
252222

253223
If your AI tool doesn't support MCP yet, use the static documentation file instead. This gives your AI
@@ -284,7 +254,7 @@ chosen and common pitfalls are avoided before a line of code is written.
284254

285255
:::tip
286256

287-
Use planning mode (where available) for your initial prompt. Review the plan before generating code this
257+
Use planning mode (where available) for your initial prompt. Review the plan before generating code; this
288258
catches architecture mistakes early and avoids config errors that would change wallet addresses in production.
289259

290260
:::

src/components/SkillContent/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22
import { usePluginData } from '@docusaurus/useGlobalData'
33
import CodeBlock from '@theme/CodeBlock'
44

5-
const SKILL_KEY = 'Web3Auth/web3auth-mcp/refs/heads/main/skills/web3auth/SKILL.md'
5+
const SKILL_KEY = 'Web3Auth/skill/refs/heads/main/SKILL.md'
66

77
export default function SkillContent(): JSX.Element {
88
const files = usePluginData('docusaurus-plugin-virtual-files') as Record<string, string>

src/utils/qs-file-links.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@
7474
"EW_PNP_ANDROID_SETTINGS_GRADLE": "Web3Auth/web3auth-android-examples/main/android-quick-start/settings.gradle",
7575
"EW_PNP_ANDROID_STRINGS_XML": "Web3Auth/web3auth-android-examples/main/android-quick-start/app/src/main/res/values/strings.xml",
7676
"EW_PNP_ANDROID_ACTIVITY_MAIN_XML": "Web3Auth/web3auth-android-examples/main/android-quick-start/app/src/main/res/layout/activity_main.xml",
77-
"EW_AI_SKILL_MD": "Web3Auth/web3auth-mcp/refs/heads/main/skills/web3auth/SKILL.md"
77+
"EW_AI_SKILL_MD": "Web3Auth/skill/refs/heads/main/SKILL.md"
7878
}

0 commit comments

Comments
 (0)