Skip to content
Skill

JSON pointer

Lets the agent resolve and build JSON Pointer paths per RFC 6901 for JSON documents

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

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.

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 (11 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-pointer:

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/json-pointer 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-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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/json-pointer 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-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.

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

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

Gemini CLI docs on skills

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

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.

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-pointer into your agent's skills folder as json-pointer. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

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

JSON pointer 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.

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