code-mode
Generate validated GraphQL queries against this server's schema
pinned to #6a8cebbupdated 2 weeks ago
Ask your AI client: “install skills/code-mode”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/code-modemetahub onboarded this repo on the author's behalf.
If you own github.com/paiml/rust-mcp-sdk on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
53
Last commit
2 weeks ago
Latest release
published
- #mcp
- #paiml
- #paiml-active-tool
- #pdmt
- #pmat
- #pmcp
- #rust
- #sdk
About this skill
Pulled from SKILL.md at publish time.
This server exposes `validate_code` and `execute_code` tools for running LLM-generated GraphQL queries with cryptographically signed approval tokens.
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.6a8cebb· 2 weeks ago
Documentation
41Description qualitywarn
8 words · 63 chars — skills use the description as their trigger; aim higher
Aim for 15+ words and include trigger phrases like “use this skill when …”.
README is present and substantial
30,668 chars · 15 sections · 23 code blocks
Tags / topics declared
8 total — mcp, paiml, paiml-active-tool, pdmt, pmat, pmcp (+2)
README has usage / example sections
found: Quick Start · Example
Homepage / docs URL declared
https://paiml.github.io/rust-mcp-sdk/
Release history
1- releasecurrent6a8cebbwarn2 weeks ago
Contents
This server exposes validate_code and execute_code tools for running
LLM-generated GraphQL queries with cryptographically signed approval tokens.
Before you generate a query
- Read
skill://code-mode/references/schema.graphqlfor available types. - Read
skill://code-mode/references/examples.mdfor canonical patterns. - Read
skill://code-mode/references/policies.mdfor what's allowed.
Round-trip
- Generate a GraphQL query that satisfies the user's request.
- Call
validate_code(code: "<your query>"). You'll get back anapproval_tokenplus a human-readable explanation. Show the explanation to the user. - After user approval, call
execute_code(code, token). Any modification tocodebetween validate and execute invalidates the token.
When NOT to use code mode
For simple lookups that match a curated tool (e.g. get_user_by_id),
prefer that tool. Code mode is for the long tail of compositions that
don't have dedicated tools.
Reviews
No reviews yet. Be the first.
Related
Gpt Researcher
An autonomous agent that conducts deep research on any data using any LLM providers
Verification Before Completion
Evidence before assertions, always
Writing Plans
Turn specs into phased implementation plans
mh install skills/code-mode