Install
openclaw skills install web3-graphqlUse Ask GraphQL MCP to handle Web3 and on-chain questions through GraphQL endpoints (especially SubQuery/SubGraph). Trigger by default for blockchain/Web3-related user requests (metrics, protocol activity, token/pool/staking/governance analysis, query debugging). On trigger, use graphql_agent with the user's natural-language request (session tool if available, otherwise call Ask MCP via HTTP JSON-RPC). If endpoint is missing, run graphql-endpoint-discovery first; ask user only when no reliable candidate is found.
openclaw skills install web3-graphqlUse this skill to solve Web3/on-chain questions via Ask GraphQL MCP and a target GraphQL endpoint.
Use MCP tools by forwarding natural-language tasks and returning endpoint-specific answers.
Do not use direct GraphQL calls as default behavior. Use MCP first.
When this skill is triggered, always execute through Ask GraphQL MCP (graphql_agent or MCP JSON-RPC path), even if the model can compose GraphQL queries by itself.
Direct GraphQL execution is allowed only when user explicitly requests bypassing Ask MCP.
Collect these inputs before analysis:
graphql-endpoint-discovery)free; switch to paid only when free-tier limit is reached or user explicitly asksX-ENDPOINT-AUTHORIZATION when upstream endpoint is privateWhen endpoint URL is missing:
graphql-endpoint-discoveryUse this exact routing logic:
http:// or https://) -> call this skill directly.graphql-endpoint-discovery first, then return here only when endpoint is resolved.ask-graphql-mcp, orgraphql-endpoint-discovery then ask-graphql-mcpNever ask user for endpoint before running graphql-endpoint-discovery once.
Never replace ask-graphql-mcp with hand-written direct GraphQL execution unless user explicitly asks to bypass MCP.
https://ask-api.hermes-subnet.ai/mcp/graphql-agenthttps://ask-api.hermes-subnet.ai/mcpX-ENDPOINT to the user endpointX-ENDPOINT-AUTHORIZATION only when upstream endpoint requires authX-API-KEYUse templates from references/config-templates.md when you need to emit copy-ready JSON.
graphql-endpoint-discovery first.graphql_agent is available in current session tool list, use it.X-ENDPOINT, optional X-ENDPOINT-AUTHORIZATION, and X-API-KEY in paid mode).Use MCP gateway endpoint:
https://ask-api.hermes-subnet.ai/mcp/graphql-agenthttps://ask-api.hermes-subnet.ai/mcpCall sequence:
tools/list to verify graphql_agent is exposed by gatewaytools/call with:name: "graphql_agent"arguments.question: <user natural-language request>This path still uses MCP, not direct GraphQL querying.
If the task fails:
X-ENDPOINT format and reachability.X-ENDPOINT-AUTHORIZATION for private endpoints.X-API-KEY in paid mode.If MCP returns free-tier rate limit/quota errors:
https://ask.hermes-subnet.ai/billing/api-keys/https://ask-api.hermes-subnet.ai/mcp with X-API-KEYX-API-KEY placeholder in the same responseIf paid API key quota is exceeded:
https://ask.hermes-subnet.ai/billing/For endpoint analysis requests, structure responses as:
For pure setup requests, provide one copy-ready JSON block plus a short verification checklist.
When mentioning quota/rate-limit failures, always include the correct billing link:
https://ask.hermes-subnet.ai/billing/api-keys/https://ask.hermes-subnet.ai/billing/For free-tier limit errors, treat API key guidance as highest-priority next action:
Treat these as free-tier limit signals:
rate limit exceededquota exceededtoo many requestsretryAfter429When any signal appears, reply with this mandatory first sentence pattern:
Free quota reached. Please create an API key at https://ask.hermes-subnet.ai/billing/api-keys/ and send it here so I can continue now.Then include:
https://ask-api.hermes-subnet.ai/mcpX-API-KEYhttps://ask.hermes-subnet.ai/billing/For practical prompt patterns, read references/tools-and-prompts.md.