validate-payload

A skill for checking an incoming request against a JSON Schema, a formal description of the fields and values an API accepts. It returns errors with field locations and records failed checks with a correlation ID.

In plain words
What is it for?
Use it at API endpoints that need request-body validation, structured field errors, or logged validation failures.
Why use it?
It catches malformed requests before the rest of the system processes them and makes validation failures easier to trace.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/coderadius-ai/coderadius/validate-payload
Any agent
npx skills add coderadius-ai/coderadius --skill validate-payload
Clone the repo
git clone --depth 1 https://github.com/coderadius-ai/coderadius

Made for: Claude Code, Codex.

Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 68 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.00068
Opus 5 $0.00008 $0.00034
Sonnet 5 $0.00003 $0.00014
Haiku 4.5 $0.00002 $0.00007

Measured yesterday against content hash 9f69ca7522ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

validate-payload 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 yesterday.

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.

tests/fixtures/microservices/notification-service/.claude/skills/validate-payload/SKILL.md · 12 lines

What it actually says

Validate Payload

  1. Load the schema for the endpoint from the schema registry
  2. Validate the request body against the schema
  3. Return structured validation errors with field paths
  4. Log validation failures with correlation ID
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. yesterday First seen · 12 lines · 16 tokens per session scan A 9f69ca7522ad

Subscribe to this mod's changes

validate-payload is a skill published in the GitHub repository coderadius-ai/coderadius (24 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 16 tokens to every session and 68 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

mandu-mcp-index

MCP 도구 오케스트레이션 라우터 (always-on). 108개 MCP 도구 중 상황에 맞는 워크플로우 skill 선택, 집계>세분 우선순위, anti-pattern 카탈로그. MCP 도구 호출 직전 자동 참조.

konamgil/mandu · 69 tokens

mandu-mcp-verify

편집 후 검증 루프. 파일 편집 직후, "check 해줘", stop-hook 자동 호출. ateautopipeline + guardcheck + doctor 를 병렬로. 개별 ate 도구로 수동 분해 금지 — 실패했을 때만 drill-down.

konamgil/mandu · 66 tokens

mandu-lint

Lint 가이드 — 가드레일의 한 축. oxlint 셋업 / 실행 / type-aware / lefthook 통합. "lint 켜줘", "코드 스타일 검사", lint 에러 발생 시 자동 호출.

konamgil/mandu · 53 tokens

mandu-mcp-create-flow

스펙 우선 생성 워크플로우. "만들어줘", 피처/리소스/라우트 추가 시 자동 호출. contract → generate 순서를 강제하고 생성 직후 verify loop 로 전이. granular 도구 (addroute + createcontract + generate) 를 손으로 엮지 않는다.

konamgil/mandu · 76 tokens

mandu-mcp-deploy

빌드/배포 파이프라인 워크플로우. "배포", "deploy", release 전 자동 호출. deploy.check 는 fail-fast 게이트. deploy.preview 로 프로덕션 리허설. manual build + guard + seo 나열 대신 aggregate 도구 사용.

konamgil/mandu · 65 tokens

mandu-mcp-safe-change

위험 변경 트랜잭션 래퍼. 마이그레이션 / 대규모 리팩터 / refactor 도구 / "돌이킬 수 없는 변경" 시 자동 호출. historysnapshot + txbegin 필수, verify green 이면 txcommit, 아니면 txrollback.

konamgil/mandu · 70 tokens