# JSON pointer

> JSON pointer is an open-source agent skill for developer tools. Lets the agent resolve and build JSON Pointer paths per RFC 6901 for JSON documents. 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-pointer
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** json-pointer
- **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 guides the agent through identifying a single value inside a JSON document using JSON Pointer, the path syntax standardized in RFC 6901. It walks the agent through choosing the target version line, then applying the quoted requirements from the RFC, such as escaping the tilde and slash characters inside reference tokens, decoding tokens in the right order, and handling array indexes including the dash for the position after the last element.

The skill also covers error handling. It tells the agent to stop evaluation when a pointer cannot resolve to a concrete value and to define how errors are handled when acting as an application. An optional upgrade step is included for moving between version lines, and the agent is pointed to reference files that list each requirement with its section number.

The skill runs no scripts and needs no extra tools. It works from the RFC text and the skill's own reference files, and it can be installed alongside the json-schema skill when both specifications apply to the same work.

## When your agent uses it

> JSON Pointer (RFC 6901): identify and evaluate a specific value within a JSON document. Covers RFC 6901 JavaScript Object Notation (JSON) Pointer. Use when evaluating a JSON Pointer. Triggers: JSON Pointer, RFC 6901.

## 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-pointer)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/json-pointer)

## Features

- **Pointer syntax escaping:** Covers encoding of tilde and slash characters within reference tokens.
- **Token decoding order:** Explains the sequence for transforming escaped sequences in each token.
- **Array index rules:** Handles zero-based indexes, leading zero restrictions, and the end-of-array dash.
- **Error handling guidance:** Defines when evaluation terminates on unresolved or malformed pointers.
- **Version selection and upgrades:** Helps pick the current RFC 6901 line and follow upgrade notes.

## Good for

- Look up a nested field in a JSON config using a pointer path
- Escape keys containing slashes or tildes in a JSON Pointer
- Validate that a JSON Pointer string follows RFC 6901 syntax
- Write code that resolves JSON Pointers against a document

## 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-pointer`:

```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-pointer &&
cp -R "$tmp/.agents/skills/json-pointer" ~/.claude/skills/json-pointer &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/json-pointer` 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-pointer &&
cp -R "$tmp/.agents/skills/json-pointer" ~/.agents/skills/json-pointer &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/json-pointer` 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-pointer &&
cp -R "$tmp/.agents/skills/json-pointer" ~/.cursor/skills/json-pointer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/json-pointer` 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-pointer
```

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

### VS Code

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

```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-pointer &&
cp -R "$tmp/.agents/skills/json-pointer" ~/.copilot/skills/json-pointer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/json-pointer` 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-pointer` into your agent's skills folder as `json-pointer`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What triggers JSON pointer?

It is meant for tasks involving evaluating a JSON Pointer, and its triggers include the terms JSON Pointer and RFC 6901.

### Does JSON pointer run any scripts?

No. The skill has no scripts and does not set any allowed tools.

### Which specification does JSON pointer follow?

It follows RFC 6901, a proposed standard published in April 2013, and the skill is pinned to that revision.

### How do I install JSON pointer?

Run npx skills add ScaleDockHQ/scaledock-skills --skill json-pointer.

### How do I install JSON pointer in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/json-pointer to use it in all your projects, or to .claude/skills/json-pointer 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 pointer 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 pointer?

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 pointer?

The closest alternatives to JSON pointer are Jsonpath, JSON rpc, JSON patch, JSON schema and Axiom swift.

## 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 rpc](https://ai-powered.com/skills/json-rpc): JSON rpc 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.
- [JSON schema](https://ai-powered.com/skills/json-schema): JSON schema is an open-source agent skill for developer tools.
- [Axiom swift](https://ai-powered.com/skills/axiom-swift-charleswiltgen-2): Axiom swift 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.
- [API GraphQL GRPC](https://ai-powered.com/skills/api-graphql-grpc): API GraphQL GRPC is an open-source agent skill for developer tools.
- [M02 resource](https://ai-powered.com/skills/m02-resource): M02 resource is an open-source agent skill for developer tools.

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