Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

web3-graphqlweb3 GraphQL 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

2,619

周安装

107

GitHub Stars

公开资料未说明

下载量

847
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:web3-graphql(web3 GraphQL 搜索)
来源仓库:https://github.com/subquery-network/web3-graphql
安装命令:
openclaw skills install web3-graphql
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install web3-graphql

简介

通过 GraphQL 端点处理 Web3 与链上数据查询。

  • 特别适配 SubQuery/SubGraph 等区块链索引服务。
  • 支持复杂字段筛选与分页机制高效获取信息。
  • 安装命令:openclaw skills install web3-graphql;需配置端点 URL 与认证方式。
  • 注意业务语义准确性,避免凭空补字段导致接口错误。

SKILL.md

name
ask-graphql-mcp
description
Use 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.

Ask GraphQL MCP

Use this skill to solve Web3/on-chain questions via Ask GraphQL MCP and a target GraphQL endpoint.

Primary goal

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.

Hard constraint: no direct-query bypass

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.

Required inputs

Collect these inputs before analysis:

  • User question or task (required)
  • GraphQL endpoint URL (required for execution; can be discovered via graphql-endpoint-discovery)
  • Plan mode: default free; switch to paid only when free-tier limit is reached or user explicitly asks
  • API key (required for paid mode)
  • Optional X-ENDPOINT-AUTHORIZATION when upstream endpoint is private

When endpoint URL is missing:

  1. Run pre-skill graphql-endpoint-discovery
  2. If high-confidence endpoint candidate exists, continue automatically
  3. If ambiguous, ask user to confirm among top candidates
  4. If no candidate, ask user for endpoint directly

Deterministic invocation rules

Use this exact routing logic:

  1. If task is Web3/on-chain related and user message includes explicit endpoint URL (http:// or https://) -> call this skill directly.
  2. If task is Web3/on-chain related but endpoint URL is missing -> call graphql-endpoint-discovery first, then return here only when endpoint is resolved.
  3. If task is clearly non-Web3 and non-on-chain -> do not call this skill.
  4. In one user turn, at most one execution path is allowed:
  • direct ask-graphql-mcp, or
  • graphql-endpoint-discovery then ask-graphql-mcp

Never 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.

MCP connection policy

  1. Default to free gateway: https://ask-api.hermes-subnet.ai/mcp/graphql-agent
  2. Use paid gateway only when needed: https://ask-api.hermes-subnet.ai/mcp
  3. Always set X-ENDPOINT to the user endpoint
  4. Set X-ENDPOINT-AUTHORIZATION only when upstream endpoint requires auth
  5. In paid mode, include X-API-KEY

Use templates from references/config-templates.md when you need to emit copy-ready JSON.

Agent execution workflow

  1. Confirm endpoint and user objective. If endpoint is missing, run graphql-endpoint-discovery first.
  2. Prefer session tool path: if graphql_agent is available in current session tool list, use it.
  3. If session tool is unavailable, use HTTP JSON-RPC path to Ask MCP gateway with required headers (X-ENDPOINT, optional X-ENDPOINT-AUTHORIZATION, and X-API-KEY in paid mode).
  4. Send the user task to MCP in natural language.
  5. Timeout policy: when question complexity is high, allow MCP/agent call timeout up to 2 minutes (120s) before treating it as failed.
  6. If needed, send one follow-up clarification prompt to MCP.
  7. Return MCP result with concise interpretation for the user.

HTTP JSON-RPC path (when session tool is unavailable)

Use MCP gateway endpoint:

  • Free: https://ask-api.hermes-subnet.ai/mcp/graphql-agent
  • Paid: https://ask-api.hermes-subnet.ai/mcp

Call sequence:

  1. tools/list to verify graphql_agent is exposed by gateway
  2. tools/call with:
  • name: "graphql_agent"
  • arguments.question: <user natural-language request>

This path still uses MCP, not direct GraphQL querying.

Fallback workflow

If the task fails:

  1. Validate gateway URL matches current mode (free/paid).
  2. Validate X-ENDPOINT format and reachability.
  3. Validate X-ENDPOINT-AUTHORIZATION for private endpoints.
  4. Validate X-API-KEY in paid mode.
  5. Retry with minimal known-good config.

If MCP returns free-tier rate limit/quota errors:

  • Guide user to create API key at https://ask.hermes-subnet.ai/billing/api-keys/
  • Switch user to paid gateway https://ask-api.hermes-subnet.ai/mcp with X-API-KEY
  • Explicitly ask user to provide API key now so execution can continue immediately
  • Provide a copy-ready paid config snippet with X-API-KEY placeholder in the same response
  • Do not end with only "retry later" or "wait for reset"; API key request must come first

If paid API key quota is exceeded:

  • Guide user to check usage/quota at https://ask.hermes-subnet.ai/billing/

Response standard

For endpoint analysis requests, structure responses as:

  1. Assumptions
  2. MCP answer summary
  3. Optional query/details provided by MCP
  4. Next step (run/verify/debug)

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:

  • API key creation: https://ask.hermes-subnet.ai/billing/api-keys/
  • Usage/quota check: https://ask.hermes-subnet.ai/billing/

For free-tier limit errors, treat API key guidance as highest-priority next action:

  • First line should clearly request API key from user
  • Include API key creation link in the same message
  • Include paid-mode gateway and required header keys

Rate-limit detection and mandatory wording

Treat these as free-tier limit signals:

  • rate limit exceeded
  • quota exceeded
  • too many requests
  • retryAfter
  • 429

When 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:

  1. Paid gateway URL: https://ask-api.hermes-subnet.ai/mcp
  2. Required paid header: X-API-KEY
  3. If relevant, quota page: https://ask.hermes-subnet.ai/billing/

For practical prompt patterns, read references/tools-and-prompts.md.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

80.02%
按下载量换算678

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills