clockwork-compliance-check
SKILL.md
Clockwork Compliance Check
Use this skill to evaluate timer compliance for a team using clockwork mcp (not direct REST endpoints).
Working windows (Asia/Ho_Chi_Minh):
- Morning: 08:30-12:00
- Afternoon: 13:30-17:00
Trigger Phrases
- "run morning timer compliance check"
- "check who has not started timer"
- "check who has not resumed after lunch"
- "find idle gaps longer than 75 minutes"
- "run end of day timer compliance"
Tools
clockwork mcp:get_all_active_timers(required, primary for team-wide timer state)get_active_timers(optional fallback)get_worklogs(required)search_issues(optional)
- Local shell tools for roster intake:
curl(download CSV roster from URL)pythonorawk(CSV parse/validation)
- Calendar MCP (built-in Manus): out-of-office and leave exclusion
- Jira MCP (
sooperset/mcp-atlassian, optional): enrichment and escalation context
Preconditions
clockwork mcpis configured and reachable.- Team roster is fetched from a CSV URL (or provided directly by user).
- Timezone is fixed to
Asia/Ho_Chi_Minh. - Compliance policy is Hybrid:
- Total logged time target per day: default
7.5hours - Idle gap warning threshold: default
75minutes
- Total logged time target per day: default
Guardrails
- Ask for
csv_urlif not present in prompt. - Validate roster schema before running compliance checks.
- Auto-detect CSV delimiter (
;or,); Atlassian exports commonly use;. - Accept Atlassian header aliases:
User id->accountIdUser name->displayNameUser status->active
- Exclude users with approved leave/out-of-office in the checked window.
- Do not evaluate outside working windows.
- Use
get_all_active_timersonce per run and compare against roster to find missing users. - Mark user as
unknownwhen required source data is missing. - Return machine-readable output for downstream alert routing.
Workflow Router
- Load
references/workflows/compliance-check-workflow.md. - Output records are the required input for
clockwork-alert-router.
Output Contract
Return JSON-ready records with these fields:
datetimezonerun_typemember:displayName,accountId,emailstatus:compliant|warning|high|unknownviolations:missing_start|missing_resume|hours_below_target|long_idle_gapmetrics:total_logged_hours,longest_idle_gap_minutes,first_timer_at,last_timer_atexclusion_reasonrecommended_action:none|email|jira_escalationroster_source:csv_urlinvalid_roster_rowstimer_snapshot_meta:total_accounts,total_timers,cached_at
Failure Handling
- Missing
csv_url: ask user and stop. - CSV download/parse failure: return
roster_fetch_errororinvalid_roster_schema. get_all_active_timersfailure: retry once, fallback to per-userget_active_timersonly if fallback is explicitly allowed for this run.clockwork mcpglobal failure: return partial result withclockwork_mcp_error.- Calendar unavailable: continue and mark
calendar_unavailable=true.
Weekly Installs
3
Repository
vietanha34/sigma-skillsFirst Seen
14 days ago
Security Audits
Installed on
cursor3
cline2
gemini-cli2
github-copilot2
codex2
kimi-cli2