posthog.com: Skill for Claude Code

.claude/skills/post-newsletter/SKILL.md

post-newsletter is a skill for Claude Code from PostHog/posthog.com. It costs 87 tokens per session (6,236 once invoked), scanned B, original, no licence file.

A conversion tool for turning a Substack newsletter post into a native posthog.com newsletter file. Substack is a publishing platform for newsletters.

In plain words
What is it for?
Use it to fetch a Substack post, format its Markdown and metadata, add internal links, host images on Cloudinary, and remove Substack-only sections.
Why use it?
It handles the formatting and content changes needed when moving a post between the two publishing systems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to PostHog/posthog.com. 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.com/master/.claude/skills/post-newsletter/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PostHog/posthog.com

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 post-newsletter

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog.com/post-newsletter.svg)](https://agentmods.dev/skills/posthog/posthog.com/post-newsletter)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog.com/post-newsletter"><img src="https://agentmods.dev/badge/skills/posthog/posthog.com/post-newsletter.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,236 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
Origin unknown 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.00087 $0.06236
Opus 5 $0.00044 $0.03118
Sonnet 5 $0.00017 $0.01247
Haiku 4.5 $0.00009 $0.00624

Measured 6d ago against content hash 55abade360e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

post-newsletter scanned grade B with 2 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 6d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

> mkdir -p ~/.posthog && chmod 700 ~/.posthog

Makes network callslowCapability

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

curl -sL "https://newsletter.posthog.com/api/v1/posts/{substack-slug}" -o /tmp/post.json
.claude/skills/post-newsletter/SKILL.md · 325 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 6d ago First seen · 325 lines · 87 tokens per session scan B 55abade360e9

Subscribe to this mod's changes

post-newsletter is a skill published in the GitHub repository PostHog/posthog.com (1,136 stars, last pushed today), with no licence file. It adds 87 tokens to every session and 6,236 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). 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

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json…

shadcn-ui/ui · 94 tokens

magic-ui

Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (@magicui/), integration patterns, and practical quality checks for accessibility and maintainability.

magicuidesign/magicui · 56 tokens

scalar-design-system

Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library. Use when designing or implementing Scalar UI, especially with Paper (code-to-design / design-to-code), so output matches real Scalar tokens, colors, typography, spacing, and components instead of…

scalar/scalar · 68 tokens

ban-pattern

Register AI-generated-looking UI patterns as prohibited rules in the design system. Use when user says "AIっぽい", "AI臭い", "これ禁止", "このパターンやめたい", "ban this pattern", "add to prohibited", or points out a generic/cookie-cutter UI element.

tsubotax/melta-ui · 67 tokens

ui-beats

Use this skill when users want to add, customize, or troubleshoot UI Beats components in React/Next.js projects. It covers component selection, shadcn registry installation from uibeats.com, the UI Beats MCP server, motion and reduced-motion handling, and integration patterns for animated sections.

nikhils4/ui-beats · 62 tokens

review-a-design

Reviews whether a design is SOUND — solving the right problem, derived from its stated goals and constraints — and emits ranked, evidence-backed findings, not edits. Read when asked to 'review this design', 'is this design sound', 'pressure-test this proposal', 'do a design review', 'does this solve the right…

inkeep/open-knowledge · 175 tokens