Skip to content

Add provider skill discovery and composer picker#2564

Closed
lintowe wants to merge 15 commits into
pingdotgg:mainfrom
lintowe:feat/provider-skills
Closed

Add provider skill discovery and composer picker#2564
lintowe wants to merge 15 commits into
pingdotgg:mainfrom
lintowe:feat/provider-skills

Conversation

@lintowe
Copy link
Copy Markdown

@lintowe lintowe commented May 6, 2026

Summary

  • Adds provider skill discovery and picker support to the composer

What Changed

  • Discovers user/project skills for supported provider integrations
  • Adds provider skills to the composer command menu and renders selected skills as inline chips
  • Allows typing / to find matching provider skills alongside commands
  • Filters app/plugin-backed skills out of the picker for now, so only regular installed skills are surfaced

Screenshots

image

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • bun run test src/provider/Layers/CodexProvider.test.ts from apps/server

Note

Medium Risk
Adds filesystem-based skill discovery and wires it into provider status snapshots and the web composer menu, plus extends the shared ServerProviderSkill contract; bugs here could affect provider probing and command/skill UX across clients.

Overview
Adds cross-provider skill discovery by parsing SKILL.md files from project/user directories and surfacing the results in provider status snapshots.

Claude and OpenCode provider probes now attach discovered skills (and for Claude, merge them into slashCommands without overriding native commands), using the server’s configured cwd/resolved home; Codex now filters out plugin/app-backed skills and short-circuits with a clearer error when the codex binary is missing.

The web composer now shows provider skills in the command picker (including when typing /), groups them separately, avoids name collisions with slash commands, and updates skill search/serialization to handle a new optional invocationPrefix ($ or /) added to ServerProviderSkill.

Reviewed by Cursor Bugbot for commit 863904f. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Add provider skill discovery and composer picker for Claude, Codex, and OpenCode

  • Adds a SkillDiscovery module that scans project and user directories for SKILL.md files, parses their frontmatter, and returns ServerProviderSkill entries with an invocationPrefix of / or $.
  • Extends checkClaudeProviderStatus, checkCodexProviderStatus, and checkOpenCodeProviderStatus to discover and merge skills into returned provider snapshots, including merging skills into slash commands where no native command exists.
  • Updates the ChatComposer to surface provider skills alongside slash commands in the picker, deduplicating against native slash commands, and groups them under a 'Skills' section.
  • Extends ServerProviderSkill schema with an optional invocationPrefix field ('/' or '$'), and normalizes skill search queries to strip both / and $ prefixes.
  • Behavioral Change: Codex provider status now returns installed: false early if the Codex binary is not on PATH.

Macroscope summarized 863904f.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 6, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 296e1a95-ec27-492d-8b5d-bf7023266636

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added size:XL 500-999 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels May 6, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp Bot commented May 6, 2026

Approvability

Verdict: Needs human review

This PR introduces a new feature for discovering provider skills from the filesystem and displaying them in the composer picker. The changes span multiple providers (Claude, Codex, OpenCode), add a substantial new module (SkillDiscovery.ts), and modify the UI. New features with cross-cutting behavior changes warrant human review.

You can customize Macroscope's approvability policy. Learn more.

@juliusmarminge
Copy link
Copy Markdown
Member

how is this different from what we have already?

@lintowe
Copy link
Copy Markdown
Author

lintowe commented May 7, 2026

how is this different from what we have already?

I reinstalled the current regular build to see if there's any way to do skills, either via doing # or @ or / in the chat space but I'm not able to trigger any of the skills that I've personally installed for Codex/Claude Code. Either the implementation might not be fully there or I'm completely missing something in the application. I made the PR due to that, and if it's already implemented then I apologize in advance

Comment thread apps/server/src/provider/SkillDiscovery.ts Outdated
Comment thread apps/web/src/components/chat/ChatComposer.tsx Outdated
Comment thread apps/web/src/components/chat/ChatComposer.tsx
Comment thread apps/server/src/provider/SkillDiscovery.ts Outdated
Comment thread apps/web/src/components/chat/ChatComposer.tsx
Comment thread apps/web/src/components/chat/ChatComposer.tsx Outdated
Comment thread apps/web/src/components/chat/ChatComposer.tsx
Comment thread apps/server/src/provider/Layers/ClaudeProvider.ts Outdated
Comment thread apps/server/src/provider/Layers/CodexProvider.ts
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit fa6c0ff. Configure here.

Comment thread apps/web/src/providerSkillPresentation.ts Outdated
@juliusmarminge
Copy link
Copy Markdown
Member

Codex

CleanShot 2026-05-07 at 21 45 47@2x

Claude

CleanShot 2026-05-07 at 21 46 06@2x

@lintowe
Copy link
Copy Markdown
Author

lintowe commented May 8, 2026

Reference in

Oops, turns out I'm a bit of an idiot. Don't have the dollar sign ($) on my keyboard cause of a UK layout and I wasn't able to see my codex skills in prod builds. My mistake. Closing the issue but I'd love to see Codex skills be shown with / aswell

@lintowe lintowe closed this May 8, 2026
@lintowe lintowe deleted the feat/provider-skills branch May 8, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL 500-999 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants