Define Feature Flag
macro-inc/macro
Define a frontend feature flag with defineFlag and wire its readers.
Automatically add PostHog analytics instrumentation to code.
$ npx skills add trycompai/crm --skill posthog-instrumentation -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trycompai/crm posthog-instrumentation --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/trycompai/crm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/posthog-instrumentation .claude/skills/posthog-instrumentation && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "posthog-instrumentation" agent skill from https://github.com/trycompai/crm/tree/release/.agents/skills/posthog-instrumentation into .claude/skills/posthog-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog-instrumentation", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/trycompai/crm/tree/release/.agents/skills/posthog-instrumentationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add trycompai/crm --skill posthog-instrumentation -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trycompai/crm posthog-instrumentation --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trycompai/crm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/posthog-instrumentation .agents/skills/posthog-instrumentation && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "posthog-instrumentation" agent skill from https://github.com/trycompai/crm/tree/release/.agents/skills/posthog-instrumentation into .agents/skills/posthog-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog-instrumentation", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trycompai/crm --skill posthog-instrumentation -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trycompai/crm posthog-instrumentation --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trycompai/crm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/posthog-instrumentation .cursor/skills/posthog-instrumentation && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "posthog-instrumentation" agent skill from https://github.com/trycompai/crm/tree/release/.agents/skills/posthog-instrumentation into .cursor/skills/posthog-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog-instrumentation", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/trycompai/crm.git --path .agents/skills/posthog-instrumentation--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add trycompai/crm --skill posthog-instrumentation -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trycompai/crm posthog-instrumentation --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trycompai/crm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/posthog-instrumentation .gemini/skills/posthog-instrumentation && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "posthog-instrumentation" agent skill from https://github.com/trycompai/crm/tree/release/.agents/skills/posthog-instrumentation into .gemini/skills/posthog-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog-instrumentation", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install trycompai/crm posthog-instrumentationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add trycompai/crm --skill posthog-instrumentation -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/trycompai/crm.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/posthog-instrumentation .github/skills/posthog-instrumentation && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "posthog-instrumentation" agent skill from https://github.com/trycompai/crm/tree/release/.agents/skills/posthog-instrumentation into .github/skills/posthog-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog-instrumentation", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trycompai/crm --skill posthog-instrumentation -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install trycompai/crm posthog-instrumentation --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trycompai/crm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/posthog-instrumentation .opencode/skills/posthog-instrumentation && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "posthog-instrumentation" agent skill from https://github.com/trycompai/crm/tree/release/.agents/skills/posthog-instrumentation into .opencode/skills/posthog-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog-instrumentation", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
posthog-instrumentationAutomatically add PostHog analytics instrumentation to code.
Posthog Instrumentation is an agent skill from trycompai/crm. Automatically add PostHog analytics instrumentation to code. Triggers when user asks to add tracking, instrument events, add analytics, or implement feature flags in their codebase.
Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design. It works with PostHog. The repository describes itself as: Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6d4793d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript and python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Posthog Instrumentation loads about 420 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 97 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from trycompai/crm at commit 6d4793d, republished under its MIT licence (© trycompai). 97 words, ~420 tokens.
.claude/skills/posthog-instrumentation/SKILL.md (or your agent's skills folder).Help users add PostHog analytics, event tracking, and feature flags to their code.
// Event tracking
posthog.capture('button_clicked', { button_name: 'signup' })
// Feature flags
if (posthog.isFeatureEnabled('new-feature')) {
// Show new feature
}
// User identification
posthog.identify(userId, { email: user.email })from posthog import Posthog
posthog = Posthog(api_key='<ph_project_api_key>')
# Event tracking
posthog.capture(distinct_id='user_123', event='purchase_completed')
# Feature flags
if posthog.feature_enabled('new-feature', 'user_123'):
# Show new featureimport { usePostHog } from 'posthog-js/react'
function MyComponent() {
const posthog = usePostHog()
const handleClick = () => {
posthog.capture('button_clicked')
}
}© trycompai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/posthog-instrumentation of trycompai/crm.
Open the folder on GitHubat commit 6d4793d
Posthog Instrumentation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Posthog Instrumentation this skilltrycompai/crm | 11k | — | ~420 | Automated safety check: Pass | MIT | |
| Define Feature Flagmacro-inc/macro | 4.6k | — | ~780 | Automated safety check: Pass | AGPL-3.0 | |
| Compare Array Bundle SizePostHog/posthog-js | 613 | — | ~599 | Automated safety check: Pass | Custom licence | |
| Integration Astro Staticwill-be-done/will-be-done | 152 | — | ~636 | Automated safety check: Pass | AGPL-3.0 | |
| Designlang TokensManavarya09/design-extract | 4.2k | — | ~214 | Automated safety check: Pass | MIT | |
| Dev Toolbar Reviewsupabase/supabase | 111k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 |
macro-inc/macro
Define a frontend feature flag with defineFlag and wire its readers.
PostHog/posthog-js
Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.
will-be-done/will-be-done
PostHog integration for static Astro sites using SSG. An agent skill from will-be-done/will-be-done.
Manavarya09/design-extract
A skill your agent uses when styling UI for posthog.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.
supabase/supabase
Safety rules for the dev toolbar, PostHog client, and feature flags.
PostHog/code
Edit the @posthog/quill design system locally and consume the change in this repo (posthog-code) before it is published to npm.
trycompai/crm
Install and configure the anti-slop Oxlint plugin in a local TypeScript or JavaScript repository.
trycompai/crm
nuqs (type-safe URL query state) best practices for Next.js and other React frameworks.
trycompai/crm
Build end-to-end type-safe tRPC APIs inside NestJS using the nestjs-trpc adapter — @Router/@Query/@Mutation/@Subscription decorators, TRPCModule.forRoot, injectable middlewares and context, Zod…
trycompai/crm
Accessibility engineering for product interfaces, from focus states and keyboard support to ARIA, forms, and screen readers.
trycompai/crm
OKLCH color space and color usage for web projects. An agent skill from trycompai/crm.
trycompai/crm
Web typography from choosing fonts to spacing, wrapping and accessibility.
Works with
Categories
Automatically add PostHog analytics instrumentation to code. Posthog Instrumentation is an agent skill from trycompai/crm. Automatically add PostHog analytics instrumentation to code.
Posthog Instrumentation fits situations like: user asks to add tracking; instrument events; implement feature flags in their codebase.
Run `npx skills add trycompai/crm --skill posthog-instrumentation -a claude-code`. Or copy the skill folder (.agents/skills/posthog-instrumentation in trycompai/crm) into .claude/skills/posthog-instrumentation in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trycompai/crm --skill posthog-instrumentation -a codex`. Or copy the skill folder (.agents/skills/posthog-instrumentation in trycompai/crm) into .agents/skills/posthog-instrumentation in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trycompai/crm --skill posthog-instrumentation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/posthog-instrumentation, .gemini/skills/posthog-instrumentation, .github/skills/posthog-instrumentation and .opencode/skills/posthog-instrumentation in your project.
SKILL.md names no scripts, command-line tools or credentials: Posthog Instrumentation is instructions for the agent only. Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Posthog Instrumentation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 420 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Posthog Instrumentation: Define Feature Flag (macro-inc/macro, 4.6k stars), Compare Array Bundle Size (PostHog/posthog-js, 613 stars), Integration Astro Static (will-be-done/will-be-done, 152 stars) and Designlang Tokens (Manavarya09/design-extract, 4.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
trycompai (a GitHub organization) maintains it in trycompai/crm, which has 11,132 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 11, 2026.
Source: trycompai/crm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.