Agent skill · PostHog
PostHog Feature Flags (React) skill for Claude Code, Codex and Cursor
Officialname: feature-flags-react★ 75 (repo)pushed 2026-10-24MITSKILL.md on GitHubchecked 2026-11-07
What it does, in the publisher's words
PostHog feature flags for React applications
The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.
Install PostHog Feature Flags (React)
The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs
npx skills add PostHog/skills --skill feature-flags-react
This repo is a plugin marketplace. Inside Claude Code, add it and install the plugin that holds the skill (impersonation-toolkit, posthog-debugger, posthog-survey-creator, posthog-inbound-lead...), or copy only this skill into ~/.claude/skills. docs
/plugin marketplace add PostHog/skills /plugin install <plugin>@PostHog-skills # or only this skill: npx skills add PostHog/skills --skill feature-flags-react -a claude-code
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/PostHog/skills.git /tmp/react-src cp -r /tmp/react-src/skills/posthog/feature-flags/skills/react ./feature-flags-react zip -r feature-flags-react.zip feature-flags-react
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add PostHog/skills --skill feature-flags-react -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install PostHog/skills feature-flags-react
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add PostHog/skills --skill feature-flags-react -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/PostHog/skills.git --path skills/posthog/feature-flags/skills/react
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add PostHog/skills --skill feature-flags-react -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add PostHog/skills --skill feature-flags-react -a windsurf
Works with
Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.
What's in the SKILL.md
- Reference files
- Key principles
- PostHog MCP tools
- Framework guidelines
Bundled files
- references/adding-feature-flag-code.md
- references/best-practices.md
- references/react.md
Loaded only when the instructions point to them.
Facts
- Skill name
- feature-flags-react
- Publisher
- PostHog (official)
- Repo
- PostHog/skills
- License
- MIT
- Version
- 1.9.4
- SKILL.md size
- 312 words, 34 lines
- Bundled files
- 3, 3 docs
- Repo stars
- 75 (as of 2026-10-24)
- SKILL.md checked
- 2026-11-07
Pairs with the PostHog MCP server: the server gives the agent the tools, the skill teaches it how to use them.
More skills from PostHog/skills
- PostHog for Next.js (App Router): Adds PostHog analytics to a Next.js App Router project.
- PostHog LLM Analytics: Instruments LLM calls so PostHog tracks cost, latency and usage across providers.
Related data & analytics skills
- BigQuery Basics · Google
- PromQL · Grafana Labs
FAQ
What does the feature-flags-react skill do?+
Wires PostHog feature flags into a React app. In its own SKILL.md, PostHog describes it as: "PostHog feature flags for React applications"
How do I install the feature-flags-react skill?+
Run npx skills add PostHog/skills --skill feature-flags-react and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/feature-flags-react/SKILL.md; in Codex and Cursor in .agents/skills/feature-flags-react/.
Does PostHog Feature Flags (React) work in Codex, Cursor and Copilot, or only Claude?+
It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.
Who maintains PostHog Feature Flags (React)?+
PostHog, the company or project behind it, in the PostHog/skills repo on GitHub, last pushed 2026-10-24. License: MIT.
Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers