Skip to content

Add OpenCode skill discovery#3154

Draft
dbalders wants to merge 1 commit into
pingdotgg:mainfrom
dbalders:opencode-skill-discovery
Draft

Add OpenCode skill discovery#3154
dbalders wants to merge 1 commit into
pingdotgg:mainfrom
dbalders:opencode-skill-discovery

Conversation

@dbalders

@dbalders dbalders commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Skills were not being auto populated from OpenCode like they were from Codex. So, when running opencode only, you couldn't see any skills with $. This fixes that.
  • Load OpenCode SDK app.skills() data as part of provider inventory.
  • Map OpenCode skill metadata into the existing provider skills snapshot used by composer $skill suggestions.
  • Add a regression test for OpenCode-provided skill rows and malformed rows without locations.

Before:
image

After:
image

Note

Add OpenCode skill discovery to the OpenCode provider snapshot

  • Extends OpenCodeInventory in opencodeRuntime.ts with a new OpenCodeSkill interface and fetches skills from app.skills concurrently with providers and agents.
  • Transforms inventory skills into ServerProviderSkill entries via a new flattenOpenCodeSkills helper, skipping entries missing a name or location, setting enabled=true, and sorting by name.
  • Includes the resulting skills array in the ServerProviderDraft produced by checkOpenCodeProviderStatus.

Macroscope summarized e31fe8b.

@dbalders dbalders changed the title [codex] Add OpenCode skill discovery Add OpenCode skill discovery Jun 18, 2026
@github-actions github-actions Bot added size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Jun 18, 2026
@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 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.

1 participant