← 返回 Skills 市场
Graphql Builder
作者
BytesAgain2
· GitHub ↗
· v3.0.0
· MIT-0
403
总下载
0
收藏
2
当前安装
11
版本数
在 OpenClaw 中安装
/install graphql-builder
功能描述
Build and validate GraphQL queries, mutations, and schemas. Use when working with GraphQL APIs.
使用说明 (SKILL.md)
graphql-builder
Build and validate GraphQL queries, mutations, and schemas. Use when working with GraphQL APIs.
Commands
query
scripts/script.sh query \x3Ctype fields>
mutation
scripts/script.sh mutation \x3Ctype fields>
validate
scripts/script.sh validate \x3Cfile>
format
scripts/script.sh format \x3Cfile>
introspect
scripts/script.sh introspect \x3Curl>
schema
scripts/script.sh schema \x3Cfile>
Data Storage
Data stored in ~/.local/share/graphql-builder/.
Powered by BytesAgain | bytesagain.com | [email protected]
安全使用建议
This skill appears coherent with its purpose, but the included shell script is low-quality and has potential safety/correctness issues you should consider before use:
- The script uses unquoted variable expansions (e.g., cat $2, grep $2). Passing file paths or URLs with spaces or shell metacharacters could cause unexpected behavior or command injection. Do not run it on untrusted input.
- Some functions print literal '$2' and '$3' rather than expanding arguments, so the output may not be useful as-is.
- The introspect command issues a curl POST to whichever URL you pass. Only use endpoints you trust and avoid passing URLs that include embedded credentials or tokens.
- The script creates a data directory at ~/.local/share/graphql-builder; check its contents if you care about local storage.
Recommendations: review and/or fix the script (add proper quoting, use the local variables, and ensure safe handling of input) or run the skill in an isolated environment. If you accept these caveats and trust the author, the skill's footprint is proportionate to its stated functionality.
功能分析
Type: OpenClaw Skill
Name: graphql-builder
Version: 3.0.0
The script 'scripts/script.sh' contains multiple shell injection vulnerabilities due to unquoted variables in commands such as 'cat', 'grep', and 'mkdir' (e.g., in cmd_validate and cmd_format). It also includes an 'introspect' command that performs arbitrary network requests via 'curl' to user-provided URLs. While the behavior aligns with the stated GraphQL utility purpose, the lack of input sanitization and the presence of large blocks of empty padding in the script are characteristic of low-quality or potentially risky code.
能力评估
Purpose & Capability
Name/description match the included script and commands. The script implements query/mutation/validate/format/introspect/schema operations and stores data under ~/.local/share/graphql-builder as declared in SKILL.md. No unrelated credentials, binaries, or platform components are requested.
Instruction Scope
SKILL.md only runs the included script and documents the same commands. The script does read user-supplied files and sends a POST to a user-supplied URL for introspection (expected for this purpose). However, the script has several implementation issues (uses $2/$3 inside functions rather than the local variables, prints literal '$2' placeholders instead of expanded values, and uses unquoted expansions), which are correctness/security concerns (see user guidance).
Install Mechanism
There is no install spec; this is an instruction-only skill with a bundled shell script. Nothing is downloaded from external URLs or installed automatically.
Credentials
The skill declares no required environment variables, credentials, or config paths. The script only uses HOME to create its own data directory (~/.local/share/graphql-builder), which matches the SKILL.md.
Persistence & Privilege
always is false and the skill does not request elevated or persistent system privileges. It creates/uses only its own data directory and does not modify other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install graphql-builder - 安装完成后,直接呼叫该 Skill 的名称或使用
/graphql-builder触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.0.0
v3.0.0: Complete rewrite with real functionality.
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.5
old template -> domain-specific v2.0.0
v2.3.4
old template -> domain-specific v2.0.0
v2.3.3
Quality upgrade
v2.3.2
Quality upgrade: custom functionality
v2.3.1
De-template, unique content, script cleanup
v2.3.0
Quality fixes: removed third-party references, aligned docs with implementation
v2.2.0
Enhanced descriptions for better AI triggering
v1.0.0
graphql-builder 1.0.0
- Initial release with natural language to complete GraphQL schema generation
- Supports types, queries, mutations, subscriptions, enums, interfaces, unions, scalars, and input types
- Includes Relay-style cursor and offset pagination
- Generates authentication and authorization directives (e.g., JWT, roles)
- Adds field validation, DataLoader support for N+1 prevention, and inline documentation
- Provides CLI commands for generating schemas, types, resolvers, queries, and mutations
元数据
常见问题
Graphql Builder 是什么?
Build and validate GraphQL queries, mutations, and schemas. Use when working with GraphQL APIs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 403 次。
如何安装 Graphql Builder?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install graphql-builder」即可一键安装,无需额外配置。
Graphql Builder 是免费的吗?
是的,Graphql Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Graphql Builder 支持哪些平台?
Graphql Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Graphql Builder?
由 BytesAgain2(@ckchzh)开发并维护,当前版本 v3.0.0。
推荐 Skills