markeljan/web3gpt/public
Claude Code and agent skill by markeljan/web3gpt
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install markeljan/web3gpt/publicSKILL.md
Web3GPT skill
Web3GPT is a smart-contract agent. Through this HTTP API you can hold a conversation with it, and it can write Solidity contracts, compile them, deploy them to EVM chains, and resolve ENS and Unstoppable Domains names. No account or API key is needed.
Endpoint: https://w3gpt.ai/api/skill (GET or POST; CORS is open). Pin https://w3gpt.ai/api/v2/skill to stay on the current version (see Versioning).
Quick start
- Start a chat and keep the returned
chatId. It is the only credential for the
conversation, so treat it as a secret.
``bash curl https://w3gpt.ai/api/skill ``
``json { "agentId": "agent_web3gpt", "chatId": "Xk3…", "response": null } ``
- Send messages with that
chatId. Each call returns the agent's reply to your message.
``bash curl -X POST "https://w3gpt.ai/api/skill?chatId=Xk3…" \ -H "Content-Type: application/json" \ -d '{"message":"Deploy an ERC20 named Demo (DEMO) with 1,000,000 supply to Polygon Amoy"}' ``
``json { "agentId": "agent_web3gpt", "chatId": "Xk3…", "response": "…" } ``
- The agent often asks you to confirm before it deploys. Reply in the same chat (for example
"Yes, deploy it"). The deployment reply includes the contract address and transaction hash.
Parameters
Pass these as JSON body fields (POST) or query parameters.
| Name | Description | |
|---|---|---|
chatId | Continue this conversation. 1–64 characters of A-Z a-z 0-9 _ -. Omit it to start a new chat. | |
message | Your message (alias: prompt). Up to 50,000 characters. Omit it to just create or read a chat. | |
agentId | Use a different Web3GPT agent for a new chat (e.g. a custom agent from w3gpt.ai/?a=<agentId>). An unknown id is a 404. Ignored for existing chats. | |
history | true to include the whole conversation as history: [{ id, role, text }] (alias: full). |
Response
| Field | Description | |
|---|---|---|
chatId | The conversation id. | |
agentId | The agent serving this chat. | |
response | The agent's latest reply as text, or null if there isn't one yet. | |
history | Present when history=true. | |
error | Present on failure, with a non-2xx status: a human-readable message. | |
code | Present on failure: a stable error code (see below). |
Deploying contracts
- Say which chain to use. Agent deployments are paid for by Web3GPT, and these chains are
available:
| Chain | Chain ID | |
|---|---|---|
| Polygon (mainnet) | 137 | |
| Polygon Amoy | 80002 | |
| Ethereum Sepolia | 11155111 | |
| Base Sepolia | 84532 | |
| Arbitrum Sepolia | 421614 | |
| OP Sepolia | 11155420 | |
| Mantle Sepolia | 5003 | |
| Metis Sepolia | 59902 | |
| Celo Sepolia | 11142220 |
- You can give the full source, or describe the contract and let the agent write it.
OpenZeppelin and other npm or GitHub imports work. The Solidity version is chosen from the pragma.
- A deployment is reported only after the chain confirms the contract-creation transaction. The
reply includes the chain ID, contract address, transaction hash, explorer links and an IPFS link to the sources, ABI and bytecode. Verification on the block explorer follows within a few minutes.
- Every deployment is listed publicly at
https://w3gpt.ai/contracts. Aggregate numbers are at
https://w3gpt.ai/api/stats.
Limits
The endpoint is public, so usage is metered:
| What | Limit | |
|---|---|---|
| Messages to the agent | 20 per IP and 30 per chat, every 10 minutes | |
Calls without message (create or read a chat) | 120 per IP every 10 minutes | |
| Testnet deployments | 10 per caller per hour | |
| Polygon mainnet deployments | 2 per caller per day, within a shared daily budget |
- Every response carries
RateLimit-Limit,RateLimit-RemainingandRateLimit-Reset
(seconds until the window resets), also sent as X-RateLimit-*. They describe the limit you will hit first, so slow down as RateLimit-Remaining approaches 0.
- Over a request limit: HTTP
429with aRetry-Afterheader (seconds). Wait and retry;
don't hammer the endpoint.
- Over a deployment limit: the agent replies with an explanation (try later, use a testnet,
or deploy from your own wallet at w3gpt.ai) instead of deploying.
Errors
Every error is JSON: { "code": "...", "error": "..." }, plus chatId when one is known.
| Status | code | Meaning | |
|---|---|---|---|
400 | invalid_body | The POST body is not a JSON object | |
400 | invalid_chat_id | Invalid chatId | |
404 | agent_not_found | agentId names no agent | |
404 | not_found | No API route at that path | |
413 | message_too_long | message longer than 50,000 characters | |
429 | rate_limited | Rate limited; see Retry-After | |
500 | internal_error | The agent failed to answer. If you had asked for a deployment, check https://w3gpt.ai/contracts (or ask in the same chat) before retrying, so you don't deploy twice. |
Versioning
/api/v2/skillis the current major version./api/skillis an alias for whichever version
is current, so pin /api/v2 if you can't absorb breaking changes.
- Within a version, changes are additive: new optional parameters, response fields or error
codes. Ignore fields you don't know. Breaking changes ship under a new path (/api/v3).
- Before a version or operation is removed, its responses carry a
Deprecationheader and a
Sunset header with the removal date, at least 90 days ahead. Changes are noted here.
Reference
- Overview for agents:
https://w3gpt.ai/llms.txt - OpenAPI:
https://w3gpt.ai/api-docs - Browser app:
https://w3gpt.ai(sendAccept: text/markdownto get this guide instead) - Source:
https://github.com/markeljan/web3gpt
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
- SKILL.md in the repositoryCheckingpublic/skill.md
Popularity
- Repository stars
- 118
- Repository forks
- 51
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/markeljan/web3gpt/public)