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 tranfu-labs/tranfu-skills --skill tranfu-layout-systemsgit clone --depth 1 https://github.com/tranfu-labs/tranfu-skillsWrote 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/tranfu-labs/tranfu-skills/tranfu-layout-systems)<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/tranfu-layout-systems"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/tranfu-layout-systems/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/tranfu-labs/tranfu-skills/tranfu-layout-systems"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/tranfu-layout-systems.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.00176 | $0.05211 |
| Opus 5 | $0.00088 | $0.02606 |
| Sonnet 5 | $0.00035 | $0.01042 |
| Haiku 4.5 | $0.00018 | $0.00521 |
Grade A, and why
tranfu-layout-systems 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 9d 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 — 488 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TranFu 布局系统
使用本 Skill 时,在设计实现或评审页面前,先识别用户的主要活动,再判断页面应采用哪一种主布局系统、页面框架模式和页面模式。
执行所有权与组合调用
- 本 Skill 是
decision-only:MUST 只输出布局决策或布局评审,NEVER 编辑代码、设计文件或品牌资产。 - 页面级实现、组件视觉、响应式细节和 Visual QA 由
$tranfu-website-design负责。 - 作为
$tranfu-website-design的依赖运行时,MUST 返回命名布局产物并结束,NEVER 再次调用$tranfu-website-design。 - 作为顶层 Skill 运行且用户同时要求实现 UI 时,先输出命名布局产物;仅当
$tranfu-website-design尚未处于活动调用链时,才将该产物交给它继续执行。
职责边界
本 Skill 负责页面级和屏幕级结构,包括:
- 用户主要活动、页面目标和关键操作。
- 信息架构、内容优先级和 Section 顺序。
- 页面外壳、导航模型和主工作区。
- Page Header、Sidebar、Main Content 与 Auxiliary Panel 的组合。
- 信息密度、操作路径和上下文保留方式。
- 桌面端、平板端和移动端的结构重排。
- 会显著改变页面结构的 Loading、Empty、Error 等必要状态。
- 跨页面同类内容的结构一致性和模块锚点。
本 Skill 不负责:
- Logo 设计和品牌资产创建。
- 颜色、字体、间距、圆角、阴影和图标等具体视觉 Token。
- 卡片、按钮、输入框、弹层等组件的最终视觉样式。
- 与布局无关的纯文案任务。
- 任何代码、设计文件或品牌资产修改;本 Skill 在所有模式下都保持
decision-only。
当任务同时要求实现 TranFu UI 时,MUST 先输出布局产物,再按上方调用守卫将其交给 $tranfu-website-design 完成视觉、组件和响应式细节落地。
分类模型
TranFu 的布局决策分为三层:
- 主布局系统:决定产品外壳、全局导航和整体信息组织。
- 页面框架模式:决定 Browser Header、Sidebar、Page Header、Main Content 和 Auxiliary Panel 如何组合。
- 页面模式:决定当前页面的主要任务、内容结构和操作路径。
三层可以组合使用,不应相互替代。
primary_system: app-shell
frame_layout: t-layout
primary_pattern: management-list
上例表示:这是一个应用型产品页面,采用顶部导航、侧边栏和主内容区组成的 T 型框架,当前页面主要用于记录管理。
工作流
CREATE A TODO LIST FOR THE TASKS BELOW,并在执行过程中更新。
- 校验目标。 若既没有页面、文件、截图、运行目标,也没有足以判断页面任务的描述 → 询问一项最必要的信息并退出。
- 分类模式。 选择
create、modify、refactor、review、classify或visual_qa;若不属于本 Skill → 指向正确工作流并退出。 - 识别主要活动。 从已有页面、任务描述和用户行为识别页面目标、关键对象和关键操作;若仍无法识别 → 提出一个简短问题并退出。
- 选择布局。 选择一个主布局系统、一个页面框架模式和一个主要页面模式;只有其他模式显著影响结构时才记录为辅助模式。
- 加载规则。 读取
references/layout-contracts.md的选择规则和当前任务所需章节;若文件缺失或不可读 → 输出TRANFU_LAYOUT_BLOCKER并退出。 - 形成结构。 定义导航模型、信息密度、桌面结构、移动结构、必要状态、一致性基准和允许偏移。
- 按模式派发。
create|modify|refactor|classify→ 子流程「布局决策」;review|visual_qa→ 子流程「布局评审」;否则 → 输出TRANFU_LAYOUT_BLOCKER并退出。 - 处理组合调用。 若本 Skill 由
$tranfu-website-design调用 → 返回布局产物;若为顶层调用且用户要求 UI 实现、且$tranfu-website-design尚未活动 → 将布局产物交给它;否则 → 直接返回布局产物。 - 结束。 产出
TRANFU_LAYOUT_DECISION、TRANFU_LAYOUT_REVIEW或TRANFU_LAYOUT_BLOCKER,更新 TODO 并结束。
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 488 lines · 176 tokens per session scan A 8f6961ea33f8
tranfu-layout-systems is a skill published in the GitHub repository tranfu-labs/tranfu-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 176 tokens to every session and 5,211 once invoked, about $0.0009 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-09-03.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
reveal-hover-effect
Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…
frontend-visual-qa
Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.