CtrlK
BlogDocsLog inGet started
Tessl Logo

writing-skills

Guide for writing PostHog agent skills — job-to-be-done templates that teach agents how to use MCP tools to achieve a goal. Use when adding new product functionality that agents should know how to work with, creating a new skill, or updating existing skills in products/*/skills/ or .agents/skills/.

69

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

—

The risk profile of this skill

SKILL.md
Quality
Evals
Security

Quality

Content

82%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a concise, highly actionable overview with executable commands and a clear scaffold-to-sync workflow. Its main weakness is the absence of an explicit error-recovery loop in the workflow and a few inlined sections that duplicate the linked full guide.

Suggestions

Add a short error-recovery note to the quick workflow (e.g., 'if hogli lint:skills fails, fix the reported skill before building') to close the feedback-loop gap in workflow_clarity.

Tighten the context-mill paragraph or move the detailed override/merge-site list into the linked full guide to improve conciseness.

Consider pulling the 'Key rules' and 'Template functions' detail into references/ (or the full guide) so SKILL.md stays a leaner entry point.

DimensionReasoningScore

Conciseness

Mostly lean and assumes Claude's competence, but the dense context-mill paragraph and a few explanatory asides could be trimmed, placing it just below the 'every token earns its place' anchor.

4 / 5

Actionability

Provides copy-paste-ready commands (hogli init:skill, lint:skills, build:skills, sync:skill) and concrete template-function signatures (pydantic_schema, render_hogql_example, hogql_functions) covering the common cases.

5 / 5

Workflow Clarity

The quick workflow is a clear 6-step sequence with validation checkpoints (lint, build to verify), but it lacks an explicit error-recovery feedback loop, matching the 'most checkpoints present; minor gaps' anchor.

4 / 5

Progressive Disclosure

Acts as an overview pointing one level deep to the full guide and an example skill with well-organized sections, though some inlined content (key rules, template functions) could arguably live in the referenced guide.

4 / 5

Total

17

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A well-crafted description that concretely states what the skill does and gives explicit, path-scoped triggers for when to use it, with strong distinctiveness. Specificity is the only slight gap, as the core capabilities lean abstract.

DimensionReasoningScore

Specificity

Names the domain and several concrete actions ('writing PostHog agent skills', 'teach agents how to use MCP tools', adding/creating/updating skills), matching the 'several specific actions; minor gaps' anchor rather than 5 because the stated capabilities are somewhat abstract.

4 / 5

Completeness

Explicitly answers both what ('Guide for writing PostHog agent skills — job-to-be-done templates that teach agents how to use MCP tools') and when ('Use when adding new product functionality ... creating a new skill, or updating existing skills') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Includes natural trigger phrases ('adding new product functionality', 'creating a new skill', 'updating existing skills') plus path-based triggers, giving good keyword coverage with a few natural synonyms missing.

4 / 5

Distinctiveness Conflict Risk

Targets a clear PostHog-specific niche with path-scoped triggers (products/*/skills/ and .agents/skills/), yielding minimal conflict risk with other skills.

5 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 4 suspicious

Warning

Total

15

/

16

Passed

Repository
PostHog/posthog
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.