Weekly report

From logly/mureo · View interactive version

Weekly report is an AI agent skill from the GitHub repository logly/mureo. Generate a weekly summary report across all platforms. Use when the user asks for a weekly report, summary, recap, end-of-week review, or weekly digest. Also use when the user asks in Japanese (週次レポート / 今週のまとめ / 週報を作成して).

How to use this skill

Skill file

Weekly Report

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).

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.

Generate a weekly marketing operations report.

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 — ISO 8601 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: it fixes the 7-day reporting window in step 3, which action_log entries fall inside it, and every observation-window comparison below. Do not shell out (this skill must run in Bash-less headless hosts) and do not read the date off STATE.json — last_synced_at, reports.*.period and action_log timestamps are history, never evidence of what day it is now. Never write server_now into STATE.json: it is a response field, and a persisted copy becomes tomorrow's stale "today".
  1. Load context: Read STRATEGY.md and STATE.json (the same mureo_state_get response from step 0 on MCP hosts).
  1. Discover platforms: Identify all configured platforms and available data sources — built-in, mcp__mureo__<plugin>_* plugin platforms (including ChatGPT Ads, the bundled chatgpt_ads_* tools, key plugin:mureo-chatgpt-ads:chatgpt_ads — its same-day spend and conversions are provisional, see ../_mureo-chatgpt-ads/SKILL.md), and any hosted official-MCP connector present in the session (e.g. TikTok's tt-ads-* tools, key tiktok_ads). See ../_mureo-shared/SKILL.md → Plugin platforms and Hosted-connector platforms; pull a hosted connector's numbers from its own reporting tools and omit mureo-only value-adds.
  1. Period: Determine the reporting period — the last 7 days ending on server_now's date from step 0, never on a date inferred from STATE.json.
  1. Goal progress: For each Goal, pull performance data from the relevant platforms:
  1. Actions taken: Read action_log from STATE.json, filter to the reporting period.

Present as a timeline:

| Date | Command | Action | Platform | Summary |

|------|---------|--------|----------|---------|

  1. Impact assessment: For each action taken, evaluate impact using the relevant platform's trend/analysis tools. Cross-reference with GA4 data if available to validate on-site impact.
  1. Cross-platform insights:
  1. Next week recommendations:
  1. Evidence pipeline: Include an evidence assessment section:
  1. Present report in a structured format suitable for sharing with stakeholders:

Partial report — this goes FIRST, above the executive summary. If any platform came back "status": "auth_error" in step 4, this report is partial: open it by saying so, naming each affected platform with its auth_cause and the recovery (no_credentials → configure the credential via mureo configure / mureo auth setup; token_invalid → re-authorize, the credential is present and dead). Then withhold every goal-progress verdict, week-over-week comparison 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. Because this report is shared with stakeholders and its totals get quoted onward, the partial marking must appear in the executive summary itself, not only in a footnote.

  1. Log to action_log in STATE.json that a weekly report was generated, including the reporting period. 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.
  1. Persist the report summary (best-effort): Call mureo_state_report_set with report="weekly" and a concise summary object so the read-only dashboard can render this report without re-running you. Follow this convention:

Never persist a number you did not read. For a platform that came back "status": "auth_error", omit its kpis entry entirely rather than writing 0 — this rollup is the baseline the NEXT weekly run compares against, so a fabricated zero turns one week's credential problem into two weeks of phantom movement. Omit it from the blended totals too, or label those totals with the platforms they cover. Record the partial read as a flag — {"code":"custom","severity":"action","label":"<platform> not read: <auth_cause>"} — which is where a finding goes; the narrative states the verdict, not the list.

This is best-effort: if mureo_state_report_set is unavailable (e.g. a pure file-mode host without the context MCP), skip it silently — the rest of this skill still works.

  1. Persist the display contract (best-effort): Call mureo_state_display_set with what the DASHBOARD shows. This is a different audience from the summary above — STATE.json is written for the next agent, and this small bounded section is the only thing the operator's screen reads. Write it in the SAME pass as the report, from the SAME figures, and reach no new verdict here: every value below is one you already decided, and this step only renders it.

The bounds, verbatim from the tool: The dashboard reads THIS section and nothing else — keep your reasoning where it already goes. Every bound below refuses the write rather than truncating it, because a sentence cut in half is worse than a long one. nav_message: one line, at most 80 characters. highlights: at most 3 items of {tone, text}, tone one of good/watch/bad, text at most 60 characters. proposals: {title, body, status, date}, title at most 30 and body at most 80 characters, status one of proposed/done. breakdown.campaigns / breakdown.adgroups: rows of {name, spend, mcpa, target_cpa, state, note} — the three figures are raw numbers, state is one of target_met/improving/watch/worsening/no_data, note at most 40 characters. stated_values: {label, value}, label at most 24 characters and value a raw number or a string of at most 12 characters — a sentence there is refused, because it lands in a numeric column. Do NOT write the KPI funnel or the daily chart: mureo computes both from the stored totals.

Over a bound the write is REFUSED — shorten and rewrite, do not re-send the same sentence trimmed. Lead with the point and drop the connectives; a noun phrase is fine (CPA 12% over target, not The CPA is currently running about 12% above the target we agreed). Trimming one character at a time and calling again spends the run's context on a bound one rewrite would have met.

You may not be the first writer today. `display is REPLACED WHOLE and the last writer wins — there is no merge. Before you write it, read the current one (mureo_state_get). Of what another skill wrote TODAY, carry exactly one thing into your own write: its proposals that are still live — not yet done, and not contradicted by what you just found. Everything else you write from your own run alone, because a screen assembled from two runs shows a moment that never happened. And carry over NOTHING ELSE: never copy another skill's nav_message, highlights, breakdown or stated_values, which would put its judgement under your name when you cannot vouch for it. Name yourself in source` so the screen says whose answer it is.

This is best-effort: if mureo_state_display_set is unavailable (e.g. a pure file-mode host without the context MCP), skip it silently — the rest of this skill still works.

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.