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.
npx skills add Tasachii/Tasachii-Tools --skill api-designgit clone --depth 1 https://github.com/Tasachii/Tasachii-ToolsWrote 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.
[](https://agentmods.dev/skills/tasachii/tasachii-tools/api-design)<a href="https://agentmods.dev/skills/tasachii/tasachii-tools/api-design"><img src="https://agentmods.dev/badge/skills/tasachii/tasachii-tools/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.
<a href="https://agentmods.dev/skills/tasachii/tasachii-tools/api-design"><img src="https://agentmods.dev/badge/skills/tasachii/tasachii-tools/api-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00093 | $0.00899 |
| Opus 5.5 | $0.00037 | $0.00360 |
| Sonnet 5.5 | $0.00019 | $0.00180 |
| Haiku 4.5 | $0.00009 | $0.00090 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.
api-design — API ที่ดีคือ API ที่เดาได้ โดยไม่ต้องเปิด docs
Phase 0 — Convention เดิมมาก่อนตำรา
ถ้าโปรเจกต์มี API อยู่แล้ว: อ่าน routes จริงทั้งหมดก่อน (routes/, controllers/, app router) แล้วสกัด convention ที่ใช้อยู่ — แอปที่ผสมสอง convention แย่กว่าแอปที่ใช้ convention เชยๆ แต่สม่ำเสมอทั้งแอป ของใหม่ต้องหน้าตาเหมือนของเก่า เว้นแต่ user สั่งยกเครื่อง
Phase 1 — Checklist ออกแบบ/รีวิว
| เรื่อง | กติกา |
|---|---|
| Naming | คำนามพหูพจน์ ไม่ใช่กริยา — POST /orders ไม่ใช่ /createOrder; nested ไม่เกิน 2 ชั้น (/users/:id/orders พอ ลึกกว่านั้นใช้ query/filter) |
| Status codes | 201+Location เมื่อสร้าง, 204 เมื่อไม่มี body, 400 รูปแบบผิด vs 422 ค่าไม่ผ่านกติกา, 401 ยังไม่ล็อกอิน vs 403 ล็อกอินแล้วแต่ไม่มีสิทธิ์, 409 ชนกับ state ปัจจุบัน — ห้ามตอบ 200 พร้อม {"error": ...} |
| Error shape | โครงเดียวทั้งแอป: {"error": {"code": "...", "message": "...", "details": [...]}} — code เป็น machine-readable สำหรับ client แยก case, message สำหรับคน |
| Pagination | บังคับบน collection ตั้งแต่วันแรก (เติมทีหลัง = breaking change) — cursor-based ถ้าข้อมูลโต/insert ถี่, page-based พอถ้าเล็กและมี UI แบ่งหน้า |
| Filtering/sorting | query params ตั้งชื่อสม่ำเสมอ (?status=paid&sort=-created_at) — อย่า invent DSL ใหม่ถ้าไม่จำเป็น |
| Idempotency | PUT/DELETE ต้อง idempotent โดยความหมาย; POST ที่ retry แล้วอันตราย (จ่ายเงิน, สั่งซื้อ) รองรับ Idempotency-Key |
| ค่าและเวลา | เวลา = ISO 8601 UTC เสมอ (2026-07-08T14:00:00Z); เงิน = integer หน่วยย่อย (สตางค์) ห้าม float |
| Versioning | ยังไม่มีผู้ใช้ภายนอก → ยังไม่ต้องมี /v1 ก็ได้ แต่ตัดสินใจแล้วบันทึกไว้; มีเมื่อไหร่ breaking change ต้องออก version ใหม่ ไม่แก้ของเดิมเงียบๆ |
Phase 2 — Output
- ตาราง endpoint: method · path · req body · res body · error codes ที่เป็นไปได้
- ตัวอย่าง JSON จริง ของ req/res อย่างน้อย endpoint หลัก — shape จริงมีค่ากว่าคำอธิบาย
- โหมดรีวิว: ชี้จุดที่ขัด convention ของ codebase เองเป็น
file:lineเรียงตามผลกระทบ (breaking > confusing > cosmetic)
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.
- 2mo ago First seen · 36 lines · 93 tokens per session scan A 4736263f4722
api-design is a skill published in the GitHub repository Tasachii/Tasachii-Tools (2 stars, last pushed 2mo ago), licensed MIT. It adds 93 tokens to every session and 899 once invoked, about $0.0004 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-09-13.
api-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| api-designTasachii/Tasachii-Tools | Skill | 2 | 2mo ago | MIT | A | 93 | Claude Code |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 7d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | A | 92 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | A | 105 | Claude Code, Codex |