Logo: Monthly Report

Monthly Report

Communautéit
popiliadam
monthly-report

Use when: kullanıcı "aylık rapor", "monthly report", "ay sonu özet", "geçen ay neler oldu", "ay raporu üret", "aylık müşteri raporu", "monthly client report" der ya da /pseo-monthly çağırır. Also use when: ayın son iş gününde aktif proje için outputs/reports/{date}-monthly.md üretilecek; master.xlsx'te master_task / completed_work / gsc_performance / opportunity / content_decay / tech_seo / schema / new_content_plan / content_improve sheet'leri ay boyunca dolmuş; monthly-report.schema.json v1.0 formatında 10 zorunlu section + framing_policy "positive_client" default + output_formats subset of html|pdf|notion isteniyor; Phase 9 reporting suite parçası, LOCAL aggregation (no MCP, no DFS). Do not use when: haftalık özet (weekly-summary), portföy genel raporu (portfolio-overview), portföy haftalık brief (portfolio-weekly-brief), drift kontrol (drift-check), tek-seferlik analiz isteniyorsa — bunların ayrı skill ve komutları vardır; master.xlsx yokken (DURUR WorkbookMissingError, init-project önce çalışmalı); paid MCP credit harcanması bekleniyorsa (bu skill 0 credit; DFS backlinks Phase 10+'ta ayrı skill üzerinden).

Iwwersiicht

Editeurpopiliadam
Repositoryplatinum-seo-engine
Skill-Nummmonthly-report
Stären
26
Forks
3
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzAGPL-3.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    popiliadam huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Monthly Report an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/popiliadam/platinum-seo-engine/tree/main/skills/reporting/monthly-report
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/popiliadam/platinum-seo-engine.git /tmp/platinum-seo-engine
mkdir -p .claude/skills
cp -r /tmp/platinum-seo-engine/skills/reporting/monthly-report .claude/skills/monthly-report
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Monthly Report an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Monthly Report automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Monthly Report net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

monthly-report — reporting skill (Phase 9 Wave 1)

LOCAL aggregator: reads master.xlsx logical sheets + last-28-day events.jsonl context (READ-ONLY) → emits a JSON report conforming to schemas/monthly-report.schema.json v1.0 (10 required sections, framing_policy default positive_client, output_formats subset of [html, pdf, notion], data_sources provenance).

This skill follows the convention authority established by skills/planning/master-task-sync/SKILL.md (Phase 8 W-D1 — local aggregation pattern). Per the Phase 9 W-E1 worker brief (REVIZE 1+2+3):

  • outputs[] has exactly 3 entries — master.xlsx#none (READ-ONLY confirm), outputs/reports/{date}-monthly.md, and inbox/local/{date}-monthly-{slug}.json. No events.jsonl write.
  • events.jsonl is READ-ONLY for last-28-day work-event context; whether reporting runs are themselves audit-worthy events is Q-RP-01, deferred to Phase 14 governance refinement (manager OQ append at closeout).
  • master_task is READ-ONLY; this skill never writes back. The next_month_plan section reads top-10 TODO rows.
  • mcp_tools.required = [] and mcp_tools.optional = []. The mcp__gsc__search_analytics tool MAY be invoked opportunistically by a future skill body for cross-check, but is not declared here because the LOCAL pipeline must run end-to-end without it (HIGH autonomy + cron-ready).
  • budget.uses_paid_mcp = false and estimated_credits = 0 (no DFS, no paid MCP, no Scrapling cloud).

Inputs (frontmatter contract)

NameTypeDefaultNotes
project_slugstring—Required. Resolves projects/{slug}/master.xlsx.
period_endstringlast business day of current monthISO YYYY-MM-DD. period_start = period_end - 27 days.

workspace_root is resolved via PSEO_WORKSPACE_ROOT env var or an explicit override (mirrors workflow_runner / events_writer / sibling reporting skills).

Outputs (artifacts produced)

  • master.xlsx#none — declarative READ-ONLY confirmation. The transform contains zero transaction.append / transaction.update calls against master_task (or any other sheet); see acceptance gate #8.
  • projects/{slug}/outputs/reports/{period_end}-monthly.md — rendered markdown via string.Template ($variable substitution; mirrors scripts/reporting/render_template.py contract).
  • projects/{slug}/inbox/local/{period_end}-monthly-{project_slug}.json — drift-recovery snapshot of the full schema-shaped report dict.

Sheets consumed (READ-ONLY)

SheetProducer skillSection feed
master_taskmaster-task-syncnext_month_plan (top-10 TODO)
completed_workdone-protocoltech_seo_done / content_revised / new_content
content_improvecontent-decaypages_up auxiliary
new_content_plannew-content-plannew_content auxiliary
gsc_performancegsc-pullgsc_positive_trends + pages_up
opportunityquick-winskeywords_up
content_decaycontent-decaycontent_revised auxiliary
tech_seotech-audittech_seo_done auxiliary
schemaschema-auditcontent_revised auxiliary

events.jsonl (last 28 days) is read for contextual work-event enrichment; never written.

10 Required Sections (schemas/monthly-report.schema.json line 31-42)

  1. exec_summary — auto-generated from sections 2-7 headlines
  2. gsc_positive_trends — current vs prior 28-day deltas
  3. keywords_up — top-20 queries with positive position delta
  4. pages_up — top-10 pages with positive clicks_delta
  5. tech_seo_done — completed_work filtered by category prefix "tech"
  6. content_revised — completed_work filtered by category prefix "revis"
  7. new_content — completed_work filtered by category prefix "new"
  8. competitor_snapshot — Phase 10+ Scrapling S1/S3 (empty shape now)
  9. backlink_delta — paid DFS MCP (zero shape; this skill = LOCAL only)
  10. next_month_plan — top-10 TODO rows from master_task by priority

framing_policy defaults to positive_client (§22.3) and affects TONE only, never facts (FIX-K K1). The internal framing may foreground declines; both framings carry the SAME numbers in the additive sections below.

Additive optional sections (11–12)

Beyond the 10 required sections the report carries two additive, OPTIONAL sections — NOT in schemas/monthly-report.schema.json sections.required, so older reports stay schema-valid. Both are framing-INVARIANT (byte-identical under positive_client and internal; their builders take no framing_policy):

  1. decliners (FIX-K K1) — declining pages/content + the net signed clicks delta. The facts survive framing; only the surrounding tone may differ.
  2. measurement_context (GAP-M-W2) — a measurement-honesty annotation, per rules/measurement-discipline.md (core-update overlap + intervention cohorts):
    • core_updates_overlap + measurement_quality ∈ {clean, update_overlap, post_update_settling, insufficient_history}: does the window overlap a Google Search Ranking update (incl. the 7-day settling buffer)? Deltas in an overlapping window MUST NOT be attributed to engine work without this annotation.
    • intervention_outcomes: treated-vs-control quick-win verdicts (difference in pp; n<30 — directional only; no p-values), never a raw treated delta.

Calendar source (overlap read)

The overlap read uses scripts/reporting/update_calendar.py. By DEFAULT the bundled engine seed google-update-calendar.json is the source (no network, cron-ready) — --calendar-path overrides it. An OPTIONAL fresher workspace overlay (shared/cache/google-update-calendar.json, maintained out-of-band by scripts/maintenance/refresh_update_calendar.py) is supplied via --overlay-calendar-path (overlay wins by id). A missing calendar ⇒ measurement_quality = insufficient_history (overlap undeterminable — NEVER fabricated as clean). This keeps the skill LOCAL / no-MCP.

Intervention outcomes wiring

Before rendering, locate quick-wins cohort snapshots (_state/metrics/quickwin-cohorts/{date}-cohort.json) at least 21 days old, pair each with the newest GSC inbox payload (inbox/gsc/{date}-search_analytics-{slug}.json), compute treated-vs-control outcomes, and pass the JSON array to monthly_report.py --cohort-results:

bash
python3 scripts/reporting/intervention_outcome.py \
    --cohort-dir projects/{slug}/_state/metrics/quickwin-cohorts/ \
    --post projects/{slug}/inbox/gsc/{date}-search_analytics-{slug}.json \
    --today {date} --min-age-days 21 \
    --output projects/{slug}/_state/metrics/{date}-cohort-results.json

python3 scripts/reporting/monthly_report.py \
    --project-slug {slug} --workspace-root "$PSEO_WORKSPACE_ROOT" \
    --period-end {date} \
    --cohort-results projects/{slug}/_state/metrics/{date}-cohort-results.json \
    --output-dir projects/{slug}/outputs/reports/

Absent cohort files ⇒ intervention_outcomes = [] (the section says "kohort verisi yok"); never invent an outcome. This wiring writes NOTHING to master.xlsx and emits NO events.jsonl row — the skill stays READ-ONLY.

Task outcomes — did the finished work move its page? (O-01)

Before assembling the report, measure every DONE task that has a url and a done_date (28-day windows: before / after_28 / after_56, plus up to 5 untouched control URLs per task). The engine plans, the skill fetches, the engine records:

bash
python3 scripts/reporting/task_outcome.py plan --project {slug} --today {date}
# → {"fetch": [{"startDate", "endDate"}, ...], "measurements_due": N, "coverage": {...}}

For each window in fetch, ONE call (not one per URL): mcp__gsc__search_analytics(siteUrl=…, startDate=…, endDate=…, dimensions="page", rowLimit=gsc_window.GSC_ROW_LIMIT) — check gsc_window.truncation(raw); a capped window is re-pulled with a narrower page filter. Save the answers as a JSON list [{"startDate", "endDate", "payload"}], then:

bash
python3 scripts/reporting/task_outcome.py record --project {slug} --today {date} --responses answers.json

Measurements are appended to _state/metrics/task_outcomes.jsonl (append-only; a window that was not fetched writes nothing — never a fabricated zero). monthly_report.py then adds measurement_context.task_outcomes (per task type: treated vs control median Δclicks, difference in pp, n<30 directional) and task_outcome_coverage (measured / eligible; wave goal ≥ 0.8).

Monthly measurement modules (Dalga 5)

Each module is pure: the skill fetches, the module decides. Paid DFS calls go through the budget pre-flight; free sources (GSC, CrUX, URL Inspection) do not.

itemmoduleinput the skill fetches
O-04 AI visibility, O-12 SERP features, O-21 list pagesscripts/discovery/serp_snapshot.pyDFS serp_organic_live_advanced for the priority keywords (+ fanout_queries)
O-03 page × query history / update impactscripts/ingestion/gsc_history.pyGSC query,page per complete ISO week
O-06 index status rotationscripts/discovery/index_rotation.pymcp__gsc__index_inspect within the daily quota
O-07 field Core Web Vitalsscripts/discovery/crux_field.py (S-19)CrUX API, phone, p75
O-08 IndexNow readinessscripts/production/brief_signals.indexnow_key_livehttps://host/<key>.txt; pings via /pseo-index
O-09 link gap, O-22 mentions / dead links, O-26 PR prospectsscripts/discovery/offpage.pyDFS backlinks_domain_intersection, content_analysis_search, broken backlinks
O-10 rank grid, O-23 landing checks + top-3 %, O-25 service × place planscripts/discovery/local_seo.pyDFS maps per grid point, the GBP landing page HTML, DFS volume + CPC
O-13 product feed readinessscripts/discovery/merchant_feed_audit.pyMerchant feed export + page Product markup
O-14 crawl budget (optional)scripts/discovery/crawl_log.pyserver access log
O-15 preferred sources, O-20 brief secondary queriesscripts/production/brief_signals.pyproject profile; DFS ranked_keywords of the #1 URL

Outreach outputs (O-09/O-21/O-22/O-26) are candidate lists only — the engine never sends e-mail; paid placement requires rel="sponsored".

Deferred, with reason: O-05 weekly auto-refresh — the O5 scheduler exists (default OFF); switching it on per project is an operator decision taken with the plugin reinstall, after the revision waves. O-11 GA4 — needs a GA4 Data API credential per property, which no project has yet.

DURUR conditions (8 + base)

Stop and flag the manager — do not patch, do not fall back.

  1. FramingPolicyEnumViolation — value not in {positive_client, internal}.
  2. OutputFormatEnumViolation — value not in {html, pdf, notion}.
  3. DataSourceEnumViolation — value not in 7-value enum.
  4. MissingSectionError — assembler dropped a required section.
  5. ProjectIdShapeError — project_id fails ^[a-z][a-z0-9-]*$.
  6. WorkbookMissingError — projects/{slug}/master.xlsx not found.
  7. TemplateRenderError — string.Template.substitute raised KeyError (missing $key) or ValueError (bad syntax).
  8. MonthlyReportError (base) — invalid period_end, openpyxl missing, etc. Always surfaced with a descriptive message.

Audit Event Emit — DEFERRED (Q-RP-01, Phase 14+)

This reporting skill is READ-ONLY: it does not write to append-only _state/events.jsonl. An audit-trail event_kind=audit row (per rules/events-writer.md Section 4c) was proposed under Q-RP-01 but is deferred to Phase 14+ governance refinement and is NOT wired — the frontmatter (safe_auto_execute: true, outputs[] excludes events.jsonl), the /pseo-monthly command, and events-writer.md all already encode this deferral.

Do NOT add a runnable events_writer.append_audit(...) block here: on an autonomous run it would mutate append-only state, contradicting the READ-ONLY contract this skill, its frontmatter, and its paired test all assert. When Q-RP-01 actually resolves, wire the emit through the sanctioned writer under operator review — never as an inline skill block.

Cross-references

  • Schemas: schemas/monthly-report.schema.json (10 required sections + framing_policy enum + output_formats enum + data_sources enum), schemas/master-excel.schema.json (sheet shapes for the 9 consumed sheets), schemas/skill-frontmatter.schema.json (this frontmatter), schemas/events.schema.json (events.jsonl shape; READ-ONLY contract).
  • Rules: rules/measurement-discipline.md R-137 (core-update overlap annotation — measurement_context.core_updates_overlap), R-138 (intervention cohort tagging — measurement_context.intervention_outcomes, treated-vs-control).
  • Cross-modules (IMPORT-only): scripts/reporting/render_template.py (Phase 1 mirası, string.Template substitution), scripts/reporting/update_calendar.py (R-137 overlap read; engine seed ∪ overlay), scripts/reporting/intervention_outcome.py (R-138 treated-vs-control outcome; run before this skill, fed via --cohort-results).
  • Transform: scripts/reporting/monthly_report.py.
  • Template: templates/reports/monthly-report.template.md.
  • Tests: tests/skills/test_monthly_report.py (8-10 tests; schema validate output JSON + sentinel + edge case + forbidden-token grep).
  • Pattern reference: scripts/planning/master_task_sync.py (Phase 8 W-D1 local aggregation pure-transform pattern; reused verbatim).

Discipline checklist

  • TODO/fallback YASAK — every DURUR raises, none silently downgrade.
  • Schema-first — frontmatter validates against schemas/skill-frontmatter.schema.json Draft 7. Output JSON validates against schemas/monthly-report.schema.json Draft 7.
  • Plugin-agnostik — no slug literals; project_slug flows through every path; transform has 0 hardcoded slug words.
  • ADR-013: Use when / Also use when / Do not use when are STRING content inside description, not separate fields.
  • Cross-module IMPORT discipline — render_template.py is referenced by contract (string.Template), not modified.
  • D-003 helper IMPORT NOT applicable — local aggregation, no DFS payload is consumed (intentionally absent — documented above).
  • F1: artifact paths use master.xlsx (lowercase, schema-shaped); this skill writes ZERO sheets — master.xlsx#none is declarative.
  • F5: any string-typed CLI outputs are stringified explicitly.
  • Append-only state — events.jsonl is READ-ONLY here. Q-RP-01 defers the "are reports audit-worthy" question to Phase 14.
  • Idempotency — same inputs (modulo generated_at) → byte-identical report dict (asserted by test_monthly_report.py smoke test).
  • LOCAL aggregation budget envelope: uses_paid_mcp=false, estimated_credits=0, safe_auto_execute=true (cron-ready).

GSC row limit and window (D-01 / D-04)

Every mcp__gsc__search_analytics / mcp__gsc__enhanced_search_analytics call passes rowLimit=gsc_window.GSC_ROW_LIMIT (25,000 — the tool default is 1,000 and it cannot page) and takes its dates from scripts/util/gsc_window.py (recent_window / comparison_windows: end = today-3, windows never overlap). A response whose row count sits on a cap (gsc_window.truncation(raw)) is cut: narrow the window or add a page/query filter before using it.

Heefeg gestallte Froen

Wat mécht de KI-Skill Monthly Report?

Use when: kullanıcı "aylık rapor", "monthly report", "ay sonu özet", "geçen ay neler oldu", "ay raporu üret", "aylık müşteri raporu", "monthly client report" der ya da /pseo-monthly çağırır. Also use when: ayın son iş gününde aktif proje için outputs/reports/{date}-monthly.md üretilecek; master.xlsx'te master_task / completed_work / gsc_performance / opportunity / content_decay / tech_seo / schema / new_content_plan / content_improve sheet'leri ay boyunca dolmuş; monthly-report.schema.json v1.0 formatında 10 zorunlu section + framing_policy "positive_client" default + output_formats subset...

Firwat Monthly Report op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Monthly Report besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Monthly Report an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/popiliadam/platinum-seo-engine/tree/main/skills/reporting/monthly-report an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Monthly Report benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Monthly Report benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Monthly Report domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Monthly Report gratis?

Jo. popiliadam huet de Skill ënner der Lizenz AGPL-3.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