jsonapi

jsonapi is a skill for Claude Code, Codex from prowler-cloud/prowler. It costs 34 tokens per session (2,214 once invoked), scanned A, original, Apache-2.0.

A guide for making web APIs follow JSON:API version 1.1, a standard format for API responses, relationships, errors, and other data exchange rules.

In plain words
What is it for?
It helps developers create or review API endpoints, responses, relationships, errors, and compliance with the JSON:API specification.
Why use it?
It removes ambiguity about what an API response must contain and prevents responses that break the standard. It is used alongside Django REST Framework guidance for implementation details.

Skill for Claude CodeCodex

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

Good fit It helps developers create or review API endpoints, responses, relationships, errors, and compliance with the JSON:API specification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prowler-cloud/prowler/jsonapi
About the project

Prowler is an open-source cloud security platform that checks cloud environments for security issues and compliance with standards such as CIS, NIST, and GDPR. Security teams use it to assess configurations, prioritize findings, produce reports, and guide remediation.

prowler-cloud/prowler · 15,364 stars · on GitHub · prowler.com

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 prowler-cloud/prowler --skill jsonapi
Clone the repo
git clone --depth 1 https://github.com/prowler-cloud/prowler

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 jsonapi

README.md
[![agentmods](https://agentmods.dev/badge/skills/prowler-cloud/prowler/jsonapi/github.svg)](https://agentmods.dev/skills/prowler-cloud/prowler/jsonapi)
Your own site
<a href="https://agentmods.dev/skills/prowler-cloud/prowler/jsonapi"><img src="https://agentmods.dev/badge/skills/prowler-cloud/prowler/jsonapi/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 jsonapi

Your own site · 80×15
<a href="https://agentmods.dev/skills/prowler-cloud/prowler/jsonapi"><img src="https://agentmods.dev/badge/skills/prowler-cloud/prowler/jsonapi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,214 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00034 $0.02214
Opus 5.5 $0.00014 $0.00886
Sonnet 5.5 $0.00007 $0.00443
Haiku 4.5 $0.00003 $0.00221

Measured 27d ago against content hash ef7a9a52a96e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jsonapi 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 27d 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.

skills/jsonapi/SKILL.md · 272 lines

How it starts

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

Use With django-drf

This skill focuses on spec compliance. For implementation patterns (ViewSets, Serializers, Filters), use django-drf skill together with this one.

Skill Focus
jsonapi What the spec requires (MUST/MUST NOT rules)
django-drf How to implement it in DRF (code patterns)

When creating/modifying endpoints, invoke BOTH skills.


Before Implementing/Reviewing

When a rule is unclear, check the official spec (https://jsonapi.org/format/) for the specific topic before deciding.


Critical Rules (NEVER Break)

Document Structure

  • NEVER include both data and errors in the same response
  • ALWAYS include at least one of: data, errors, meta
  • ALWAYS use type and id (string) in resource objects
  • NEVER include id when creating resources (server generates it)

Content-Type

  • ALWAYS use Content-Type: application/vnd.api+json
  • ALWAYS use Accept: application/vnd.api+json
  • NEVER add parameters to media type without ext/profile

Resource Objects

  • ALWAYS use string for id (even if UUID)
  • ALWAYS use lowercase kebab-case for type
  • NEVER put id or type inside attributes
  • NEVER include foreign keys in attributes - use relationships

Relationships

  • ALWAYS include at least one of: links, data, or meta
  • ALWAYS use resource linkage format: {"type": "...", "id": "..."}
  • NEVER use raw IDs in relationships - always use linkage objects

Error Objects

  • ALWAYS return errors as array: {"errors": [...]}
  • ALWAYS include status as string (e.g., "400", not 400)
  • ALWAYS include source.pointer for field-specific errors

HTTP Status Codes (Mandatory)

Operation Success Async Conflict Not Found Forbidden Bad Request
GET 200 - - 404 403 400
POST 201 202 409 404 403 400
PATCH 200 202 409 404 403 400
DELETE 200/204 202 - 404 403 -

Read the full file on GitHub · 272 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. 27d ago Changed ef7a9a52a96e
  2. 3mo ago First seen · 272 lines · 34 tokens per session scan A 5d29e35cbb58

Subscribe to this mod's changes

jsonapi is a skill published in the GitHub repository prowler-cloud/prowler (15,364 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 2,214 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-30.

Related

jsonapi compared with skills from other repositories

jsonapi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jsonapiprowler-cloud/prowlerSkill15ktodayApache-2.0A34Claude Code, Codex
amazon-alexasickn33/agentic-awesome-skillsSkill51kyesterdayMITA53Claude Code
validating-us-coremaziyarpanahi/openmedSkill5.9k2d agoApache-2.0A134Claude Code
amazon-location-serviceawslabs/agent-pluginsSkill956yesterdayApache-2.0A107Claude Code
api-gatewayitsmostafa/aws-agent-skillsSkill1.2kyesterdayMITA38Claude Code
cognitoitsmostafa/aws-agent-skillsSkill1.2kyesterdayMITA38Claude Code
snsitsmostafa/aws-agent-skillsSkill1.2kyesterdayMITA32Claude Code