Daily consolidation dashboard — reads outputs from all routines (morning, linear, github, community, strategy, meetings, metrics) and generates a unified HTML dashboard. Trigger when user says 'dashboard', 'generate dashboard', 'overview', 'consolidation', or 'general panel'.
Consolidation routine that reads outputs from other routines and generates a unified HTML dashboard with an overview of all business areas.
Always respond in English.
IMPORTANT: This routine does NOT fetch new data. It reads outputs already generated by other routines for the day/week and consolidates everything into a single view.
Read all available sources without narrating each step. If a source does not exist (routine has not run yet), use "—" or "no data" as fallback.
Run todoist list --filter "today | overdue" to count pending tasks.
Read the latest Linear report in workspace/projects/linear-reviews/ (most recent file [C] *-linear-review.html). Extract:
Read the latest GitHub report in workspace/projects/github-reviews/ (most recent file [C] *-github-review.html). Extract:
Read the latest community pulse in workspace/community/reports/daily/ or weekly in workspace/community/reports/weekly/. Extract:
Read the latest strategy digest in workspace/strategy/digests/ (most recent file). Extract:
Use /gog-calendar to list today's events.
Read workspace/meetings/summaries/ or workspace/meetings/summaries/ — last 5 meetings. Extract:
Read ADWs/logs/metrics.json for status of each automated routine:
Read today's morning briefing at workspace/daily-logs/[C] YYYY-MM-DD-morning.html if it exists, to supplement calendar and priority task data.
For each area, define the status (CSS class):
Criteria:
Read the template at .claude/templates/html/custom/dashboard-consolidation.html and replace ALL {{PLACEHOLDER}} with the collected data.
For dynamic rows (marked with <!-- TEMPLATE -->), generate the correct HTML:
<div class="metric-row">
<div class="mr-label">HH:MM</div>
<div class="mr-value">Event name</div>
</div>
<div class="list-item">Task description</div>
<tr>
<td>DD/MM</td>
<td>Meeting name</td>
<td>Person 1, Person 2</td>
<td>N action items</td>
</tr>
<tr>
<td>Routine Name</td>
<td>@agent</td>
<td>DD/MM HH:MM</td>
<td>XXs</td>
<td><span class="rotina-rate high/medium/low">XX%</span></td>
<td><div class="rotina-status"><div class="rotina-dot ok/falha"></div></div></td>
</tr>
Consolidate into bullets the items requiring immediate attention. Examples:
If there are no attention points, write "No attention points at the moment."
Save the filled HTML to:
workspace/daily-logs/[C] YYYY-MM-DD-dashboard.html
Present a short summary:
## Dashboard generated
**File:** workspace/daily-logs/[C] YYYY-MM-DD-dashboard.html
**Health:** Product {status} | Community {status} | Financial {status} | Routines {status}
**Alerts:** {N} attention points
Upon completion, send a short summary via Telegram to the user:
reply(chat_id="YOUR_CHAT_ID", text="...")