postlake-analytics

postlake-analytics is a skill for Claude Code, Codex from PostLake/postlake-mcp. It costs 0 tokens per session (375 once invoked), scanned A, original, MIT.

A guide for reading social-media results from PostLake. It covers results for one post and normalised totals across platforms, such as views, reach, engagement, clicks, and follower growth.

In plain words
What is it for?
Fetching post analytics, comparing networks over 7-, 30-, or 90-day periods, and choosing future content based on performance.
Why use it?
It puts results from different social networks into a comparable format for reporting and planning.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/postlake/postlake-mcp/postlake-analytics
Any agent
npx skills add PostLake/postlake-mcp --skill postlake-analytics
Clone the repo
git clone --depth 1 https://github.com/PostLake/postlake-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/postlake/postlake-mcp/postlake-analytics.svg)](https://agentmods.dev/skills/postlake/postlake-mcp/postlake-analytics)
Your own site
<a href="https://agentmods.dev/skills/postlake/postlake-mcp/postlake-analytics"><img src="https://agentmods.dev/badge/skills/postlake/postlake-mcp/postlake-analytics.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 375 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00000 $0.00375
Opus 5 $0.00000 $0.00187
Sonnet 5 $0.00000 $0.00075
Haiku 4.5 $0.00000 $0.00038

Measured today against content hash 481c663702c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

postlake-analytics scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://api.postlake.dev/v1/posts/POST_ID/analytics \
skills/postlake-analytics/SKILL.md · 47 lines

What it actually says

PostLake: analytics

Two views: a single post's performance, and normalised cross-platform analytics over a period so an agent can compare networks and decide what to post next.

Auth

Authorization: Bearer $POSTLAKE_API_KEY

Base URL https://api.postlake.dev.

Per-post analytics

curl https://api.postlake.dev/v1/posts/POST_ID/analytics \
 -H "Authorization: Bearer $POSTLAKE_API_KEY"

Returns per-platform metrics for that post (impressions, likes, comments, shares, saves, clicks (whatever the platform exposes), in one normalised shape.

Cross-platform analytics

curl "https://api.postlake.dev/v1/analytics?period=30d" \
 -H "Authorization: Bearer $POSTLAKE_API_KEY"

period is 7d, 30d (default), or 90d. Returns totals plus a per-platform breakdown (impressions, reach, engagement rate, CTR, saves, and follower growth) already normalised so you can benchmark networks against each other.

How to use it well

  • When asked "how did X do?", fetch per-post analytics and summarise the strongest metric per platform.
  • When asked "what should I post next?", pull cross-platform analytics, find which network + content type has the best engagement/CTR, and recommend accordingly.
  • Metrics are as fresh as each platform reports; some lag a few hours after posting.
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. today Changed · -47 tokens per session 481c663702c1
  2. 4d ago First seen · 47 lines · 47 tokens per session scan A 311b136022d2

Subscribe to this mod's changes

postlake-analytics is a skill published in the GitHub repository PostLake/postlake-mcp (0 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 375 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.