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 agentmods add skills/miniidealab/openlogos/scenario-architectnpx skills add miniidealab/openlogos --skill scenario-architectgit 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/scenario-architect)<a href="https://agentmods.dev/skills/miniidealab/openlogos/scenario-architect"><img src="https://agentmods.dev/badge/skills/miniidealab/openlogos/scenario-architect.svg" alt="Measured on agentmods" 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.00000 | $0.03346 |
| Opus 5 | $0.00000 | $0.01673 |
| Sonnet 5 | $0.00000 | $0.00669 |
| Haiku 4.5 | $0.00000 | $0.00335 |
Grade A, and why
scenario-architect 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 6d 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 — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Scenario Architect
将 Phase 1/2 已定义的业务场景展开为技术时序图,让 API 设计自然浮现,并设计完整的异常用例。场景编号沿用 Phase 1 定义。
触发条件
- 用户要求画时序图、设计业务场景或进行场景建模
- 用户提到 "Phase 3 Step 1"、"场景驱动"、"技术方案设计"
- 已有需求文档和产品设计文档(含场景定义),需要开始技术实现
- 用户指定某个场景编号(如 S01)需要展开为时序图
核心能力
- 读取 Phase 1/2 的场景定义和验收条件,作为时序图的输入
- 为每个场景绘制 Mermaid 时序图(严格遵循编号规范)
- 为关键步骤撰写说明文字(解释"为什么"而非"做什么")
- 识别每个步骤的异常情况,设计结构化的异常用例
- 生成场景概览文档(场景地图 + 场景索引)
与 Phase 1/2 的衔接
Phase 3 不再从零识别场景。 场景在 Phase 1 已定义(S01, S02...),Phase 2 已细化交互流程,Step 0 已确定技术架构和选型。Phase 3 Step 1 的工作是将同一个场景从"交互视角"展开为"技术视角",时序图的参与方应与架构图中的系统组件一致:
| 输入(来自 Phase 1/2) | 输出(Phase 3) |
|---|---|
| 场景编号和名称 | 时序图标题保留编号 |
| 触发条件 | 时序图的起始箭头 |
| 主路径描述 | 时序图的 Step 序列 |
| GIVEN/WHEN/THEN(业务级) | 时序图步骤的行为描述 |
| 异常验收条件 | EX 异常用例(技术级) |
| 涉及的页面和交互(Phase 2) | 参与方识别 |
执行步骤
Step 1: 加载场景上下文
读取 Phase 1 需求文档、Phase 2 产品设计文档和 Phase 3 Step 0 技术架构概要中的场景定义。不要重新发明场景——直接沿用已有编号和描述。参与方命名应与架构图中的系统组件保持一致。
场景粒度前置检查(绘制时序图之前必须执行):
在继续之前,先验证 Phase 1 中的场景定义是否粒度合理。检查以下反模式:
- 单 API 场景:如果一个场景的主路径只有 1-2 个步骤(如"创建任务"= 仅
POST /api/tasks),粒度过细 - CRUD 碎片化:如果场景列表中对同一实体出现了独立的"创建X"、"查询X"、"更新X"、"删除X"场景,应合并为目标导向的场景
- 缺少业务目标:如果场景的结果只是"数据被写入/读取了",说明缺少真正的用户目标
如果检测到以上任何反模式:停止绘制时序图,建议回到 Phase 1 按业务目标重新组织场景。为粒度过细的场景绘制时序图会将问题传导到 API 设计、测试用例和代码实现。
确认每个场景的:
- 场景编号:沿用 Phase 1 的
S01,S02...(或 Phase 2 的子场景S01.1) - 参与方:从 Phase 2 的交互流程中识别涉及哪些系统组件
- 主路径:从 Phase 1/2 的验收条件中提取正常流程
- 已知异常:从 Phase 1/2 的异常验收条件中提取
Step 2: 绘制时序图
为每个场景绘制 Mermaid 时序图,严格遵循以下规范:
编号规范:
- 每个箭头必须带
Step N:编号前缀 - 编号从 1 开始连续递增
- 每个箭头附一行行为描述:
HTTP方法 /api/路径 — 一句话说明
参与方规范:
- 使用短别名:
U(User/Browser)、W(Web/Frontend)、SB(Supabase)、DB(Database) - 每个参与方的全名在
participant声明中注明
场景编号规范:
- 文档标题格式:
S01: 邮箱注册 — 时序图 - 一个场景一个文件,编号对应 Phase 1
格式示例:
sequenceDiagram
participant U as User/Browser
participant W as Web (Astro)
participant SB as Supabase Auth
participant DB as Supabase DB
U->>W: Step 1: POST /api/auth/register — 提交 {email, password, referral_code?}
W->>SB: Step 2: supabase.auth.signUp(email, password, metadata) — 发起用户创建
SB-->>W: Step 3: 返回 {user, session} 或 error
W->>DB: Step 4: INSERT INTO profiles — 写入用户扩展信息
DB-->>W: Step 5: 返回写入结果
W-->>U: Step 6: 返回注册结果 + 提示验证邮件
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.
- 6d ago First seen · 225 lines · 0 tokens per session scan A 59d116f21712
scenario-architect is a skill published in the GitHub repository miniidealab/openlogos (71 stars, last pushed 9d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,346 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…