Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

authoring-log-alerts

Skill by PostHog

Authors low-noise log alerts for services in a PostHog project. It triages services, measures a seven-day baseline, drafts thresholds, back-tests them, and ships alerts with a notification destination.

  • Score 86
  • 41k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install authoring-log-alerts

Built from the published package, never by AI.

git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/logs/skills/authoring-log-alerts ~/.claude/skills/authoring-log-alerts

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install authoring-log-alerts in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The authoring-log-alerts skill helps an AI assistant set up log alerts on services in a PostHog project. It ranks services by log volume and error rate, characterises a seven-day baseline, and drafts a threshold with a helper script. Each draft is back-tested with a simulate call against the last seven days before it is saved.

The goal is alerts that fire zero to three times per week. Shipped alerts are attached to a Slack, webhook or Microsoft Teams destination, and the skill asks the user to confirm the channel first. It is written for PostHog users who want a starter set of alerts or want to judge whether a service is worth monitoring. It is not meant for tuning existing alerts or investigating live incidents.

Written from the project's SKILL.md and checked against it.

What it can do

  • Service triagePicks candidate services from the top services in the last 24 hours using log count and error rate.
  • Baseline characterisationMeasures a seven-day distribution of log counts for a candidate using the count ranges tool.
  • Threshold draftingSuggests a starting threshold with the baseline_stats.py helper script and default alert settings.
  • Back-testingReplays a draft alert against seven days of history to estimate how often it would fire.
  • Alert creationSaves a validated alert with the logs-alerts-create tool.
  • Destination wiringAttaches an alert to Slack, a webhook or Microsoft Teams with the logs-alerts-destinations-create tool.

What you need

  • A PostHog project with logs
  • PostHog tools available to the assistant (logs-services, logs-count-ranges, logs-alerts-simulate-create, logs-alerts-cre
  • Python 3 to run the baseline_stats.py script
  • A Slack, webhook or Microsoft Teams destination for notifications

Try asking

  • Suggest log alerts I should add to my PostHog project
  • Check whether my billing service is worth alerting on
  • Set up a starter set of log alerts and send them to Slack

Good to know

  • Alerts with no notification destination stay silent.
  • Up to three simulate calls per candidate service.
  • Alert windows are limited to 5, 10, 15, 30 or 60 minutes.
  • Does not call query-logs during the authoring loop.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: products/logs/skills/authoring-log-alerts/SKILL.md, products/logs/skills/authoring-log-alerts/scripts/baseline_stats.py, products/logs/skills/authoring-log-alerts/tests/test_baseline_stats.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/threshold-defaults.md4 KB
  • references/volume-floor-alerts.md2 KB
  • scripts/baseline_stats.py5 KB
  • tests/test_baseline_stats.py8 KB

Alternatives to authoring-log-alerts

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

authoring-log-alerts: common questions

What does the authoring-log-alerts skill do?

It helps an assistant author low-noise log alerts on PostHog services by triaging services, measuring baselines, drafting thresholds, back-testing them and shipping them with a notification destination.

Which notification destinations does it support?

The source lists Slack, webhook and Microsoft Teams as supported destinations.

Does it change alerts that already exist?

No. The source says tuning an existing alert is a different job and points to other tools for that.

How do I install authoring-log-alerts?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is authoring-log-alerts free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is authoring-log-alerts safe to use?

It scores 86 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to authoring-log-alerts?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

authoring-log-alerts Install

Add to stack

Loading.