implementing-mcp-tools

implementing-mcp-tools is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 58 tokens per session (3,848 once invoked), scanned A, original, MIT.

An autonomous penetration-testing agent for Google Cloud Platform, Google's cloud infrastructure service. It uses tools covering permissions, service accounts, storage, computing, containers, secrets, databases, and instance metadata.

In plain words
What is it for?
Use it to test IAM and service-account access, impersonation, storage buckets, virtual machines, serverless services, Kubernetes clusters, secret storage, analytics databases, SQL databases, and metadata endpoints.
Why use it?
It helps investigate security weaknesses across the main services and identity controls in a Google Cloud environment.

Skill for Claude CodeCodex

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

Good fit Use it to test IAM and service-account access, impersonation, storage buckets, virtual machines, serverless services, Kubernetes clusters, secret storage, analytics databases, SQL databases, and metadata endpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/implementing-mcp-tools
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PostHog/posthog-foss --skill implementing-mcp-tools
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 implementing-mcp-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/implementing-mcp-tools/github.svg)](https://agentmods.dev/skills/posthog/posthog-foss/implementing-mcp-tools)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog-foss/implementing-mcp-tools"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/implementing-mcp-tools/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for implementing-mcp-tools

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/implementing-mcp-tools"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/implementing-mcp-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,848 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 220
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00058 $0.03848
Opus 5.5 $0.00023 $0.01539
Sonnet 5.5 $0.00012 $0.00770
Haiku 4.5 $0.00006 $0.00385

Measured 8d ago against content hash 43b316ff864e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

implementing-mcp-tools 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 8d 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/implementing-mcp-tools/SKILL.md · 300 lines

How it starts

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

Implementing MCP tools

Read the full guide at docs/published/handbook/engineering/ai/implementing-mcp-tools.md.

Quick workflow

# 1. Only for a product with no YAML yet: create one with no tools.
#    --product discovers endpoints via their x-product attribution.
#    ViewSets in products/<name>/backend/ are auto-attributed via module
#    path. ViewSets elsewhere need
#    @extend_schema(extensions={"x-product": "<product>"}).
pnpm --filter=@posthog/mcp run scaffold-yaml -- --product your_product \
    --output ../../products/your_product/mcp/tools.yaml

# 2. List the product's operations that have no YAML entry, then add the ones agents need.
#    --add writes an enabled entry; title and description come from the API unless the YAML sets them.
#    Add --file <path> to write to a YAML file other than the product's tools.yaml.
pnpm --filter=@posthog/mcp run scaffold-yaml -- --candidates --product your_product
pnpm --filter=@posthog/mcp run scaffold-yaml -- --add your_product_things_list --product your_product

# 3. Configure the entry — description, and annotations for PATCH/POST/PUT
#    (scopes come from the API when omitted)
#    Place in products/<product>/mcp/*.yaml (preferred) or services/mcp/definitions/*.yaml

# 4. Add a HogQL system table in posthog/hogql/database/schema/system.py
#    and a model reference in products/posthog_ai/skills/querying-posthog-data/references/

# 5. Generate handlers and schemas
hogli build:openapi

# 6. Refresh the tool input schema snapshots (CI unit tests fail on a stale snapshot)
pnpm --filter=@posthog/mcp exec vitest run tests/unit/tool-schema-snapshots.test.ts -u
# A tool behind a new `feature_flag` needs that flag in the test's `featureFlags` map, set to the value that shows the tool:
# true for a plain gate, the variant string for a variant gate, a non-true value for a `disable` gate.

# 7. Only when the YAML uses ui_apps: regenerate the UI apps (CI checks they are current)
pnpm --filter=@posthog/mcp run generate:ui-apps

Read the full file on GitHub · 300 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. 8d ago Changed · +3 lines 43b316ff864e
  2. 1mo ago Changed · +3 lines ebb24436dc51
  3. 1mo ago Changed · +13 lines 0e6b10df434d
  4. 1mo ago Changed · +2 lines 65be34de4b07
  5. 2mo ago Changed · +7 lines ee506525bacf
  6. 2mo ago Changed · +25 lines 24ebe4c22b48
  7. 2mo ago Changed · +15 lines d19d4a641149
  8. 2mo ago Changed 1dedda9faf3a
  9. 2mo ago Changed · +4 lines aa2d39566cfc
  10. 3mo ago First seen · 228 lines · 58 tokens per session scan A 11b62446b541

Subscribe to this mod's changes

implementing-mcp-tools is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 3,848 once invoked, about $0.0002 per session on Opus 5.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

implementing-mcp-tools compared with skills from other repositories

implementing-mcp-tools next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
implementing-mcp-toolsPostHog/posthog-fossSkill736todayMITA58Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70ktodayApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3ktodayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill7072d agoMITA105Claude Code, Codex