Add provider skill discovery and composer picker#2564
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
ApprovabilityVerdict: 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. |
|
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 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ 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.
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 |



Summary
What Changed
/to find matching provider skills alongside commandsScreenshots
Testing
bun fmtbun lintbun typecheckbun run test src/provider/Layers/CodexProvider.test.tsfromapps/serverNote
Medium Risk
Adds filesystem-based skill discovery and wires it into provider status snapshots and the web composer menu, plus extends the shared
ServerProviderSkillcontract; bugs here could affect provider probing and command/skill UX across clients.Overview
Adds cross-provider skill discovery by parsing
SKILL.mdfiles 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 intoslashCommandswithout overriding native commands), using the server’s configuredcwd/resolved home; Codex now filters out plugin/app-backed skills and short-circuits with a clearer error when thecodexbinary 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 optionalinvocationPrefix($or/) added toServerProviderSkill.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
SkillDiscoverymodule that scans project and user directories forSKILL.mdfiles, parses their frontmatter, and returnsServerProviderSkillentries with aninvocationPrefixof/or$.checkClaudeProviderStatus,checkCodexProviderStatus, andcheckOpenCodeProviderStatusto discover and merge skills into returned provider snapshots, including merging skills into slash commands where no native command exists.ChatComposerto surface provider skills alongside slash commands in the picker, deduplicating against native slash commands, and groups them under a 'Skills' section.ServerProviderSkillschema with an optionalinvocationPrefixfield ('/'or'$'), and normalizes skill search queries to strip both/and$prefixes.installed: falseearly if the Codex binary is not on PATH.Macroscope summarized 863904f.