shotgrid-schema-discovery

shotgrid-schema-discovery is a skill for Claude Code, Codex from loonghao/shotgrid-mcp-server. It costs 39 tokens per session (531 once invoked), scanned A, original, MIT.

A set of instructions for discovering ShotGrid's schema, meaning its entity types, fields, and allowed status values. It prefers reading this information from MCP resources before making narrower live queries.

In plain words
What is it for?
Use it to check available entity types, fields, required or editable properties, and valid status codes before working with ShotGrid data.
Why use it?
Verified field names and status codes prevent failed or incorrect ShotGrid reads and updates. Loading shared schema information once can also avoid repeated queries.

Skill for Claude CodeCodex

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

Good fit Use it to check available entity types, fields, required or editable properties, and valid status codes before working with ShotGrid data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/loonghao/shotgrid-mcp-server/shotgrid-schema-discovery
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 loonghao/shotgrid-mcp-server --skill shotgrid-schema-discovery
Clone the repo
git clone --depth 1 https://github.com/loonghao/shotgrid-mcp-server

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 shotgrid-schema-discovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/loonghao/shotgrid-mcp-server/shotgrid-schema-discovery/github.svg)](https://agentmods.dev/skills/loonghao/shotgrid-mcp-server/shotgrid-schema-discovery)
Your own site
<a href="https://agentmods.dev/skills/loonghao/shotgrid-mcp-server/shotgrid-schema-discovery"><img src="https://agentmods.dev/badge/skills/loonghao/shotgrid-mcp-server/shotgrid-schema-discovery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shotgrid-schema-discovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/loonghao/shotgrid-mcp-server/shotgrid-schema-discovery"><img src="https://agentmods.dev/badge/skills/loonghao/shotgrid-mcp-server/shotgrid-schema-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 531 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.00039 $0.00531
Opus 5.5 $0.00016 $0.00212
Sonnet 5 $0.00008 $0.00106
Haiku 4.5 $0.00004 $0.00053

Measured 2d ago against content hash 29509f3a50fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-25, from the pricing page.

Security

Grade A, and why

shotgrid-schema-discovery 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 2d 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.

src/shotgrid_mcp_server/data/skills/shotgrid-schema-discovery/SKILL.md · 55 lines

What it actually says

Discovering the ShotGrid schema

Read references/entity-types.md for the common entity types and the fields worth asking for first.

Prefer resources over tools

This server exposes the schema as MCP resources alongside its tools. Resources are context loaded once, not a round trip per question:

Resource Contents
shotgrid://schema/entities Every entity type, as sg.schema_read() returns it
shotgrid://schema/statuses status_list fields of every entity type
shotgrid://schema/statuses/{entity_type} status_list fields of one entity type

Use the matching tool when you need a narrower or live answer:

Goal Tool
Fields of one entity type schema_get
All entity types sg_schema_entity_read
One field's schema sg_schema_field_read

Procedure

  1. Start with shotgrid://schema/statuses/{entity_type} when the task involves status. It returns the valid codes and their display labels in one read, which is exactly what an update needs.
  2. Use schema_get for field-level questions on a single entity type — data types, whether a field is required, whether it is editable.
  3. Verify every field name before writing. Custom fields are named sg_<something> and are studio-specific. A field that exists in one project may not exist in another.
  4. Cache what you learned for the session. Schema rarely changes inside one task; do not re-read it between steps.

Pitfalls

  • Do not assume a field exists because it exists on a similar entity type. sg_status_list is common but not universal.
  • Entity type names are case-sensitive and capitalised (Shot, not shot).
  • Custom entities are CustomEntity01 … CustomEntityNN; their human names live in the schema, not in the type name.
  • A schema read is not a data read. The schema tells you what a field is called, never what it currently holds.
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. 2d ago First seen · 55 lines · 39 tokens per session scan A 29509f3a50fb

Subscribe to this mod's changes

shotgrid-schema-discovery is a skill published in the GitHub repository loonghao/shotgrid-mcp-server (65 stars, last pushed 2d ago), licensed MIT. It adds 39 tokens to every session and 531 once invoked, about $0.0002 per session on Opus 5.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-09-23.