posthog-foss: Skill for Claude Code

.agents/skills/adding-mcp-store-servers/SKILL.md

adding-mcp-store-servers is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 107 tokens per session (1,489 once invoked), scanned A, original, MIT.

Instructions for adding a third-party remote MCP server to the PostHog MCP store. MCP servers are services that let an AI assistant use an external tool or data source.

In plain words
What is it for?
Use them to find and test a vendor’s hosted MCP endpoint, create a catalog entry, and verify that the server passes the store’s activation checks.
Why use it?
They reduce the chance of adding an unsupported or incorrectly configured server by checking its endpoint, protocol handshake, OAuth setup, and catalog entry.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is PostHog/posthog-foss's own configuration. It tells Claude Code and Codex how to work on posthog-foss itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything posthog-foss configures →

Reuse

Borrowing it

Nothing to install: this file belongs to PostHog/posthog-foss. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PostHog/posthog-foss/master/.agents/skills/adding-mcp-store-servers/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PostHog/posthog-foss

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adding-mcp-store-servers

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/adding-mcp-store-servers.svg)](https://agentmods.dev/skills/posthog/posthog-foss/adding-mcp-store-servers)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog-foss/adding-mcp-store-servers"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/adding-mcp-store-servers.svg" alt="Measured on agentmods" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.01489
Opus 5 $0.00053 $0.00745
Sonnet 5 $0.00021 $0.00298
Haiku 4.5 $0.00011 $0.00149

Measured 3d ago against content hash fec008187cb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

adding-mcp-store-servers scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/adding-mcp-store-servers/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Adding a server to the MCP store

The MCP store catalog is code: one entry in products/mcp_store/backend/catalog.py per server. On deploy, sync_mcp_server_templates upserts entries into MCPServerTemplate rows in every environment — there are no data migrations, no icon assets, and no manual admin steps for most servers. Adding a server is a small PR to that file.

Read first

  • products/mcp_store/README.md — the catalog pipeline, sync semantics, and operator runbook
  • products/mcp_store/backend/catalog.py — existing entries; match their tone and shape
  • products/mcp_store/backend/probe.py — what the probe verifies and what passed_activation_gate means

Workflow

  1. Find the vendor's remote MCP endpoint. Check the vendor's docs (search " MCP server"); most publish a hosted endpoint like https://mcp.<vendor>.com/mcp. Only hosted (remote) MCP servers belong in the catalog — local/stdio servers do not. Cross-check public MCP registries if the docs are unclear.

  2. Probe it.

    DEBUG=1 python manage.py probe_mcp_server https://mcp.example.com/mcp
    

    The JSON verdict tells you everything the entry needs:

    • speaks_mcp: false → the probe could not verify MCP. Stop and re-research — with one exception: reachable: true plus the error "Initialize was rejected and no OAuth metadata was discovered" is the auth-walled API-key case (last bullet below).
    • auth_flavor: "oauth_dcr" with passed_activation_gate: true → OAuth with Dynamic Client Registration. The entry is auth_type="oauth" and will activate automatically on merge.
    • auth_flavor: "oauth_shared" → OAuth without DCR. The entry is auth_type="oauth" but normally ships inactive; an operator must register an OAuth app with the vendor and paste credentials in Django admin (see the operator checklist below — include it in your PR description). If PostHog already provisions that exact OAuth app through an instance credential source, declare the reviewed source instead; catalog sync verifies and activates it without copying secrets.
    • auth_flavor: "open" → the handshake completed without credentials. auth_type="api_key"; activates automatically on merge.
    • auth_flavor: "api_key_or_unknown" with reachable: true → an auth-walled API-key server; a bare 401/403 gives the probe no MCP evidence. auth_type="api_key", but the entry ships inactive — verify it with a real install (Gate B) before adding it, and note in the PR that an operator flips it active in Django admin per environment (users bring their own key; nothing to provision).

Read the full file on GitHub · 83 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +1 lines fec008187cb9
  2. 8d ago First seen · 82 lines · 107 tokens per session scan A 19d11184bc25

Subscribe to this mod's changes

adding-mcp-store-servers is a skill published in the GitHub repository PostHog/posthog-foss (714 stars, last pushed today), licensed MIT. It adds 107 tokens to every session and 1,489 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens