# PostHog Error Digest

> Weekly PostHog error digest agent. Weekly cross-project error overview from PostHog - enumerates every project the OAuth grant covers, pulls the last 7 days of error-tracking issues per project, ranks them by impact, flags what's new vs ongoing, and sends one digest with per-project totals, the top issues, and a clickable link to a full committed report of every issue.

- Skill: `posthog-errors`
- Category: Dev & Code (https://www.aeon.fun/skills#dev)
- Default schedule: Weekly on Monday at 15:00 UTC (cron `0 15 * * 1`)
- Last updated: 2026-11-05 (commit 504a21d)
- Source: https://github.com/aeonfun/aeon/blob/main/skills/posthog-errors/SKILL.md

## What it does

Give the operator a single, scannable overview of the errors across **every** one of
their PostHog projects for the past week. The heavy lifting is the **PostHog MCP
server** (`mcp.posthog.com/mcp`): it enumerates the projects and returns the
error-tracking issues, so you reason over structured facts (occurrence counts, users
affected, first/last-seen timestamps) instead of guessing. Your job is to fan out
across projects, rank by impact, separate new from ongoing, and write the digest.

## Input: the var setting

Optional scope override. Empty (default) → **all** projects the OAuth
grant covers, **last 7 days**. Accepts:
- `Nd` - change the window, e.g. `14d` or `30d` (bare number also read as days).
- a comma-list of project name substrings - e.g. `web, api` limits to projects
  whose name contains one of those (case-insensitive). Combine with a window:
  `web, api, 14d`.

This runs unattended - treat `var` as final, no confirmation step.

## What it needs

- `posthog` MCP server: required

## Install

```bash
bin/add-skill aeonfun/aeon posthog-errors
```

```yaml
skills:
  posthog-errors: { enabled: true, schedule: "0 15 * * 1", var: "" }
```

## Related skills

- [PR Triage](https://www.aeon.fun/skills/pr-triage): First-touch triage for external pull requests - verdict, label, and a welcoming comment within minutes of open
- [Inbox Triage](https://www.aeon.fun/skills/inbox-triage): Daily GitHub notification inbox triage - surfaces aging vuln PR replies, security advisories, review requests, and mentions that need action
- [RightStack - Web3 Stack Advisor](https://www.aeon.fun/skills/rightstack): Use RightStack as a read-only Web3 stack advisor for architecture recommendations, workflow inspection, tool comparisons, and package-migration checks
- [ICP Deploy Check](https://www.aeon.fun/skills/icp-deploy-check): Pre-deploy safety checklist for an Internet Computer Rust canister - read a local/cloned canister repo and verify the deploy-time footguns from the canister-security checklist (controller backup, anonymous-principal rejection, no mainnet fetch_root_key, upgrade safety) before it ships
- [SC Audit](https://www.aeon.fun/skills/sc-audit): Deep security audit of a smart-contract repo OR a live on-chain contract by address - detect Solidity, model the protocol invariants and trust boundaries first, run Slither (best-effort) plus a bounded agentic pass that hunts for a path breaking each invariant, triage, adversarially verify, prove with a fuzzer, and drive each finding through the shared responsible-disclosure routing
- [GitHub Monitor](https://www.aeon.fun/skills/github-monitor): Watch your GitHub repos across four views - a combined urgency monitor (stale PRs, new issues, releases), a new-issue triage queue, a release upgrade digest, or your own opened-PR tracker
