Skip to content
Skill

JSON rpc

Guides an agent through building JSON-RPC 2.0 calls and handlers per the spec

JSON rpc is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About JSON rpc

This skill points an agent at the JSON-RPC 2.0 specification, a stateless, lightweight remote procedure call protocol that uses JSON as its data format and is independent of any transport. The agent works through a short step-by-step workflow: choose the target version, then check each applicable requirement from the pinned specification text, such as request identifier rules, notification behaviour, and whether parameters are passed by position or by name.

The skill keeps its reference material in separate files. One lists the available protocol version lines and how to move between them, and another collects the pinned quotes the agent should respect. A verification checklist at the end confirms the work cites the pinned revision and that every applicable requirement holds.

The skill ships no scripts. It is plain instructions and reference files, so it needs only an agent that can read the skill folder and the specification it points to.

When your agent uses it

JSON-RPC: JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol. Covers JSON-RPC 2.0. Use when calling procedures over JSON-RPC 2.0. Triggers: JSON-RPC, jsonrpc.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (9 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the better-supabase plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase

Or copy only this skill to ~/.claude/skills/json-rpc:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/json-rpc &&
cp -R "$tmp/.agents/skills/json-rpc" ~/.claude/skills/json-rpc &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/json-rpc inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/json-rpc to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/json-rpc &&
cp -R "$tmp/.agents/skills/json-rpc" ~/.agents/skills/json-rpc &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/json-rpc inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/json-rpc to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/json-rpc &&
cp -R "$tmp/.agents/skills/json-rpc" ~/.cursor/skills/json-rpc &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/json-rpc inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/json-rpc

Or copy the folder to ~/.gemini/skills/json-rpc yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/json-rpc:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/json-rpc &&
cp -R "$tmp/.agents/skills/json-rpc" ~/.copilot/skills/json-rpc &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/json-rpc inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git

Then copy better-supabase/.agents/skills/json-rpc into your agent's skills folder as json-rpc. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Version selection
Helps the agent pick the JSON-RPC 2.0 line and avoid legacy lines unless a consumer requires them.
Pinned requirement checks
Walks the agent through quoted specification requirements that apply to the chosen role.
Request and notification rules
Covers rules for request identifiers, reserved method names, and notifications that get no reply.
Parameter structure rules
Explains when parameters must be arrays by position or objects by name.
Upgrade guidance
Describes following the upgrade section when moving an implementation to a newer line.
Pre-completion checklist
Provides a checklist confirming the revision and requirements are satisfied before finishing.

Good for

  • Design a JSON-RPC 2.0 request and response payload
  • Check that a server correctly handles notifications without replies
  • Validate that method names avoid the reserved rpc. prefix
  • Implement by-name versus by-position parameter handling
  • Review an existing JSON-RPC client for spec compliance

JSON rpc FAQ

What does JSON rpc need to run?

It has no scripts. It is a SKILL.md with reference files that an agent loads when a task involves JSON-RPC 2.0.

When does the skill trigger?

When the agent is calling procedures over JSON-RPC 2.0, or when the request mentions JSON-RPC or jsonrpc.

Which specification does JSON rpc follow?

It follows the JSON-RPC 2.0 specification published at jsonrpc.org, pinned to the revision dated 2026-10-06.

Is JSON rpc tied to a particular transport?

No. The specification is transport agnostic, so the skill applies whether messages travel over sockets, HTTP or within a single process.

How do I install JSON rpc in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/json-rpc to use it in all your projects, or to .claude/skills/json-rpc in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

Does JSON rpc run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use JSON rpc?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to JSON rpc?

The closest alternatives to JSON rpc are Jsonpath, JSON pointer, JSON patch, API design and A2a.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ScaleDockHQ/better-supabase

  1. Apply the CommonMark 0.31.2 spec when parsing or rendering Markdown

    • Open source
    • 5 GitHub stars
    • Files and documents
  2. Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Lets an agent stream runs, tool calls and shared state to user-facing apps over AG-UI 1.0

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Lets an AI agent drive Chrome or Chromium through a fast browser automation CLI

    • Open source
    • 5 GitHub stars
    • Browser automation
  5. Guides an agent to write, review and validate SKILL.md skills against the Agent Skills

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Write, place, migrate and review AGENTS.md instruction files for coding agents

    • Open source
    • 5 GitHub stars
    • Developer tools