design-schema

design-schema is a skill for Claude Code, Codex from orin-dx/agent-plugins. It costs 35 tokens per session (440 once invoked), scanned A, original, MIT.

A JSON Schema designer for defining the format of information passed between agents. JSON Schema is a machine-readable set of rules describing what data a JSON document may contain.

In plain words
What is it for?
Use it to design a new shared handoff format, including its fields, required values, producer, and consumer.
Why use it?
It prevents agents from handing each other inconsistent or incomplete data.

Skill for Claude CodeCodex

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

Good fit Use it to design a new shared handoff format, including its fields, required values, producer, and consumer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orin-dx/agent-plugins/design-schema
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 orin-dx/agent-plugins --skill design-schema
Clone the repo
git clone --depth 1 https://github.com/orin-dx/agent-plugins

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 design-schema

README.md
[![agentmods](https://agentmods.dev/badge/skills/orin-dx/agent-plugins/design-schema/github.svg)](https://agentmods.dev/skills/orin-dx/agent-plugins/design-schema)
Your own site
<a href="https://agentmods.dev/skills/orin-dx/agent-plugins/design-schema"><img src="https://agentmods.dev/badge/skills/orin-dx/agent-plugins/design-schema/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 design-schema

Your own site · 80×15
<a href="https://agentmods.dev/skills/orin-dx/agent-plugins/design-schema"><img src="https://agentmods.dev/badge/skills/orin-dx/agent-plugins/design-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 440 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.00035 $0.00440
Opus 5.5 $0.00014 $0.00176
Sonnet 5.5 $0.00007 $0.00088
Haiku 4.5 $0.00003 $0.00044

Measured 2mo ago against content hash 851f99ae9e3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-schema 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 2mo 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.

harnesses/codex/plugins/mason/skills/design-schema/SKILL.md · 38 lines

How it starts

The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.

State material concerns, evidence, consequence, and confidence directly. Do not soften blockers, manufacture praise, or claim certainty beyond the evidence.

Design the boundary before the prompt

Model the artifact's consumers, producers, durable evidence, and failure modes before deciding on fields. A schema exists to make handoffs stable across models and harnesses, not to serialize every thought.

Discovery

  1. Read the relevant existing files in shared/schemas/ and identify the nearest compatible contract.
  2. Name the producer, every consumer, lifecycle point, and whether the artifact is persisted.
  3. Separate required decision data from optional evidence, from the non-consumed reasoning scratchpad.
  4. Decide whether the change is compatible. Breaking changes require a new <name>@<N+1>.json; never mutate an existing version's contract.

Schema requirements

Create a Draft 2020-12 schema at shared/schemas/<name>@<version>.json with:

  • $id matching its versioned filename stem.
  • A title and field descriptions that explain consumer use.
  • Explicit required fields and additionalProperties: false at every closed object boundary.
  • A reasoning string for producer scratchpad when the artifact is structured output.
  • Precise enums, arrays, and nested shapes where consumers depend on them.

Validation and output

Validate representative valid and invalid examples against the draft. Report the producer/consumer map, compatibility decision, filename, validation evidence, and prompt sites that must cite the exact relative schema path.

Team use

Before delegating, read agent-roles/README.md; use recon to inventory existing contracts and adversary to pressure-test consumer assumptions before the primary agent authors the schema.

When teams are available, one teammate may inventory existing contracts while another pressure-tests consumer needs. The schema author owns the compatibility decision and final draft. Without teams, do those passes in order.

Read the full file on GitHub · 38 lines

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. 2mo ago Changed · +2 lines 851f99ae9e3c
  2. 2mo ago Changed · +8 lines · -71 tokens per session 748d2a2c6d9d
  3. 3mo ago First seen · 28 lines · 106 tokens per session scan A 1d8c41980a58

Subscribe to this mod's changes

design-schema is a skill published in the GitHub repository orin-dx/agent-plugins (1 stars, last pushed 2mo ago), licensed MIT. It adds 35 tokens to every session and 440 once invoked, about $0.0001 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-08-31.

Related

design-schema compared with skills from other repositories

design-schema next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-schemaorin-dx/agent-pluginsSkill12mo agoMITA35Claude Code, Codex
ai-code-generation-guardrailssickn33/agentic-awesome-skillsSkill51kyesterdayMITA35Claude Code
accessibility-testerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA25Claude Code, Codex
bdd-cucumberAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA26Claude Code, Codex
flaky-test-fixerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA29Claude Code, Codex
integration-testerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA24Claude Code, Codex
load-testerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA24Claude Code, Codex