Add prefix icons to the agent skill menu - #7192
Merged
Merged
Conversation
✅ Deploy Preview for anarlog ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ComputelessComputer
force-pushed
the
fix/agent-skill-icons
branch
from
August 31, 2026 05:33
cdbba9d to
25c3e83
Compare
Claude Code, Codex, Cursor, and OpenCode now show their marks so the list is easier to scan.
ComputelessComputer
force-pushed
the
fix/agent-skill-icons
branch
from
August 31, 2026 06:56
25c3e83 to
476bb5c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Problem: The Developers “Add skill to…” menu listed Claude Code, Codex, Cursor, and OpenCode as plain text, so the agents were harder to scan.
Fix: Add each agent’s brand mark as a prefix icon, using OpenCode’s official pixel “O” (light and dark).
Verification
pnpm -F desktop exec vitest run src/settings/developers/index.test.tsxpnpm -F desktop typecheckpnpm exec oxlint --quiet --format=github apps/desktop/src/settings/developers/Note
Low Risk
Presentation-only change in Developers settings with no auth, API, or install logic changes.
Overview
The Developers “Add skill to…” dropdown now shows a prefix icon beside each agent name (Claude Code, Codex, Cursor, OpenCode) so the list is easier to scan.
Icons come from
@lobehub/iconsfor Claude, Codex (OpenAI), and Cursor; OpenCode uses a new inline pixel “O” SVG with light/dark fills. ASkillAgentIconhelper mapsSkillAgentvalues to the right mark and is rendered on each per-agent menu row (including disabled entries).Tests assert that each agent menu button contains an
svgfor the four agents in the multi-install scenario.Reviewed by Cursor Bugbot for commit 476bb5c. Bugbot is set up for automated code reviews on this repo. Configure here.