# JSON rpc

> JSON rpc is an open-source agent skill for developer tools. Guides an agent through building JSON-RPC 2.0 calls and handlers per the spec. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ScaleDockHQ/better-supabase/tree/main/.agents/skills/json-rpc
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** json-rpc
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/json-rpc)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/json-rpc)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

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

## Alternatives

- [Jsonpath](https://ai-powered.com/skills/jsonpath): Jsonpath is an open-source agent skill for developer tools.
- [JSON pointer](https://ai-powered.com/skills/json-pointer): JSON pointer is an open-source agent skill for developer tools.
- [JSON patch](https://ai-powered.com/skills/json-patch): JSON patch is an open-source agent skill for developer tools.
- [API design](https://ai-powered.com/skills/api-design-nabwinsaud): API design is an open-source agent skill for developer tools.
- [A2a](https://ai-powered.com/skills/a2a-scaledockhq): A2a is an open-source agent skill for developer tools.
- [API design](https://ai-powered.com/skills/api-design): API design is an open-source agent skill for developer tools.
- [Agent skills](https://ai-powered.com/skills/agent-skills): Agent skills is an open-source agent skill for developer tools.
- [JSON schema](https://ai-powered.com/skills/json-schema): JSON schema is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/json-rpc
