You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skills in the @ autocomplete show their description. Agents in the same list show only @id.
Agents have descriptions - /api/agent returns them and the subagent chooser uses them. The mention item builder drops the field: the skill builder passes description: skill.description, the agent builder beside it does not.
Plugins
One local plugin, unrelated
OpenCode version
2.0.3
Steps to reproduce
Add ~/.config/opencode/agents/example.md with mode: subagent and a description
Type @ in the composer
Skill entries show descriptions, agent entries do not
Follow up: on dev (350c726) skills are no longer in the @ list — it is [...referenceAliases, ...agents, ...mcpResources]. The screenshot is 2.0.3,
where they still were.
Thanks for the clear report. I reproduced this on the latest dev (950111ff).
I used a project with a mode: subagent agent (example) and a skill (demo-skill), both with a description, and typed @ in the prompt. Every skill entry shows its description. The agent entries (@general, @explore, @example) show only their names and the agent tag. The recording and screenshot below show this, and the script below reproduces it.
I couldn't drive the 2.0.3 release with our test harness. The 2.0.3 source has the same code you pointed out, though: in packages/tui/src/component/prompt/autocomplete.tsx, agent options are built without description, while skill options pass skill.description. The app composer (packages/app/src/composer/model.ts) leaves it out the same way.
Related: #47894 asks for agent descriptions in the Desktop agent picker, which is a separate component.
recording.mp4
Reproduction script (drive.ts)
// Repro for #49351: agents in the `@` mention autocomplete show no description, skills do.import{Effect}from"effect"import{OpenCodeDriver}from"opencode-drive"exportdefaultOpenCodeDriver.use({
...(process.env.OC_DEV ? {opencode: {dev: process.env.OC_DEV}} : {}),tui: {recording: true},project: {git: true,files: {".opencode/agents/example.md":
"---\nmode: subagent\ndescription: Example subagent that reviews code changes\n---\nYou review code.\n",".opencode/skills/demo-skill/SKILL.md":
"---\nname: demo-skill\ndescription: Demo skill that explains things\n---\nExplain things.\n",},},},({ ui })=>Effect.gen(function*(){yield*ui.screenshot("01-home")yield*ui.type("@")yield*ui.waitFor("@example")yield*Effect.sleep(800)yield*ui.screenshot("02-mention-list")yield*ui.type("ex")yield*Effect.sleep(800)yield*ui.screenshot("03-mention-filtered")}),)
Run it with opencode-drive: opencode-drive run ./drive.ts. It drives opencode from your PATH; set OC_DEV to the path of an OpenCode checkout to run that from source instead.
Activity
mrt181 commentedon Sep 16, 2026
Follow up: on
dev(350c726) skills are no longer in the@list — it is[...referenceAliases, ...agents, ...mcpResources]. The screenshot is 2.0.3,where they still were.
opencodejr commentedon Oct 28, 2026
Thanks for the clear report. I reproduced this on the latest
dev(950111ff).I used a project with a
mode: subagentagent (example) and a skill (demo-skill), both with a description, and typed@in the prompt. Every skill entry shows its description. The agent entries (@general,@explore,@example) show only their names and theagenttag. The recording and screenshot below show this, and the script below reproduces it.I couldn't drive the 2.0.3 release with our test harness. The 2.0.3 source has the same code you pointed out, though: in
packages/tui/src/component/prompt/autocomplete.tsx, agent options are built withoutdescription, while skill options passskill.description. The app composer (packages/app/src/composer/model.ts) leaves it out the same way.Related: #47894 asks for agent descriptions in the Desktop agent picker, which is a separate component.
recording.mp4
Reproduction script (drive.ts)
Run it with opencode-drive:
opencode-drive run ./drive.ts. It drivesopencodefrom yourPATH; setOC_DEVto the path of an OpenCode checkout to run that from source instead.