You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return`You have access to the PostHog MCP server which provides skills to integrate PostHog into this ${
277
275
config.metadata.name
278
276
} project.
@@ -285,22 +283,24 @@ Project context:
285
283
286
284
Instructions (follow these steps IN ORDER - do not skip or reorder):
287
285
288
-
STEP 1: Fetch the skill resource from: posthog://skills/${skillId}
289
-
The resource returns a shell command to install the skill.
290
-
If the skill is not accessible, emit: ${
286
+
STEP 1: List available skills from the PostHog MCP server using ListMcpResourcesTool.
287
+
Review the skill descriptions and choose the one that best matches this project's framework and configuration.
288
+
If no suitable skill is found, emit: ${
291
289
AgentSignals.ERROR_RESOURCE_MISSING
292
-
} Could not access the setup resource.
290
+
} Could not find a suitable skill for this project.
291
+
292
+
STEP 2: Fetch the chosen skill resource (e.g., posthog://skills/{skill-id}).
293
+
The resource returns a shell command to install the skill.
293
294
294
-
STEP 2: Run the installation command using Bash:
295
+
STEP 3: Run the installation command using Bash:
295
296
- Execute the EXACT command returned by the resource (do not modify it)
296
-
- This will download and extract the skill to .claude/skills/${skillId}/
297
-
- DO NOT do anything else before running this command - no searches, no Glob, no exploring
297
+
- This will download and extract the skill to .claude/skills/{skill-id}/
298
298
299
-
STEP 3: Load the skill from .claude/skills/${skillId}/SKILL.md
299
+
STEP 4: Load the installed skill's SKILL.md file.
300
300
301
-
STEP 4: Carefully follow the skill's entire PostHog setup procedures to the letter
301
+
STEP 5: Carefully follow the skill's entire PostHog setup procedures to the letter.
302
302
303
-
STEP 5: Set up environment variables for PostHog in a .env file with the API key and host provided above, using the appropriate naming convention for ${
303
+
STEP 6: Set up environment variables for PostHog in a .env file with the API key and host provided above, using the appropriate naming convention for ${
304
304
config.metadata.name
305
305
}. Make sure to use these environment variables in the code files you create instead of hardcoding the API key and host.
0 commit comments