format-response

An API response format that puts results, status information, page details, and errors into a consistent structure.

In plain words
What is it for?
Use it when designing API endpoints, especially list endpoints that need pagination and error messages with codes, details, and readable text.
Why use it?
It prevents different endpoints from returning data and errors in different shapes, making client code easier to write and maintain.

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/format-response
Any agent
npx skills add coderadius-ai/coderadius --skill format-response
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 61 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.00061
Opus 5 $0.00008 $0.00030
Sonnet 5 $0.00003 $0.00012
Haiku 4.5 $0.00002 $0.00006

Measured 2d ago against content hash ea0add36e0b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

format-response 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.

tests/fixtures/microservices/logistics-routing-service/.agents/skills/format-response/SKILL.md · 11 lines

What it actually says

Format Response

  1. Wrap data in standard envelope with status, data, meta
  2. Add pagination metadata for list endpoints
  3. Normalize error responses with code, message, details
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 · 11 lines · 16 tokens per session scan A ea0add36e0b2

Subscribe to this mod's changes

format-response 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 61 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