sigrank-app: Skill for Claude Code

.claude/skills/mcp-analytics/SKILL.md

mcp-analytics is a skill for Claude Code from SunrisesIllNeverSee/sigrank-app. It costs 135 tokens per session (5,807 once invoked), scanned A, original, MIT.

An analytics integration for TypeScript, JavaScript, or Python MCP servers. It records tool calls, agent intentions, and failures in PostHog, a service for tracking how software is used.

In plain words
What is it for?
Use it when adding usage and error tracking to your own MCP server. It supports the matching PostHog SDK for TypeScript/JavaScript or Python.
Why use it?
It shows which tools agents use, what they try to do, how often errors occur, and how long calls take. Without it, this activity is difficult to measure.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is SunrisesIllNeverSee/sigrank-app's own configuration. It tells Claude Code how to work on sigrank-app 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 sigrank-app configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SunrisesIllNeverSee/sigrank-app. 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/SunrisesIllNeverSee/sigrank-app/main/.claude/skills/mcp-analytics/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SunrisesIllNeverSee/sigrank-app

Made for: Claude Code.

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 mcp-analytics

README.md
[![agentmods](https://agentmods.dev/badge/skills/sunrisesillneversee/sigrank-app/mcp-analytics.svg)](https://agentmods.dev/skills/sunrisesillneversee/sigrank-app/mcp-analytics)
Your own site
<a href="https://agentmods.dev/skills/sunrisesillneversee/sigrank-app/mcp-analytics"><img src="https://agentmods.dev/badge/skills/sunrisesillneversee/sigrank-app/mcp-analytics.svg" alt="Measured on agentmods" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,807 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.00135 $0.05807
Opus 5 $0.00068 $0.02903
Sonnet 5 $0.00027 $0.01161
Haiku 4.5 $0.00014 $0.00581

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

Security

Grade A, and why

mcp-analytics 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.

.claude/skills/mcp-analytics/SKILL.md · 348 lines

How it starts

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

Add PostHog MCP analytics

Use this skill to instrument a user's own MCP server with PostHog MCP analytics. Once instrumented, every tool call, agent intent, and failure the server handles is captured as a $mcp_* event in PostHog — so the user can see which tools get used, what agents are trying to do, error rates, and latency.

There are two SDKs and this skill handles both:

  • TypeScript / JavaScript — the @posthog/mcp Node package.
  • Pythonposthog.mcp, which ships inside the posthog package (like posthog.ai).

This is not about adding the PostHog MCP server to a coding agent (that's wizard mcp add). This skill instruments the user's own MCP server code so it reports analytics about itself.

Scope and guardrails

  • TypeScript / JavaScript and Python are supported. Detect the language in STEP 1 and follow the matching part of every step. If the MCP server is written in anything else (Go, Rust, …), stop: emit [ABORT] unsupported language for mcp analytics on its own line and do nothing else.
  • This must be an MCP server. Search thoroughly before concluding there isn't one: check dependency manifests and source for the STEP 1 signals across the whole project, including monorepo workspace packages and subdirectories — a server is often under packages/*, apps/*, server/, or src/, not the repo root. Only after an exhaustive search finds nothing, stop: emit [ABORT] no mcp server found on its own line, and in the same message tell the user where you looked and to re-run the command from inside the package or directory that actually defines their MCP server. Do nothing else.
  • Beta SDK. Both SDKs are pre-1.0 and may ship breaking changes in minor releases. Pin a version (see STEP 3).
  • Minimal, additive changes only. Add instrumentation alongside the existing server; do not restructure tool handlers or change their behavior. The wrapper is designed to be one line.

Read the full file on GitHub · 348 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 First seen · 348 lines · 135 tokens per session scan A 854f318f6e44

Subscribe to this mod's changes

mcp-analytics is a skill published in the GitHub repository SunrisesIllNeverSee/sigrank-app (6 stars, last pushed today), licensed MIT. It adds 135 tokens to every session and 5,807 once invoked, about $0.0007 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-09-04.

Related

Other skills, from other repositories

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

shadcn-ui/ui · 61 tokens

reskin

Author a NEW skin for the reskinnable-demo app. A skin is a self-contained domain plugin under src/skins/ / that implements the frozen Skin contract (src/shell/skin-contract.ts) to swap the app's entire experience — brand, theme, layout, pages, tools, data, and agent — as a live sales demo. Use when the user says "add…

CopilotKit/CopilotKit · 154 tokens

setup-slack-channel

Use for the PROVIDER half of getting a locally running CopilotKit Channels agent to answer in Slack, when no Slack app exists yet — setting up a Channels bot in Slack for the first time, creating the Slack app and its tokens, attaching it to a managed Intelligence Channel, or when a Channel reports setuprequired, sits…

CopilotKit/CopilotKit · 206 tokens

copilotkit-integrations

Use when wiring an external agent framework (LangGraph, CrewAI, PydanticAI, Mastra, ADK, LlamaIndex, Agno, Strands, Microsoft Agent Framework, or others) into a CopilotKit application via the AG-UI protocol.

CopilotKit/CopilotKit · 61 tokens

nextjs-pages-router

Set up tRPC in Next.js Pages Router with createNextApiHandler, createTRPCNext, withTRPC HOC, SSR via ssr option and ssrPrepass, SSG via createServerSideHelpers with getStaticProps, and server-side helpers for getServerSideProps prefetching.

trpc/trpc · 67 tokens

a2ui-renderer

Render A2UI (Agent-to-UI declarative surfaces) in CopilotKit v2. Enable the runtime via CopilotRuntime({ a2ui: {...} }), then enable the provider via . Auto-activates via /info — do NOT manually pass renderActivityMessages. createA2UIMessageRenderer ships from @copilotkit/react-core/v2; low-level primitives…

CopilotKit/CopilotKit · 175 tokens