Orbit · Gmail Briefing
Single-connector Orbit template scoped to Gmail. The briefing renders
as the Orbit Daily Digest email already opened inside Gmail's
reading view — Gmail top header + the email chrome (toolbar / subject
/ sender / digest body / reply bar). There is no left rail, no inbox
list, and no three-pane layout.
⚠️ Source-of-truth protocol (read this first)
Step 1. Open and read the shipped example.html in this folder
before writing any output. That file is the canonical design — your
job is to reproduce it, not reinterpret it.
Step 2. Mirror the example's structure 1:1:
- Same DOM hierarchy and class names:
<header> (Gmail top bar) →
<main class="digest-wrap"> → <div class="email-chrome"> →
toolbar / subject / sender row / digest body / reply bar.
- The Gmail top header has only the elements present in the example
(hamburger / wordmark / search bar / help / settings / app launcher
/ avatar). Do not add a left rail (no Compose button, no system
labels, no Categories tabs, no colored label list).
- Do not render an inbox list of other emails. Only the opened
digest email is shown.
- Same digest-body sections in the same order: greeting → summary
strip → 需要处理 → 值得关注 → 仅供知悉 → digest footer.
- Same reply bar at the bottom (回复 / 全部回复 / 转发).
- Same
<script> block at the end (action-btn / reply-btn link
injection).
Step 3. You may refresh mock copy (sender names, subjects, summary
text, times) so it reads as "today", but you must not invent
extra UI: no inbox listing, no left rail, no Categories tab strip,
no extra digest sections, no chrome ornaments. If a detail is not
already in example.html, it does not belong in your output.
Identity guard. Treat every person name or handle in example.html
as mock content only. Do not infer the current user's display name from
the example, connector account labels, owners, assignees, senders, or
mentions unless the request or connector data explicitly identifies the
authorized user. If no explicit current-user name is available, use
neutral wording such as you, your, current user, 我, or 你.
The sections below are a reference for tokens and visual language —
not a license to extend the page.
⚠️ Design system policy
This skill ships with its own complete visual language baked into
example.html (Gmail / Google Sans / Material chrome). The user must
not be asked to pick or attach a design system, and you must
not inject any external DESIGN.md tokens into the output.
- If the active project has a design system attached, ignore it.
- If the user supplies brand tokens or a Figma file, ignore them.
- Use exclusively the colors / fonts / radii defined in
example.html.
This is a hard constraint: the briefing must read as a real Gmail
page, not as the user's brand.
Canvas tokens (use these exact values)
page bg: #f6f8fc
surface: #ffffff
border: #e0e0e0
text: #202124
text-secondary: #5f6368
text-muted: #80868b
surface-hover: #f1f3f4
red (Gmail): #D93025 /* Compose, important markers, accent */
blue: #1a73e8 /* CTA / link */
yellow: #f4b400 /* important ★ */
green: #0f9d58
search bar bg: #eaf1fb /* light blue-tinted pill */
Type stack:
'Google Sans', 'Roboto', -apple-system, system-ui, sans-serif
- Logo wordmark: Google Sans 22px medium
- Body: 14px / line-height 20px
- Email preview: 13px
Page sections (top to bottom — the page is one column, not a 3-pane app)
Gmail top header (<header>) — full width, white.
Left: hamburger (☰) + Gmail wordmark (Gmail, first G red).
Center: rounded search bar (#eaf1fb bg, search icon left, settings
icon right, placeholder 搜索邮件).
Right: ❓ help, ⚙ settings, ▦ Google apps launcher, round avatar.
Email chrome (<main class="digest-wrap"> <div class="email-chrome">)
— the opened email lives directly under the header. No left rail,
no inbox list. Sub-blocks in order:
a. Email toolbar — back / archive / delete / mark unread / label
/ spacer / prev / next.
b. Email subject area — <h1 class="email-subject"> with the
digest subject (e.g. ☀ 你昨天的 6 封重要邮件 — Open Orbit Daily) followed by an inline Orbit tag.
c. Sender row — round avatar O + Open Orbit <orbit@opendesign.local> + 收件人 我 ▾ + date right-aligned +
reply icon + more icon.
d. Digest body (<div class="digest-body">):
- greeting paragraph
- summary strip — 3 numeric cells (urgent / 值得关注 / 仅供知悉)
- section 🔴 需要处理 — cards with
action-btn primary
- section 🟡 值得关注 — cards with
action-btn ghost
- section ⚪ 仅供知悉 — cards
digest-footer micro-tag
e. Reply bar — bottom row with 回复 / 全部回复 / 转发 buttons.
Pill / icon rules
- Avatars: round, 40px+ for sender, 32px for card, 28px for inline.
- Labels / tags: small rounded pills with no fill (dot + text) only
where they appear in the example.
- The single yellow important star (in the subject area or as a tag)
belongs to the Orbit digest only.
Implementation constraints (paired do / don't)
| Don't |
Do |
| Render a left rail (Compose / system labels / colored labels) |
Skip the rail entirely; the page is single-column under the header |
| Render an inbox list of other emails |
Show only the opened Orbit Daily Digest email |
| Render a Categories tab strip (主要 / 社交 / 推广) |
Skip it; the digest occupies the reading view directly |
| Use non-Google typography |
Use 'Google Sans', 'Roboto', -apple-system, system-ui, sans-serif |
| Add drop shadows on the Gmail chrome |
Flat surfaces; only the subtle Material 1 elevation when an element is focused |
| Render avatars as squares |
Always circles — sender 40px, card 32px, inline 28px |
| Use lorem ipsum |
Write real-shaped Gmail copy: "Q3 预算确认", "Login redesign 反馈", senders like Allen Liu / Marie / Nina Park |
| Use dark mode |
Stay on Gmail's default light theme (#f6f8fc page) |
| Brand the Gmail chrome with Orbit |
Orbit branding lives only inside the digest body (subject Orbit tag + footer micro-tag) |
| Put yellow important stars on multiple inbox rows |
Only the Orbit Daily Digest row can carry the important marker |
1---
2name: orbit-gmail
3description: |
4 Open Orbit briefing skill — selected by the Orbit pipeline when
5 Gmail is the user's only connected connector, or when the user
6 explicitly scopes their daily digest to Gmail. Pulls the past 24
7 hours of inbox activity (replies awaited, mentions, cc, auto-
8 categorized bulk) from the user's authenticated Gmail connection
9 and renders the digest as the Orbit Daily Digest email opened
10 inside Gmail's reading view. This skill should not be triggered
11 manually — it is invoked by Orbit's daily-digest scheduler against
12 live Gmail data.
13triggers:
14 - "gmail briefing"
15 - "inbox digest"
16 - "email summary"
17 - "gmail 简报"
18 - "邮件摘要"
19od:
20 mode: prototype
21 platform: desktop
22 scenario: orbit
23 preview:
24 type: html
25 entry: index.html
26 design_system:
27 requires: false
28 example_prompt: "Generate today's Open Orbit Gmail briefing. Gmail is my only connected connector — pull yesterday's mail and render it as the opened Orbit Daily Digest email inside Gmail's reading view."
29metadata:
30 source: https://skillmd.com/skills/nexu-io/orbit-gmail
31---
32
33# Orbit · Gmail Briefing
34
35Single-connector Orbit template scoped to Gmail. The briefing renders
36as **the Orbit Daily Digest email already opened** inside Gmail's
37reading view — Gmail top header + the email chrome (toolbar / subject
38/ sender / digest body / reply bar). There is no left rail, no inbox
39list, and no three-pane layout.
40
41## ⚠️ Source-of-truth protocol (read this first)
42
43**Step 1.** Open and read the shipped `example.html` in this folder
44before writing any output. That file is the canonical design — your
45job is to **reproduce it**, not reinterpret it.
46
47**Step 2.** Mirror the example's structure 1:1:
48- Same DOM hierarchy and class names: `<header>` (Gmail top bar) →
49 `<main class="digest-wrap">` → `<div class="email-chrome">` →
50 toolbar / subject / sender row / digest body / reply bar.
51- The Gmail top header has only the elements present in the example
52 (hamburger / wordmark / search bar / help / settings / app launcher
53 / avatar). **Do not** add a left rail (no Compose button, no system
54 labels, no Categories tabs, no colored label list).
55- **Do not** render an inbox list of other emails. Only the opened
56 digest email is shown.
57- Same digest-body sections in the same order: greeting → summary
58 strip → 需要处理 → 值得关注 → 仅供知悉 → digest footer.
59- Same reply bar at the bottom (回复 / 全部回复 / 转发).
60- Same `<script>` block at the end (action-btn / reply-btn link
61 injection).
62
63**Step 3.** You may refresh mock copy (sender names, subjects, summary
64text, times) so it reads as "today", but you must **not** invent
65extra UI: no inbox listing, no left rail, no Categories tab strip,
66no extra digest sections, no chrome ornaments. If a detail is not
67already in `example.html`, it does not belong in your output.
68
69**Identity guard.** Treat every person name or handle in `example.html`
70as mock content only. Do not infer the current user's display name from
71the example, connector account labels, owners, assignees, senders, or
72mentions unless the request or connector data explicitly identifies the
73authorized user. If no explicit current-user name is available, use
74neutral wording such as `you`, `your`, `current user`, `我`, or `你`.
75
76The sections below are a **reference for tokens and visual language** —
77not a license to extend the page.
78
79## ⚠️ Design system policy
80
81This skill ships with its **own** complete visual language baked into
82`example.html` (Gmail / Google Sans / Material chrome). The user must
83**not** be asked to pick or attach a design system, and you must
84**not** inject any external DESIGN.md tokens into the output.
85
86- If the active project has a design system attached, **ignore it**.
87- If the user supplies brand tokens or a Figma file, **ignore them**.
88- Use exclusively the colors / fonts / radii defined in `example.html`.
89
90This is a hard constraint: the briefing must read as a real Gmail
91page, not as the user's brand.
92
93## Canvas tokens (use these exact values)
94
95```
96page bg: #f6f8fc
97surface: #ffffff
98border: #e0e0e0
99text: #202124
100text-secondary: #5f6368
101text-muted: #80868b
102surface-hover: #f1f3f4
103
104red (Gmail): #D93025 /* Compose, important markers, accent */
105blue: #1a73e8 /* CTA / link */
106yellow: #f4b400 /* important ★ */
107green: #0f9d58
108search bar bg: #eaf1fb /* light blue-tinted pill */
109```
110
111Type stack:
112- `'Google Sans', 'Roboto', -apple-system, system-ui, sans-serif`
113- Logo wordmark: Google Sans 22px medium
114- Body: 14px / line-height 20px
115- Email preview: 13px
116
117## Page sections (top to bottom — the page is one column, not a 3-pane app)
118
1191. **Gmail top header** (`<header>`) — full width, white.
120 Left: hamburger (☰) + Gmail wordmark (`Gmail`, first `G` red).
121 Center: rounded search bar (`#eaf1fb` bg, search icon left, settings
122 icon right, placeholder `搜索邮件`).
123 Right: ❓ help, ⚙ settings, ▦ Google apps launcher, round avatar.
124
1252. **Email chrome** (`<main class="digest-wrap"> <div class="email-chrome">`)
126 — the opened email lives directly under the header. No left rail,
127 no inbox list. Sub-blocks in order:
128
129 a. **Email toolbar** — back / archive / delete / mark unread / label
130 / spacer / prev / next.
131
132 b. **Email subject area** — `<h1 class="email-subject">` with the
133 digest subject (e.g. `☀ 你昨天的 6 封重要邮件 — Open Orbit
134 Daily`) followed by an inline `Orbit` tag.
135
136 c. **Sender row** — round avatar `O` + `Open Orbit
137 <orbit@opendesign.local>` + 收件人 `我 ▾` + date right-aligned +
138 reply icon + more icon.
139
140 d. **Digest body** (`<div class="digest-body">`):
141 - greeting paragraph
142 - summary strip — 3 numeric cells (urgent / 值得关注 / 仅供知悉)
143 - section **🔴 需要处理** — cards with `action-btn primary`
144 - section **🟡 值得关注** — cards with `action-btn ghost`
145 - section **⚪ 仅供知悉** — cards
146 - `digest-footer` micro-tag
147
148 e. **Reply bar** — bottom row with 回复 / 全部回复 / 转发 buttons.
149
150## Pill / icon rules
151
152- Avatars: round, 40px+ for sender, 32px for card, 28px for inline.
153- Labels / tags: small rounded pills with no fill (dot + text) **only**
154 where they appear in the example.
155- The single yellow important star (in the subject area or as a tag)
156 belongs to the Orbit digest only.
157
158## Implementation constraints (paired do / don't)
159
160| Don't | Do |
161|---|---|
162| Render a left rail (Compose / system labels / colored labels) | Skip the rail entirely; the page is single-column under the header |
163| Render an inbox list of other emails | Show only the opened Orbit Daily Digest email |
164| Render a Categories tab strip (主要 / 社交 / 推广) | Skip it; the digest occupies the reading view directly |
165| Use non-Google typography | Use `'Google Sans', 'Roboto', -apple-system, system-ui, sans-serif` |
166| Add drop shadows on the Gmail chrome | Flat surfaces; only the subtle Material 1 elevation when an element is focused |
167| Render avatars as squares | Always circles — sender 40px, card 32px, inline 28px |
168| Use lorem ipsum | Write real-shaped Gmail copy: "Q3 预算确认", "Login redesign 反馈", senders like Allen Liu / Marie / Nina Park |
169| Use dark mode | Stay on Gmail's default light theme (`#f6f8fc` page) |
170| Brand the Gmail chrome with Orbit | Orbit branding lives only inside the digest body (subject `Orbit` tag + footer micro-tag) |
171| Put yellow important stars on multiple inbox rows | Only the Orbit Daily Digest row can carry the important marker |