diagnosing-sdk-health
Skill by PostHog
Diagnoses which PostHog SDKs in a project are out of date and how to fix them. Built for developers and teams who want to check SDK health or track down events that seem off because of an old SDK.
Install diagnosing-sdk-health
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/growth/skills/diagnosing-sdk-health ~/.claude/skills/diagnosing-sdk-healthRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/products/growth/skills/diagnosing-sdk-health ~/.gemini/antigravity-cli/skills/diagnosing-sdk-healthAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install diagnosing-sdk-health in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill reads a PostHog project's SDK health issues. It uses the generic health issues feature, where outdated SDKs appear with the kind sdk_outdated. The backend applies the version rules, so the assistant reads the flagged issues and their fix guidance instead of comparing versions itself.
The workflow starts with a summary of active issues by severity and kind. It then lists the SDK issues, drills into one issue for its remediation, and runs a SQL query to see which SDK versions still send events. The assistant can then update the PostHog SDK dependency in the user's codebase. It is meant for PostHog users who want to check SDK versions, plan upgrades, or investigate event problems linked to old SDKs.
Written from the project's SKILL.md and checked against it.
What it can do
- posthog:health-issues-summaryGives aggregated counts of active issues by severity and kind for quick triage.
- posthog:health-issues-listLists issues, and can filter with kind=sdk_outdated to show only SDK issues.
- posthog:health-issues-getReturns one issue with a title, summary, link, and remediation guidance for humans and agents.
- posthog:execute-sqlRuns the query from the remediation guidance to see which SDK versions still send events.
- posthog:docs-searchLooks up an SDK's changelog or upgrade guide for breaking changes.
What you need
- A PostHog project with SDK health issues
- Access to the PostHog tools listed in the skill
- Access to the user's codebase to apply SDK updates
Try asking
- Check my PostHog project for outdated SDKs and tell me the severity.
- Show the SDK health issues and how to fix each one.
- Find which SDK versions still send events and upgrade my codebase.
Good to know
- The read tools are read-only and there is no force-refresh.
- The check runs on a schedule, roughly daily, so fixed issues can stay listed for up to a day after a deploy.
- Mobile SDKs are excluded from traffic alerts.
- Issues are per project, so each project needs its own calls.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: products/growth/skills/diagnosing-sdk-health/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB
Alternatives to diagnosing-sdk-health
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
diagnosing-sdk-health: common questions
How does the skill decide an SDK is outdated?
The backend applies the rules, including grace periods, minor-version and major-version rules, age rules, and traffic thresholds. The skill reads the flagged issues and does not compare versions itself.
Why does an SDK issue stay after I deployed the fix?
The check runs on a schedule and looks at a trailing window of traffic, so the old SDK keeps counting for a while. The source says it usually clears on its own within about a day.
Can the skill fix outdated SDKs automatically?
The source says the assistant can bump the PostHog SDK dependency in manifests like package.json or requirements.txt and update the lockfile, following the remediation guidance.
How do I install diagnosing-sdk-health?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is diagnosing-sdk-health free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is diagnosing-sdk-health safe to use?
It scores 85 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 diagnosing-sdk-health?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
