Daily check

From logly/mureo · View interactive version

Daily check is an AI agent skill from the GitHub repository logly/mureo. Run a daily health check on all configured ad accounts (Google Ads, Meta Ads, Amazon Ads, ChatGPT Ads, TikTok Ads, Search Console, GA4, and any configured plugin platform). Use when the user asks for a daily review, health check, status update, anomaly detection, or 'how are my campaigns doing today

How to use this skill

Skill file

Daily Check

PREREQUISITE: Read ../_mureo-shared/SKILL.md for auth, security rules, output format, and Tool Selection (Read/Write on Code, mureo_strategy_* / mureo_state_* MCP on Desktop / Cowork), ../_mureo-state-schema/SKILL.md for the STATE.json schema and the status vocabulary contract, and ../_mureo-report-persist/SKILL.md for the persistence steps 12–15.

Tool names below refer to the built-in platforms; a namespaced variant (see _mureo-shared → Namespaced built-in variants) is used with its prefix substituted.

Run a daily health check on all marketing accounts using the strategy context.

Modes

Pick the mode before step 0 — it decides how much you gather and how you report:

Mixed operation

Manual operation in the platform UI and mureo-driven operation coexist — most accounts run that way for a while after onboarding, and it applies to every platform. Treat any change you find that mureo did not make as a first-class fact, not an anomaly: the action_log records what mureo did, never the full history of the account, so never infer current state from it. When a diff surfaces a change made outside mureo, say so in the report rather than silently absorbing it into the new state.

Step 2b imports what mureo can fetch, so much of that work is now in action_log as origin: "external" before you start diagnosing. Two rules follow. First, an entry with origin: "external" is something mureo OBSERVED — never describe it as something mureo did, and never offer to roll it back (mureo refuses; it never saw the prior value). Second, and more important, import covers only the platforms with a change feed: for every platform step 2b reports unavailable or error, you are still working blind, and a quiet report from such a platform is not evidence that it was quiet. Say which platforms those were.

Prerequisites

Steps

