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 miniidealab/openlogos --skill api-designergit clone --depth 1 https://github.com/miniidealab/openlogosWrote 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/miniidealab/openlogos/api-designer)<a href="https://agentmods.dev/skills/miniidealab/openlogos/api-designer"><img src="https://agentmods.dev/badge/skills/miniidealab/openlogos/api-designer/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/miniidealab/openlogos/api-designer"><img src="https://agentmods.dev/badge/skills/miniidealab/openlogos/api-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00000 | $0.02380 |
| Opus 5.5 | $0.00000 | $0.00952 |
| Sonnet 5.5 | $0.00000 | $0.00476 |
| Haiku 4.5 | $0.00000 | $0.00238 |
Grade A, and why
api-designer 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 3mo 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 — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: API Designer
基于时序图设计 OpenAPI 3.0+ YAML 规格,让 API 从场景中自然浮现而非凭空定义。每个端点可追溯到时序图的 Step 编号,确保"无场景不设计 API"。
触发条件
- 用户要求设计 API 或编写 API 文档
- 用户提到 "Phase 3 Step 2"、"API 设计"
- 已有场景时序图,需要细化 API 规格
- 用户提供了一个 API 端点需要详细设计
前置依赖
logos/resources/prd/3-technical-plan/2-scenario-implementation/中包含场景时序图logos/resources/prd/3-technical-plan/1-architecture/中包含架构概要(确认前后端分离方式、认证方案等)logos-project.yaml的tech_stack已填写
如果时序图目录为空,提示用户先完成 Phase 3 Step 1(scenario-architect)。
核心能力
- 从时序图中提取所有跨系统边界的 API 调用
- 去重、合并、按领域分组,形成端点清单
- 设计 OpenAPI 3.0+ YAML 规格(路径、参数、请求体、响应结构)
- 定义统一的错误响应格式和错误码体系
- 设计认证方案(Bearer Token / API Key / Cookie)
- 设计分页、排序、过滤的标准化参数
执行步骤
Step 1: 读取场景上下文
读取以下文件建立完整上下文:
- 场景时序图(
logos/resources/prd/3-technical-plan/2-scenario-implementation/):提取所有跨系统边界的箭头 - 架构概要(
logos/resources/prd/3-technical-plan/1-architecture/):确认认证方案、前后端分离方式、API 网关等 logos-project.yaml:读取tech_stack确认后端框架和部署方式
Step 2: 提取端点清单
遍历所有场景时序图,收集每个跨系统边界的调用箭头:
- 识别"跨系统边界"的箭头——客户端到服务端、服务端到外部服务、服务间调用
- 为每个箭头提取:HTTP 方法、路径、所属场景编号和 Step 编号
- 去重合并——同一个端点可能在多个场景中出现(如
POST /api/auth/login可能在 S02 和 S03 都有) - 输出端点清单摘要供用户确认:
从时序图中识别到 N 个 API 端点:
| # | 方法 | 路径 | 来源场景 | 领域 |
|---|------|------|---------|------|
| 1 | POST | /api/auth/register | S01 Step 2 | auth |
| 2 | POST | /api/auth/login | S02 Step 1 | auth |
| 3 | GET | /api/projects | S04 Step 1 | projects |
Step 3: 按领域分组
将端点按业务领域分组,每组对应一个 YAML 文件:
auth.yaml— 认证相关(注册、登录、登出、重置密码)projects.yaml— 核心业务对象的 CRUDbilling.yaml— 支付和订阅
分组原则:
- 同一数据实体的操作放在一起
- 认证/授权独立分组
- 第三方服务回调(如支付回调)放在对应业务领域
Step 4: 设计统一约定
在生成具体端点前,先确定全局约定:
认证方案(从架构概要中读取):
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
统一错误响应:
components:
schemas:
ErrorResponse:
type: object
required: [code, message]
properties:
code:
type: string
description: 机器可读的错误码(如 EMAIL_EXISTS)
message:
type: string
description: 人类可读的错误描述
details:
type: object
description: 附加错误信息(如字段级校验错误)
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.
- 3mo ago First seen · 226 lines · 0 tokens per session scan A e29b80cf362b
api-designer is a skill published in the GitHub repository miniidealab/openlogos (582 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,380 tokens. 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.
api-designer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| api-designerminiidealab/openlogos | Skill | 582 | 2d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 5d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.3k | today | 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 | 695 | yesterday | MIT | A | 105 | Claude Code, Codex |