Grok Build

Grok Build is a skill for Claude Code, Codex from grokloop/grokchain-mcp. It costs 44 tokens per session (3,028 once invoked), scanned A, original, MIT.

A guide for an automated bot that uses the official Grok Chain interface to create accounts, manage grants, check permissions, and make approved payments. It specifies which party signs each action and says the bot must not hold keys or SOL.

In plain words
What is it for?
Use it when implementing grant checks, payments, swaps, or token trades through the specified Grok Chain intents.
Why use it?
It sets clear signing and spending boundaries for blockchain actions, reducing the risk of unauthorized transfers or exposed secrets.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when implementing grant checks, payments, swaps, or token trades through the specified Grok Chain intents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/grokloop/grokchain-mcp/grok-build
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add grokloop/grokchain-mcp --skill grok-build
Clone the repo
git clone --depth 1 https://github.com/grokloop/grokchain-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Grok Build

README.md
[![agentmods](https://agentmods.dev/badge/skills/grokloop/grokchain-mcp/grok-build.svg)](https://agentmods.dev/skills/grokloop/grokchain-mcp/grok-build)
Your own site
<a href="https://agentmods.dev/skills/grokloop/grokchain-mcp/grok-build"><img src="https://agentmods.dev/badge/skills/grokloop/grokchain-mcp/grok-build.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,028 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.03028
Opus 5 $0.00022 $0.01514
Sonnet 5 $0.00009 $0.00606
Haiku 4.5 $0.00004 $0.00303

Measured 8d ago against content hash ad069a293f47, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Grok Build scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/grok-build/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Grok Build

Talk to Grok Chain through the official MCP. Tools are intents. You never hold keys. You never hold SOL.

Tool names

Use these names. Do not drop to raw Solana unless the human asked you to debug.

Intent Who signs What it is
create_account human root Open the GrokAccount PDA
issue_grant human root Authorize an agent pubkey. Router-mode allowlist = INTENTS id for this cluster (local-only on localnet; EYhYtq… on devnet).
revise_grant human root Replace policy on that grant
revoke_grant human root Mark the grant revoked
check_grant agent Consume path. Increments spent_lamports. Does not move SOL.
pay agent signs; relayer fee-pays Implemented INTENTS client. localnet: local-only INTENTS id. devnet: grokchain-devnet INTENTS id. Human-funded SpendVault → recipient. Bot never holds SOL.
swap agent signs; relayer fee-pays Grant-gated SOL send with min_out. Not a DEX. Not Jupiter. Not SPL. Unchanged.
token_buy / token_sell agent signs; relayer fee-pays Grant-gated Jupiter v6. Quote mint may be WSOL, USDC, or another mint. remaining from Jupiter swap-instructions. Trader PDA is user. Old swap is still the SOL send.
deploy agent signs; relayer fee-pays check_grant(0) + DeployRequested. Not a BPF deploy. No ELF.
call agent signs; relayer fee-pays Grant-gated router. amount 0 = policy ping. CORE allowlists INTENTS, not the inner target.
pump_buy / pump_sell / pump_create Cut from live MAINNET INTENTS (size). Do not send. Graduated coins use token_buy / token_sell.
pump_amm_buy / pump_amm_sell Cut from live MAINNET INTENTS (size). Do not send. Jupiter token_buy / token_sell still reach graduated pump coins.
get_account / get_grant none Optional reads

CORE + INTENTS by cluster

Read the full file on GitHub · 156 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 156 lines · 44 tokens per session scan A ad069a293f47

Subscribe to this mod's changes

Grok Build is a skill published in the GitHub repository grokloop/grokchain-mcp (1 stars, last pushed 9d ago), licensed MIT. It adds 44 tokens to every session and 3,028 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.