Before you start: Run the Diagnostic preamble from ../_mureo-shared/SKILL.md — load learning insights (mureo_learning_insights_get) and consult advisors (mureo_consult_advisor) before drawing conclusions.

  1. Establish today: call mureo_state_get first, on every host (including Claude Code, where you would otherwise Read the file) and take server_now from its response — an ISO 8601 timestamp with UTC offset, e.g. 2026-07-28T10:12:33+09:00. Its date is the only source of the current date for this run; do not ask the user, do not guess, and do not shell out (this skill must run in Bash-less headless hosts). Every other date you will see — reports.daily.period, last_synced_at, action_log timestamps — is history, never evidence of what day it is now. Also never write server_now into STATE.json: it is a response field, and a persisted copy becomes tomorrow's stale "today". The same response names which file you are reading — path (the STATE.json consulted) and workspace_id (the runtime's workspace identifier) — and may carry notices from the runtime (for example: launched outside a client workspace while clients are registered). Keep all three for the report header (step 10). If notices is non-empty, stop here: print the header line and every notice verbatim (step 10's header, nothing else), tell the operator to relaunch from the client's workspace directory (or point the mureo MCP server's cwd at it) and end the run — do not run steps 1–15. A runtime raises a notice only when this session is not on the workspace it should be on, and a diagnosis of the wrong STATE.json costs a full session and misleads tomorrow's run. Like server_now, they are response fields only: never write path, workspace_id or notices into STATE.json.

Scope the action_log to save context. In incremental mode call mureo_state_get with action_log: "pending" — it returns only the entries with an OPEN observation_due (the past-due ones you owe an evaluation this run in step 9, and the future-due ones still under observation), and adds action_log_scope: "pending" + action_log_total: <int> so you know the log you were shown is a subset, not the whole history (never read it as complete — see Mixed operation). In deep mode omit the parameter (or pass action_log: "all") to load the full log.

Never short-circuit on history. Do not conclude "today's report is already fetched — re-displaying it" (or skip a step) because a stored period / last_synced_at looks like today. A daily check always fetches fresh platform data for the period ending on server_now's date; a stored report is at best a prior run to compare against.

  1. Load context: Read STRATEGY.md (especially Operation Mode, Data Sources, and all Goal sections) and STATE.json (the same mureo_state_get response from step 0 on MCP hosts). In incremental mode that response's action_log is the pending subset (marked by action_log_scope) — all the evidence loop in step 9 needs; deep mode carries the full log.
  1. Discover available platforms: Identify all configured platforms from STATE.json platforms and check which data sources (Search Console, GA4) are accessible. Also enumerate installed plugin / bridged platforms (mcp__mureo__<plugin>_* tools, plus Amazon Ads under Amazon's own tool names — STATE.json key plugin:mureo-amazon-ads-bridge:amazon_ads — and ChatGPT Ads, the bundled chatgpt_ads_* tools — STATE.json key plugin:mureo-chatgpt-ads:chatgpt_ads, see ../_mureo-chatgpt-ads/SKILL.md) and any hosted official-MCP connector present in the session (e.g. TikTok's tt-ads-* tools, STATE.json key tiktok_ads); include them best-effort — see _mureo-shared → Plugin platforms and Hosted-connector platforms. For every platform you enumerate, record whether its tools are callable in this session, not just whether its key is configured: a hosted connector is enumerated from STATE.json platforms alone, so one that is disconnected host-side stays in scope with its whole tool namespace missing. That is the input step 4's absent-tool-surface branch reads.

2b. Import changes made outside mureo: call mureo_external_changes_import (no arguments — it covers every platform in STATE.json). It appends anything mureo did not do to the action_log with origin: "external", skipping changes already imported and changes mureo itself made. Do this before step 3's sync, so a status you are about to diff already has its explanation attached. Safe to re-run; importing the same change twice is a no-op.

Read the response for the blind spots, not just the finds. blind_spots lists every platform that came back unavailable (not checked — either mureo has no change feed for it, or a feed could not answer for this account, e.g. BYOD mode, which has no change history; notes says which — see docs/change-import.md) or error (the feed exists but could not be read). Neither means "no changes". Carry those platform names into step 10's report and state that manual work there is invisible to mureo; when truncated_platforms is non-empty, add that older changes inside that window are unreachable and cannot be recovered later. If the tool is unavailable (older mureo), say so and fall back to the step-11 status diff alone — and note that the diff sees only status changes, not budget, targeting or creative edits.

Newly imported entries carry an observation_due anchored on when the change actually happened, so an older one is already past due and comes back to you in step 9. See ../_mureo-shared/SKILL.md → Changes made outside mureo.

  1. Sync state: For each platform in STATE.json platforms, fetch current campaign data and update STATE.json.
  1. Platform health checks: Run health diagnostics on each configured ad platform.
  1. Mode-specific checks based on Operation Mode:

Learning-state guard (all modes): An entity inside a platform learning state — a Meta ad set in its learning phase, a Google Ads bid strategy showing "Learning" after a strategy or target change — is Watch at most, never Action needed on efficiency grounds. Its cost per result is not steady-state, so do not read it as performance and do not propose edits that would reset the clock. See ../_mureo-pro-diagnosis/SKILL.md → Allocation & Learning-State Discipline.

Delivery-state guard (all modes): An entity that was not delivering for part of the period — paused, disapproved, or budget-exhausted, read off the delivery status you fetched in step 3 (effective_status when the platform reports one, otherwise status) — is Watch at most, never Action needed on efficiency grounds. Its cost per result is not steady-state either: the spend and results cover only the hours it actually ran, so the report must state that its figures are partial rather than reading them as performance. And never recommend pausing an entity that is already not delivering — the pause has happened, what it needs is an explanation, not the same action again. When an entity carries no effective_status at all, its delivery state is unknown — not delivering. A stored status with no effective_status beside it is only the configured state, so it tells you the entity is not paused; it is never evidence that it served. Report such an entity's delivery state as unknown, take delivery evidence from spend / impressions in the period instead, and say so when you have none. Unknown does not by itself trip this guard — it removes the right to assert steady-state delivery, not the numbers. (Today's example: Amazon Ads, whose ads expose a single state — ENABLED / PAUSED / ARCHIVED — and therefore store no effective_status.)

Grain guard (all modes): A verdict about one placement — exclude it, restart it, move its bid — may cite only rows that exist at the grain the verdict is about. A source may expose placement rows only at a grain coarser than the one the action applies to, or may not expose the finer-grained row at all; a row aggregated above the verdict's grain says what the larger entity did, never which sub-entity did it, so it is evidence neither for nor against any one of them. When the finer row is absent, say the question is undecidable at this grain and name the row that would settle it — that is a complete answer, and one the operator can act on, unlike a confident verdict resting on a total. As with the two guards above, this removes the right to assert, not the numbers: report the aggregate as the aggregate and say what it does not decide. Do not raise it at action severity — an undecidable question is not a risk, and ranking it as the day's top finding spends the operator's attention on a row nobody has looked at; watch when the aggregate itself is moving the wrong way, info when it is only the missing row that is notable. Same ethic as analysis_exclusion_impact_preview, which reports unknown coverage rather than "0% impact" precisely so a confident answer from data that cannot support it is not read as approval — a different moment, the same refusal.

  1. Organic search pulse (if Search Console is available): Check top organic queries for the site. Identify any organic ranking drops that may need paid coverage, or organic gains where paid spend can be reduced.
  1. On-site behavior check (if GA4 is available): Correlate ad platform metrics with on-site behavior — LP conversion rates, bounce rates, session quality. Flag discrepancies between ad platform and GA4 conversion data.
  1. Goal progress check: For each Goal in STRATEGY.md, gather current metric values from all relevant platforms and data sources (ad platforms, GA4, Search Console) based on each Goal's declared platform/source. Present a Goal progress summary:

```

Goal: CPA < 5,000 -- Platform A: 4,800 OK, Platform B: 6,200 OVER TARGET

Goal: CV >= 100/month -- Platform A: 62, Platform B: 28, Total: 90 AT RISK

Goal: Organic clicks +20% -- Search Console: +12% IN PROGRESS

```

  1. Evidence check: Review action_log entries that have observation_due dates (in incremental mode these are exactly the pending subset step 0 returned) — compare each one against server_now's date, never against another action_log timestamp:
  1. Report — the mode decides the shape:

Header (both modes) — the very first line. Workspace: /Users/ops/clients/acme/STATE.json (workspace_id: agency:acme) — substitute the actual path and workspace_id from step 0's response; this is the STATE.json this run read and will write. If notices is non-empty, print each notice on its own line right under it, verbatim. This is what lets an operator whose card ran in one workspace and whose terminal opened another see the mismatch at a glance instead of a wrong 'N days since the last check' — and when notices are present this header is the whole report, because step 0 already ended the run.

Partial report (both modes) — this goes right after the header, above the verdicts. If any platform came back "status": "auth_error" in steps 3–4, or was recorded tools_absent_for_<platform> there, this report is partial: open it by saying so and name each affected platform with why it was not checked and the recovery — auth_error carries its auth_cause (no_credentials → configure the credential via mureo configure / mureo auth setup; token_invalid → re-authorize, the credential is present and dead), and tools_absent means the platform's tools were not in this session, so reconnect the connector host-side (or drop the platform from STATE.json if it is gone for good). Then withhold every verdict, goal-progress line and recommendation that depends on that platform's numbers — an unreadable platform has no performance to judge, and cross-platform advice (budget shifts, "scale here, cut there") derived only from the platforms that did answer is not the advice you would give with all of them. Report the platforms that did answer as usual, and make clear which is which. Never estimate or extrapolate what you could not read. A platform that was not checked gets no KPI table, no target/actual columns, no attainment percentage and no pass/fail icon — those say "measured against a target", which is exactly what did not happen, and a table shaped like the measured ones is what the reader acts on however honest the prose above it was. A one-line disclaimer does not license the table underneath it: name the platform, say it was not checked, and stop there.

Deep mode — full report. Summarize findings as: Healthy (no action needed), Watch (minor issues to monitor), Action needed (requires immediate attention). For each issue, suggest specific actions aligned with the current Operation Mode. Do NOT recommend actions based on single-day fluctuations — at least 7 consecutive days of critical metrics (>30% off target) before suggesting rescue.

Incremental mode — diff-first. Compare this run against the previous reports.daily summary and report ONLY the deltas:

Everything unchanged collapses to ONE line, e.g. N campaigns unchanged since yesterday (Healthy). Safety rule: every current Action needed item is reported in full even when unchanged from yesterday — an unresolved problem must never go quiet. If the previous reports.daily summary is missing (first run, or it was never persisted), say so (name path — the file that has no summary) and fall back to the deep full report — there is no anchor to diff against.

Output discipline (both modes): do not reproduce raw tool output tables in the report — give verdict lines and deltas only, and cite raw numbers only where they justify a flag (a threshold crossed, an anomaly). The reader wants the verdict, not the spreadsheet.

  1. Update STATE.json: Update campaign snapshots, add notes for flagged issues, and log this daily check to the action_log with a summary of findings. Give every entry a display line: display_title (at most 40 characters) and display_summary (at most 120) — what this action WAS, in the operator's words, as plain text with no markdown (**bold** reaches a person as asterisks). The dashboard row shows those two and stops there; the full summary is drill-down only, so keep writing it as fully as the next agent needs and let the display line be the short one. Over either bound the append is refused, never truncated. Persist the ad-level statuses from step 3 as the campaign's ads array (ad_id, name, status, effective_status) — omitting effective_status for a platform that reports no serving status (Amazon Ads; see step 3) — on Desktop / Cowork pass ads to mureo_state_upsert_campaign (the server stamps each ad's as_of), on Code write the same array with an as_of of server_now; omit ads for campaigns whose ads you did not fetch. Then report Ad-level status changes against the ads the previous run stored — ads added or removed, plus any change to a stored status field: compare each ad's status, and its effective_status when the platform reports one, against the previous run's stored value for that same field, and report every difference. An ad stopped delivering when such a value moved away from the platform's active value — matched case-insensitively, so ACTIVE, ENABLED and enabled all count as active — which makes the limb fire on a platform that reports only one status field, in its own vocabulary, instead of falling through (see ../_mureo-state-schema/SKILL.md → Status vocabulary contract). Report Campaign-level status changes the same way: each campaign's status against the status the previous run stored on its CampaignSnapshot, same case-insensitive comparison. A campaign- or ad-level change with no matching action_log entry was made outside mureo: surface it in step 10's findings (see Mixed operation) rather than absorbing it silently, and treat its spend as part of the performance you are explaining. Check step 2b's import first — an entry with origin: "external" on that same target IS the matching record, and reporting the diff a second time as unexplained would double-count one change. On the Code Write path, use the canonical STATE.json field names — campaign_name (NOT the tool-output name), campaign_id, and each platform's account_id; a snapshot/platform missing a required field is dropped by the reporting dashboard. On the Code Write path also stamp the top-level last_synced_at to server_now so the dashboard's "Synced N ago" freshness reflects this run (the mureo_state_upsert_campaign / _platform_metrics_set tools set it for you). See ../_mureo-state-schema/SKILL.md → STATE.json Schema.
  1. Persist the report summary (best-effort): follow ../_mureo-report-persist/SKILL.md → Report summary (also in incremental mode; write last, after every STATE change).
  1. Persist per-window per-platform rollups (best-effort): follow ../_mureo-report-persist/SKILL.md → Per-window per-platform rollups.
  1. Persist the day-grain history (best-effort): follow ../_mureo-report-persist/SKILL.md → Day-grain history.
  1. Persist the display contract (best-effort): follow ../_mureo-report-persist/SKILL.md → Display contract (also in incremental mode; write last, after every STATE change); write source as daily-check.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.