copying-flags-across-projects

Installation
SKILL.md

Copying feature flags across projects

This skill guides you through duplicating a feature flag from a source project into one or more target projects within the same PostHog organization.

When to use this skill

  • The user asks to "copy a flag to another project", "duplicate this flag", or "sync a flag between projects"
  • The user wants to promote a flag from a staging project to a production project (or vice versa)
  • The user wants to replicate a flag configuration in a different workspace and keep cohort dependencies intact
  • The user is working around the absence of true environments by using projects-as-environments

What this skill does not cover

  • Cross-organization copy is not supported. The endpoint requires source and target projects to belong to the same org.
  • Bulk copying every flag in a project. The tool copies one flag at a time. For batch copies, loop through flag keys; each call is independent.
  • Cleaning up old or stale flags — see the cleaning-up-stale-feature-flags skill instead.

Workflow

Related skills
Installs
20
Repository
posthog/skills
GitHub Stars
34
First Seen
10 days ago