Skill: Account Monitoring
Used exclusively by account-sentinel. Fetches account-level signals that sit above the campaign layer — policy status, billing health, and aggregate spend anomalies that no single campaign metric would surface.
Workflow
- Call
meta-ads.get_account_status— returns policy status, billing flags, and any active account restrictions. - Call
meta-ads.get_campaign_insightswith a short lookback window — compute aggregate spend vs. historical baseline. - If aggregate spend deviates by more than 2× the 7-day average: flag as
unusual-spend-pattern-detected. - If any policy restriction is
ACTIVEorPENDING_DELETION: flag asaccount-policy-violation-detected. - If the
meta-adstool returns repeated 4xx or 5xx codes across the session: flag asapi-error-rate-above-threshold. - Write findings to
memory/account-health-{date}.json. - Return: list of active flags (empty list = clean).
All non-empty flag lists are escalated by account-sentinel without autonomous action.