datagsm-server: Skill for Claude Code

.agents/skills/api-design/SKILL.md

api-design is a skill for Claude Code, Codex from themoment-team/datagsm-server. It costs 38 tokens per session (217 once invoked), scanned A, original, MIT.

A guide for designing REST APIs, which are web interfaces that let software exchange data through standard URLs and requests. It covers URL structure, query parameters, API documentation, and response formats.

In plain words
What is it for?
Use it when adding or reviewing REST endpoints, including their paths, filters, pagination, sorting, OpenAPI descriptions, and response wrappers.
Why use it?
It helps prevent inconsistent endpoint names, parameter handling, documentation, and success or error responses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is themoment-team/datagsm-server's own configuration. It tells Claude Code and Codex how to work on datagsm-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything datagsm-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to themoment-team/datagsm-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/themoment-team/datagsm-server/master/.agents/skills/api-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/themoment-team/datagsm-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 api-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/themoment-team/datagsm-server/api-design/github.svg)](https://agentmods.dev/skills/themoment-team/datagsm-server/api-design)
Your own site
<a href="https://agentmods.dev/skills/themoment-team/datagsm-server/api-design"><img src="https://agentmods.dev/badge/skills/themoment-team/datagsm-server/api-design/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 api-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/themoment-team/datagsm-server/api-design"><img src="https://agentmods.dev/badge/skills/themoment-team/datagsm-server/api-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 217 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.00038 $0.00217
Opus 5.5 $0.00015 $0.00087
Sonnet 5.5 $0.00008 $0.00043
Haiku 4.5 $0.00004 $0.00022

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

Security

Grade A, and why

api-design 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 29d 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.

.agents/skills/api-design/SKILL.md · 33 lines

What it actually says

REST API Design Guide

URL Design

  • RESTful principles: /v1/auth/api-keys
  • Use plural: /students, /clubs
  • Hierarchy: /students/{id}/projects

Query Parameters

  • Filtering: ?status=active
  • Pagination: ?page=0&size=20
  • Sorting: ?sort=createdAt,desc

OpenAPI Documentation

@Operation(summary = "Create API key", description = "...")
@ApiResponse(responseCode = "200", description = "Success")
@PostMapping("/api-keys")
fun create(@Valid @RequestBody reqDto: CreateApiKeyReqDto): ApiKeyResDto

Response Format

  • Success: CommonApiResponse(data = ...)
  • Error: ExpectedException → Global Handler
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. 29d ago First seen · 33 lines · 38 tokens per session scan A 17b1e8bd0d91

Subscribe to this mod's changes

api-design is a skill published in the GitHub repository themoment-team/datagsm-server (29 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 217 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-10-08.

Related

api-design compared with skills from other repositories

api-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-designthemoment-team/datagsm-serverSkill29yesterdayMITA38Claude Code, Codex
spring-ecosystem-docspledgeandgrow/pledge-skillsSkill103mo agoMITA43Claude Code, Codex
zhihu-searchitwanger/toBeBetterJavaerSkill18k2d agononeA103Claude Code, Codex
spring-mcp-contractsexplyt/spring-pluginSkill167yesterdayApache-2.0A102Claude Code, Codex
spring-boot-developmentmanutej/luxor-claude-marketplaceSkill634mo agononeA31Claude Code
java-cacheducpm2303/claude-java-pluginsSkill177mo agononeA46Claude Code
apollo-routerclidey/whodbSkill5.0kyesterdayApache-2.0A140Claude Code