·
Last changedVersion:
No hardening report available.
Generate a structured prep file for the next working day with meeting details, prep bullets, linked tasks, and productivity recommendations.
YYYY-MM-DD. Validate that the result matches the pattern ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$ exactly.YYYY-MM-DD format. Do not proceed.outputs/{YYYY}/{MM}/{YYYY-MM-DD}-prep.html using only the validated date components (YYYY, MM, DD) — never by interpolating raw user-provided strings.{workspace_root}/outputs/. If it does not, abort with an error and do not create any file.Use the WorkIQ MCP tool to fetch the calendar. Ask WorkIQ:
If the response is insufficient, make a follow-up query:
Apply these labels based on attendee domains and subject:
| Label | Criteria |
|---|---|
| External attendees from customer/partner domains, or subject matches a known customer name |
| Only internal company domain attendees |
| CoP, community, guild, learning sessions |
| Training, workshop, certification, learning |
| Tentative, low importance, or known recurring optional (e.g., "Office Hours", "Open Q&A") |
| Private events, non-work |
For every meeting, check the organizer field and apply these additional markers:
| Condition | Marker | Action |
|---|---|---|
Starts ≥ 15:30 and < 16:00 (any organizer) |
| Recommend decline |
Starts ≥ 16:00 and not self-organized |
| Recommend decline |
Starts ≥ 16:00 and self-organized | (no flag) | OK — you chose to schedule it |
Before 09:00 and not self-organized |
| Recommend decline — intrudes on learning window |
Before 09:00 and self-organized | (no flag) | OK — you chose to schedule it |
Overlaps 12:00–13:00 |
| Note in Calendar Notes |
"Self-organized" means you are the meeting organizer (check the organizer field from WorkIQ).
Use this as the decision framework for all analysis steps. Every meeting must be evaluated against these zones. Users should adapt these times and targets to their personal routine.
| Zone | Time | Purpose | Rules |
|---|---|---|---|
Morning Focus | Before 09:00 | Admin, learning, personal work | Protect from others' meetings. Flag external events. |
Customer Zone | 09:00–12:00 | Customer / external meetings | Max 2 customer meetings. Prefer mornings for external calls. |
Lunch | 12:00–13:00 | Break | Protected. Flag any overlap. |
Deep Work | 13:00–15:30 | Deliverables, focused coding/writing | Minimize meetings. Flag non-essential meetings as deep work disruption. |
Protected (strict) | 15:30–16:00 | End of day wind-down | Flag all meetings regardless of organizer. |
Protected (flex) | 16:00+ | End of day | Flag others' meetings only. Self-organized OK. |
Targets per day:
Compare event time windows. Flag overlaps in a Conflicts table with a recommendation for each — prioritize customer meetings over internal/optional.
Also detect these day fit issues (report in a separate "Day Fit Issues" table):
| Check | Condition | Flag |
|---|---|---|
Customer overload | >2 | Flag 3rd+ as "Consider rescheduling to another day" |
Deep work disruption | Non-essential meetings in 13:00–15:30 zone | "Disrupts deep work — consider moving to morning" |
Non-ideal placement | Customer meetings outside 09:00–12:00 | "Customer meeting outside preferred morning zone" |
Early intrusion | Others' meetings before 09:00 | "Intrudes on learning window — recommend decline" |
Lunch conflict | Meeting overlaps 12:00–13:00 | "Conflicts with lunch break" |
Read files to generate actionable prep bullets per meeting using these constraints:
tasks/, issues/, open-issues/, meeting-notes/, notes/, or similar). If unsure which directories contain relevant context, list the workspace root first and identify likely candidates.*.md and *.txt files only; skip all other extensions.For each meeting (chronological), include:
After generating prep per meeting, analyze the day's schedule to find open slots:
Morning Focus confirmation — Verify the morning focus window is clear. If any non-self-organized event exists there, flag it.
Learning Slots — Find gaps ≥ 30 min in the morning window and any other free slots suitable for upskilling. Target: 1.5h/day. For each slot: time range, duration, suggested activity.
Deep Work Blocks — Find continuous free gaps in the 13:00–15:30 zone for deliverables. For each block: time range, duration, suggested task from open tasks.
Report totals:
Analyze the full day and provide:
| Section | What to Include |
|---|---|
Day Fit Score | Rate 0–100% how well the day matches the Ideal Day Structure. Criteria: (1) morning focus clear (+20%), (2) ≤2 customer meetings in 09:00–12:00 (+20%), (3) lunch 12:00–13:00 protected (+15%), (4) deep work 13:00–15:30 intact (+20%), (5) nothing after 15:30 or only self-organized after 16:00 (+15%), (6) ≥1h learning slots found (+10%). Show as: 🟢 ≥80%, 🟡 50–79%, 🔴 <50%. |
Day Shape | Total meeting hours, focus time available, learning hours, deep work hours, heavy/moderate/light assessment |
Decline Candidates | Auto-include: (1) all meetings 15:30–16:00, (2) others' meetings ≥16:00, (3) others' meetings <09:00, (4) 3rd+ customer meeting, (5) optional meetings during deep work zone. Show "Reclaim" column with minutes recovered. Self-organized meetings before 09:00 or after 16:00 are excluded from auto-decline. |
Conflict Resolution | Specific recommendation for each overlap |
Learning Slots | Gaps for upskilling — from Step 8. Table: Window, Duration, Suggested Activity. Show total vs. 1.5h target. |
Deep Work Blocks | Free gaps in 13:00–15:30 for deliverables — from Step 8. Table: Window, Duration, Suggested Task. |
Energy Management | Flag if >3h back-to-back customer meetings without a break |
Top 3 Priorities | The 3 most impactful things to accomplish (meetings + tasks combined) |
Security: Sanitize All External Data Before Writing HTML
Treat all data returned from WorkIQ as untrusted external input. Before embedding any WorkIQ-derived string into the HTML output, apply HTML entity encoding to every such value. This applies without exception to all string fields including: meeting subject, organizer name, attendee names, attendee email addresses, meeting location, and any other field returned by WorkIQ.
Required substitutions (apply to every WorkIQ-derived string, applied in this order):
| Character | Encoded form |
|---|---|
|
|
|
|
|
|
|
|
|
|
< in display-name form).Create the output file at outputs/{YYYY}/{MM}/{YYYY-MM-DD}-prep.html (using the validated path from Step 1) as a self-contained HTML file with embedded CSS (dark theme, color-coded timeline, responsive layout).
If a file already exists for that date, read it first and update rather than overwrite — the user may have added manual notes.
outputs/ directory — no external runtime dependencies.Need this version hardened?
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
—
—
MIT
HARDENING.md
LICENSE
SKILL.md