Skip to main content

implementing-agent-modes

Guidelines to create/update a new mode for PostHog AI agent. Modes are a way to limit what tools, prompts, and prompt injections are applied and under what conditions. Achieve better results using your plan mode.

Stars
34,779
Source
PostHog/posthog
Updated
2026-05-31
Slug
PostHog--posthog--implementing-agent-modes
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/PostHog/posthog/HEAD/.agents/skills/implementing-agent-modes/SKILL.md -o .claude/skills/implementing-agent-modes.md

Drops the SKILL.md into .claude/skills/implementing-agent-modes.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.