Skip to content
anyai.fyi

consuming-endpoints-from-client-code

Skill from PostHog/ai-plugin

Development No risky patterns found curated codeapi

Install

npx skills add PostHog/ai-plugin --skill consuming-endpoints-from-client-code

Runs the open skills CLI and installs the skill for your agent (Claude Code, Codex, Cursor …). Alternatively copy the skill folder into .claude/skills/ or upload it in Claude.ai under Settings → Skills.

As a Claude Code plugin

/plugin marketplace add anthropics/claude-plugins-official /plugin install posthog@posthog

This skill is part of the plugin “posthog”. In Claude Code the plugin installs it together with the plugin’s other skills, commands and hooks.

What does the consuming-endpoints-from-client-code skill do?

Wire a PostHog endpoint into a client app or SDK. Covers fetching the OpenAPI spec, generating a typed client with openapi-generator or @hey-api/openapi-ts, sending the right auth header, shaping the variables payload (HogQL code_name vs insight breakdown property), handling rate-limit and materialised-endpoint error responses. Use when the user says "how do I call my endpoint", "generate a client for this", or "what auth header do I use".

Description from the SKILL.md in the source repository.

Questions about consuming-endpoints-from-client-code

What does the consuming-endpoints-from-client-code skill do?

Wire a PostHog endpoint into a client app or SDK. Covers fetching the OpenAPI spec, generating a typed client with openapi-generator or @hey-api/openapi-ts, sending the right auth header, shaping the variables payload (HogQL code_name vs insight breakdown property), handling rate-limit and materialised-endpoint error responses. Use when the user says "how do I call my endpoint", "generate a client for this", or "what auth header do I use".

How do I install consuming-endpoints-from-client-code?

In a terminal: npx skills add PostHog/ai-plugin --skill consuming-endpoints-from-client-code. The skills CLI asks which agents to install it for. In Claude.ai you can upload the skill folder as a ZIP under Settings → Skills.

Which agents can use consuming-endpoints-from-client-code?

Skills use the open SKILL.md format, which Claude Code, Claude.ai, the Claude API, OpenAI Codex, Cursor, Gemini CLI and other agents support.

Is consuming-endpoints-from-client-code safe to use?

Our automatic check found no risky patterns (piped shell scripts, hidden characters, secret access, prompt overrides). It is not a full audit – read the SKILL.md and any scripts before installing.

More skills from PostHog/ai-plugin

writing-streamlit-apps
PostHog/ai-plugin

Write Streamlit app source code that runs well in a PostHog sandbox — the posthog_apps.query() bridge for reading PostHog data, the packages baked into the sandbox image, caching and session state across …

Data & Databases curated
No risky patterns found
writing-simplified-technical-english
PostHog/ai-plugin

Write English that a reader cannot misread: one meaning per word, active voice, simple tenses, one idea per sentence, short sentences.

Writing & Marketing curated
No risky patterns found
working-with-task-comments
PostHog/ai-plugin

Read and use comments attached to the current PostHog task, its artifacts, and any canvas through the PostHog MCP exec dispatcher.

Design & Media curated
No risky patterns found
working-with-skills
PostHog/ai-plugin

Best practices for agents managing PostHog skills via the MCP `skill-*` tools — how to discover, read, create, update, and refactor skills efficiently, especially large skills with many bundled files.

Agents & Workflows curated
No risky patterns found
working-with-scouts
PostHog/ai-plugin

Work with PostHog Signals scouts: scheduled agents that monitor a project and write reports into the Signals inbox.

DevOps & Cloud curated
No risky patterns found
working-with-autoresearch
PostHog/ai-plugin

Use PostHog Autoresearch, agent-driven predictive models: ask "who will do X in the next N days?", let an agent train a model, then score people daily into a person property and `autoresearch_prediction` …

Data & Databases curated
No risky patterns found
validating-and-publishing-canvases
PostHog/ai-plugin

Validate and publish a canvas source project safely: the source-project shape, declared capabilities, reading the current version pointer, iterating on validation diagnostics, guarded publishing with expected_current_version_id, staging a draft build and promoting …

Design & Media curated
No risky patterns found
understanding-billing-usage
PostHog/ai-plugin

Explains PostHog billing usage and spend from the customer's visible Billing MCP tools. Use when the user asks why usage or spend is high, which product or project is driving usage, what …

Data & Databases curated
No risky patterns found

Related skills in Development

improve-codebase-architecture
mattpocock/skills

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

Development 1253k installs curated
No risky patterns found
diagnosing-bugs
mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.

Development 919k installs curated
No risky patterns found
code-review
mattpocock/skills

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what …

Development 879k installs curated
No risky patterns found
research
mattpocock/skills

Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo.

Development 792k installs curated
No risky patterns found
appinsights-instrumentation
microsoft/azure-skills

Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references.

Development 673k installs curated
No risky patterns found
azure-resource-visualizer
microsoft/azure-skills

Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. WHEN: create architecture diagram, visualize Azure resources, show resource relationships, generate Mermaid diagram, analyze resource group …

Development 673k installs curated
No risky patterns found
azure-aigateway
microsoft/azure-skills

Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailbreak detection …

Development 672k installs curated
No risky patterns found
azure-messaging
microsoft/azure-skills

Troubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems.

Development 664k installs curated
No risky patterns found