Skip to content

Add prefix icons to the agent skill menu - #7192

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/agent-skill-icons
Aug 31, 2026
Merged

Add prefix icons to the agent skill menu#7192
ComputelessComputer merged 1 commit into
mainfrom
fix/agent-skill-icons

Conversation

@ComputelessComputer

@ComputelessComputer ComputelessComputer commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

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.tsx
  • pnpm -F desktop typecheck
  • pnpm 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/icons for Claude, Codex (OpenAI), and Cursor; OpenCode uses a new inline pixel “O” SVG with light/dark fills. A SkillAgentIcon helper maps SkillAgent values 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 svg for 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.

@netlify

netlify Bot commented Aug 31, 2026

Copy link
Copy Markdown

Deploy Preview for anarlog ready!

Name Link
🔨 Latest commit 476bb5c
🔍 Latest deploy log https://app.netlify.com/projects/anarlog/deploys/6a9525b4f96ff40008196a96
😎 Deploy Preview https://deploy-preview-7192--anarlog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Claude Code, Codex, Cursor, and OpenCode now show their marks so the list is easier to scan.
@ComputelessComputer
ComputelessComputer merged commit 3e7e24c into main Aug 31, 2026
20 of 21 checks passed
@ComputelessComputer
ComputelessComputer deleted the fix/agent-skill-icons branch August 31, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant