posthog
PostHog API integration with managed authentication. Product analytics, feature flags, session recordings, experiments, and more. Use this skill when users want to query analytics events, manage feature flags, analyze user behavior, view session recordings, or run A/B experiments. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/byungkyu/posthog-apiWhat This Skill Does
The PostHog skill for OpenClaw provides a secure, seamless interface to interact with your PostHog product analytics ecosystem. By leveraging managed authentication, this skill abstracts the complexities of API keys and OAuth flows, allowing you to focus on retrieving insights, managing feature flags, and analyzing user behavior directly through the agent. It routes requests through the Maton gateway, ensuring your credentials remain protected while providing full access to PostHog's robust feature set, including HogQL queries, session recording management, and A/B test monitoring.
Installation
To integrate this skill into your environment, use the OpenClaw installation command:
clawhub install openclaw/skills/skills/byungkyu/posthog-api
After installation, ensure you have your Maton API key set as an environment variable: export MATON_API_KEY="YOUR_API_KEY". You can manage your OAuth connections and link your PostHog instance by visiting https://ctrl.maton.ai.
Use Cases
- Analytics Querying: Use HogQL to extract complex event data and build custom behavioral reports without leaving the OpenClaw terminal.
- Feature Flag Orchestration: Dynamically toggle features for specific user segments or rollout groups based on real-time feedback or automated performance triggers.
- Session Analysis: Automate the auditing of session recordings to identify user friction points or confirm that a specific bug report has been resolved.
- Experiment Management: Monitor the statistical significance of ongoing A/B tests and automate notifications or cleanup tasks once experiments conclude.
Example Prompts
- "Query the top 5 most frequent event types for the past week using HogQL and summarize the user activity trends."
- "Check the status of our active feature flags; identify any that have been enabled for more than 30 days and suggest disabling them."
- "Find the last session recording for user ID 12345 and summarize the steps they took before the reported error."
Tips & Limitations
- Authentication: Always ensure your
MATON_API_KEYis kept secure and never hard-coded in scripts. - Gateway Pathing: Remember that the base URL is
https://gateway.maton.ai/posthog/{native-api-path}. Always map your desired PostHog endpoint correctly into the path. - OAuth Status: If a request fails, verify that your connection status is
ACTIVEvia the connection management commands before attempting further API calls.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-byungkyu-posthog-api": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, network-access
Related Skills
apollo
Apollo.io API integration with managed OAuth. Search and enrich people and companies, manage contacts and accounts. Use this skill when users want to prospect, enrich leads, or manage sales data. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
hubspot
HubSpot CRM API integration with managed OAuth. Manage contacts, companies, deals, and associations. Use this skill when users want to create or update CRM records, search contacts, or sync data with HubSpot. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
squareup
Square API integration with managed OAuth. Process payments, manage customers, orders, catalog, inventory, invoices, loyalty programs, team members, and more. Use this skill when users want to accept payments, manage point-of-sale operations, track inventory, handle invoicing, manage loyalty programs, or create payment links through Square. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
signnow
SignNow API integration with managed OAuth. E-signature platform for sending, signing, and managing documents. Use this skill when users want to upload documents, send signature invites, create templates, or manage e-signature workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
vimeo
Vimeo API integration with managed OAuth. Video hosting and sharing platform. Use this skill when users want to upload, manage, or organize videos, create showcases/albums, manage folders, or interact with the Vimeo community. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.