Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(skills): clarify tabs and scouts command palette (#118176)

Dylan Martin332bdb2975c8
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index b3c793fd5fd0..8981721f3545 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -8859,9 +8859,9 @@ snapshots:
scenes-app-ai-observability-skills--skill-detail-stacked-below-2-xl-breakpoint--wide--light:
hash: v1.k794b7964.4ce94e0415732ee8ee483b5be5eeffeda8b33ca70444bebe8ccaaef858159540.9XEuH7i8VEm-twy2jenDX5dusdL7ZUbxFYyTSsU_LPM
scenes-app-ai-observability-skills--skills-list--dark:
- hash: v1.k794b7964.ef922a0a06bf1db7141ffa5dda43e7106b3eec562f4dc4c0996b817b8e55b3be.Ij1-WjXoREtj3yIYkzbXuRg-ccNy-NPBUBW_31tlfRw
+ hash: v1.k794b7964.e4334aef903aa1c6e1e322bf5fed2668fcfd386d46ce8adc40e1b53e4c0ecf20.sUT0FjTfVZgW82l1QMDHc_qiIIz-_9hN7AlgfalubCk
scenes-app-ai-observability-skills--skills-list--light:
- hash: v1.k794b7964.d22fb946238114580130ed5d5978b187d6acd086868d1ebb8e326e02c65fc6f5.W7RfUzTvMqZEzuRPjF2h0XXTftd4X0bauTIRZAc48qk
+ hash: v1.k794b7964.94ea35b72a48d25b5f79e0aa905611e69635e48328ddaf1eee75293e0d6dae62.h6WvSDhLxB68TuBP-ipSDaiYNJr7uD9Gxnuqtb5iGj8
scenes-app-ai-observability-system-one-connection--default--dark:
hash: v1.k794b7964.2729d2ff6ec5024b31cb584cfe8d15a07607c9c9723655feaa6cd5b401d4fd47.1MGXki6PWyOm9TClWTgzksbLuXkha1JfZN-z2sVQsmg
scenes-app-ai-observability-system-one-connection--default--light:
diff --git a/frontend/src/lib/components/Search/searchListsLogic.test.ts b/frontend/src/lib/components/Search/searchListsLogic.test.ts
index 435f93220c41..ddc0aa2c1900 100644
--- a/frontend/src/lib/components/Search/searchListsLogic.test.ts
+++ b/frontend/src/lib/components/Search/searchListsLogic.test.ts
@@ -41,6 +41,16 @@ describe('searchListsLogic', () => {
expect(matches.find((item) => item.id === 'misc-my-tickets')?.href).toBe(urls.myTickets())
})
+ it('shows only the Inbox Scouts destination', () => {
+ featureFlagLogic.actions.setFeatureFlags([], { [FEATURE_FLAGS.PRODUCT_AUTONOMY]: true })
+
+ expect(
+ logic.values.productsItems
+ .filter((item) => item.displayName === 'Scouts')
+ .map((item) => ({ href: item.href, parentName: item.parentName }))
+ ).toEqual([{ href: urls.inbox('scouts'), parentName: 'Self-driving inbox' }])
+ })
+
it.each([false, true])('gates the command-menu terminal toggle when enabled=%s', (enabled) => {
logic.unmount()
logic = searchListsLogic({ commandPalette: true })
diff --git a/frontend/src/products.tsx b/frontend/src/products.tsx
index b0db1aa2599c..a79f6f55e713 100644
--- a/frontend/src/products.tsx
+++ b/frontend/src/products.tsx
@@ -3174,8 +3174,11 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
href: urls.skills(),
searchKeywords: ['agent instructions', 'playbooks'],
searchTabs: [
- { name: 'Scouts', href: urls.skillsCategoryTab('scouts') },
- { name: 'Community', href: urls.communitySkills(), flag: FEATURE_FLAGS.LLM_ANALYTICS_COMMUNITY_SKILLS },
+ {
+ name: 'Community skills',
+ href: urls.communitySkills(),
+ flag: FEATURE_FLAGS.LLM_ANALYTICS_COMMUNITY_SKILLS,
+ },
],
sceneKey: 'Skills',
sceneKeys: ['Skills', 'Skill', 'CommunitySkills'],
diff --git a/products/skills/frontend/SkillsSceneShell.tsx b/products/skills/frontend/SkillsSceneShell.tsx
index 42c27bd26f50..009002a2b534 100644
--- a/products/skills/frontend/SkillsSceneShell.tsx
+++ b/products/skills/frontend/SkillsSceneShell.tsx
@@ -17,9 +17,8 @@ export const COMMUNITY_SKILLS_TAB_KEY = 'community'
export const COMMUNITY_SKILLS_TAB_DESCRIPTION = 'Discover and install agent skills shared by the PostHog community.'
/**
- * Shared shell for every Skills tab. It renders one tab bar — the default "Skills" tab, the
- * category tabs (Scouts, Code review), then "Community" — so the category tabs and Community sit
- * in the same row instead of stacking two bars.
+ * Shared shell for every Skills tab. It renders uncategorized, product-specific, and community
+ * skills in one row instead of stacking two tab bars.
*
* Community is a separate scene (at /skills/community), so each scene renders this with only its own
* tab's content; the other tabs navigate via their `link` and are never mounted here. That keeps the
@@ -45,14 +44,18 @@ export function SkillsSceneShell({
const communityEnabled = !!featureFlags[FEATURE_FLAGS.LLM_ANALYTICS_COMMUNITY_SKILLS]
const tabs: LemonTab<string>[] = [
- { key: DEFAULT_SKILLS_TAB_KEY, label: 'Skills', link: skillTabUrl(DEFAULT_SKILLS_TAB_KEY) },
+ {
+ key: DEFAULT_SKILLS_TAB_KEY,
+ label: 'Uncategorized skills',
+ link: skillTabUrl(DEFAULT_SKILLS_TAB_KEY),
+ },
...visibleCategoryTabs(categoryCounts, activeTabKey).map((tab) => ({
key: tab.key,
label: tab.label,
link: skillTabUrl(tab.key),
})),
...(communityEnabled || activeTabKey === COMMUNITY_SKILLS_TAB_KEY
- ? [{ key: COMMUNITY_SKILLS_TAB_KEY, label: 'Community', link: urls.communitySkills() }]
+ ? [{ key: COMMUNITY_SKILLS_TAB_KEY, label: 'Community skills', link: urls.communitySkills() }]
: []),
]
diff --git a/products/skills/frontend/skillTabsLogic.ts b/products/skills/frontend/skillTabsLogic.ts
index 899b3db7fd34..e813a0485fc5 100644
--- a/products/skills/frontend/skillTabsLogic.ts
+++ b/products/skills/frontend/skillTabsLogic.ts
@@ -9,8 +9,8 @@ import { llmSkillsList } from 'products/skills/frontend/generated/api'
/** URL/UI key for the default tab — the uncategorized skills (everything not pulled into a category tab). */
export const DEFAULT_SKILLS_TAB_KEY: string = 'skills'
-/** Sub-title shown for the default "Skills" tab. Category tabs carry their own copy (below). */
-export const DEFAULT_SKILLS_TAB_DESCRIPTION = 'Manage versioned agent skills that any agent can discover and use.'
+/** Sub-title shown for the default "Uncategorized skills" tab. Category tabs carry their own copy (below). */
+export const DEFAULT_SKILLS_TAB_DESCRIPTION = 'Manage skills that are not assigned to a product category.'
export interface SkillCategoryTab {
/** Tab key, also the `/skills/<key>` URL segment. */
@@ -23,7 +23,7 @@ export interface SkillCategoryTab {
}
/**
- * Category-backed tabs shown alongside the default "Skills" tab. Each entry surfaces one
+ * Category-backed tabs shown alongside the default "Uncategorized skills" tab. Each entry surfaces one
* `LLMSkill.category` value as its own tab and removes it from the default list (which only shows
* uncategorized skills). To add a tab — e.g. official AI-plugin skills — add an entry here, register
* the matching `/skills/<key>` route in manifest.tsx, and have the producer stamp that `category`.
@@ -32,16 +32,16 @@ export const SKILL_CATEGORY_TABS: SkillCategoryTab[] = [
{
key: 'scouts',
category: 'scout',
- label: 'Scouts',
+ label: 'Scout skills',
description:
- "Scouts — scheduled agents that scan your project and surface findings in your inbox. Includes PostHog's canonical scouts and any custom ones you author.",
+ "Scout skills define scheduled agents that scan your project and surface findings in your inbox. This includes PostHog's canonical scouts and custom scouts.",
},
{
key: 'review-hog',
category: 'review_hog',
- label: 'Code review',
+ label: 'Code review skills',
description:
- "PostHog Review's code-review skills: the specialist perspectives applied in parallel when reviewing a pull request (logic & correctness, contracts & security, performance & reliability) and the validation criteria that decide which findings are worth surfacing. Edit a skill to retune it for your team.",
+ 'Code review skills define the specialist perspectives and validation criteria that PostHog Review uses when it reviews a pull request. Edit a skill to tune it for your team.',
},
]
diff --git a/products/skills/manifest.tsx b/products/skills/manifest.tsx
index 34c991f8c26f..80d072d213e4 100644
--- a/products/skills/manifest.tsx
+++ b/products/skills/manifest.tsx
@@ -78,8 +78,11 @@ export const manifest: ProductManifest = {
href: urls.skills(),
searchKeywords: ['agent instructions', 'playbooks'],
searchTabs: [
- { name: 'Scouts', href: urls.skillsCategoryTab('scouts') },
- { name: 'Community', href: urls.communitySkills(), flag: FEATURE_FLAGS.LLM_ANALYTICS_COMMUNITY_SKILLS },
+ {
+ name: 'Community skills',
+ href: urls.communitySkills(),
+ flag: FEATURE_FLAGS.LLM_ANALYTICS_COMMUNITY_SKILLS,
+ },
],
sceneKey: 'Skills',
},