implementing-agent-modes

Official

Create and manage PostHog AI agent modes.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

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.

Core Features & Use Cases

  • Mode naming and scoping guidance for PostHog AI agent modes.
  • Scaffolding guidance: AgentToolkit, AgentModeDefinition, and schema integration.
  • JTBD trajectory examples and frontend/backend integration guidelines.
  • Best practices for tool inclusion, prompt management, and feature flags.

Quick Start

Determine the mode name from the preset catalog, create or update a new AgentMode in the frontend schema, scaffold with toolkit and executables, add tools, write trajectory examples, implement frontend changes, enable the feature flag, and run tests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: implementing-agent-modes
Download link: https://github.com/PostHog/posthog/archive/main.zip#implementing-agent-modes

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.